Archive: setting outfile to a dir with space from the command line


setting outfile to a dir with space from the command line
Hi,

I have an installer which i pass the output file to at compile time. By using "/XOutfile myfile.exe". This works fine unless there is a space in the directory, i cant figure out how to pass this through without it thinking there is more than one variable. Is it possible to do this with NSIS.

thanks

Steve


Use quotes.

makensis.exe "/XOutFile 'name with spaces.exe'" script.nsi