|
|
#1 |
|
Junior Member
Join Date: Jan 2006
Posts: 9
|
Updating an Updater
I've read over this thread and have implemented a helper executable in c. The problem I have is that I'd like to restart the updater automatically after replacing it with the new version. However I can't delete the helper because it's the parent of the new updater process that it starts. Is there any way around this? My first solution was forking the start of the new updater but of course Windows can't handle that.
|
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
There are some methods to delete the running executable. You can also fake forking by copying the running executable somewhere and executing it from there, as the NSIS uninstaller does.
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 | |
|
|