Old 6th November 2003, 07:26   #1
dRaakje
Junior Member
 
Join Date: Oct 2003
Location: Netherlands
Posts: 23
Send a message via ICQ to dRaakje
Can't you do something similar to what the uninstaller is doing.

When first started, check the directory you're running in. If it isn't the temp folder, copy yourself to the tempfolder (under a temporary name) and execute that copy and exit the first instance (all this before a GUI is shown)

Alternatively, you could check to see if a certain commandline parameter is added or left to decide to copy yourself to the temp folder.

Now, you can check if the launcher is up to date, and if it needs to be updated, you can just copy it over the old one in the original directory. You then exit and call the new launcher, which will do the above process all over again.

Remco
dRaakje 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