Old 30th June 2006, 08:36   #1
jenolan1701
Junior Member
 
Join Date: Oct 2004
Posts: 12
Running as an EXE

I know I have seen this somewhere but my eyes must be dimming

What I need to do is have the end user run the 'installer' inside are 4 files that I want to a temporary area, the utility exe run and then the whole lot simply deleted (it is a sort of patch).

I have to do it this way because the files to be changed are in a database of sorts, I need to extract the info, change it and then reinsert to fix.

Thanks .. Larry

PS: I just know when someone tells me where the info is I am going to say D'oh!
jenolan1701 is offline   Reply With Quote
Old 30th June 2006, 08:43   #2
1123581321
Junior Member
 
Join Date: Jun 2006
Location: Beijing CN/Houston TX
Posts: 5
Send a message via AIM to 1123581321
see the Advanced Splash *.nsi example in the NSIS examples directory -- I believe there's a part where it copies things to a temp directory and then deletes them.
1123581321 is offline   Reply With Quote
Old 30th June 2006, 08:43   #3
Viesis
Registered User
 
Join Date: Jun 2006
Location: Latvia
Posts: 4
code:
InstallDir "$TEMP"
File *.*
ExecWait your.exe
RMDir $OUTDIR

Viesis is offline   Reply With Quote
Old 30th June 2006, 10:22   #4
jenolan1701
Junior Member
 
Join Date: Oct 2004
Posts: 12
Yup thanks that did the trick!!!!
jenolan1701 is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump