Archive: Exec and Delete help


Exec and Delete help
Hey... Im kinda new to NSIS and i was wondering what kind of script i would have to compile if i wanted to install some files, run a file from that temporary directory and delete the temp directory when the excecuted program ends. I'm trying to experiment but cant seem to get it right... also need to know which part of the script to put it in


There are tonnes and tonnes of examples in your Examples folder, on the Archive. You should check the readme (NSIS.chm) for reference.

There's Exec, Delete commands for one.
Also $TEMP for the current temp folder...

-Stu


noo...
Sorry... still cant get it to work!!! i'm going to attach my NSIS document along so that you can take a look at where i went wrong


You forgot to use SetOutPath before the File command. Besides that, with your usage of File /r, the entire MicroAngelo directory will be copied. This means the executable won't be in $INSTDIR\setup.exe but in $INSTDIR\MicroAngelo v5.59\setup.exe.