HaMz
24th January 2005 16:54 UTC
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
Afrow UK
24th January 2005 17:43 UTC
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
HaMz
6th February 2005 10:12 UTC
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
kichik
10th February 2005 19:29 UTC
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.