|
|
#1 |
|
Junior Member
Join Date: Jan 2005
Posts: 2
|
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
|
|
|
|
|
|
#2 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
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 |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jan 2005
Posts: 2
|
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
|
|
|
|
|
|
#4 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
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.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|