Archive: Redirect Setup.exe


Redirect Setup.exe
Is there a way to control the library where "setup.exe" is created? I write a filepath for example "C:\Test\setup.exe"
but when i compile it can´t create the directory "Test". When the directory "Test" exist already it´s all OK. I must create the directory on the run. Any ideas? Could i create the directory fom the script?


Could i create the directory fom the script?
If you can't create a folder with that option there is no way to do it without changing the NSIS source. I think that is easily changeable and probably be included as soon as kichik comes in. (Am I exaggerating?)

Any other ideas anyone?


You could use the !system compiler utility command to execute a system command and make sure that your directory is created.


Execute a batch file using !system.


It would be nice if the path specified in $OUTFILE was created automatically by the compiler if it doesn't exist. That is as long as the specified device exists.