|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
|
#1 |
|
Junior Member
Join Date: Mar 2008
Posts: 35
|
InstallLib RunOnce fails on reboot if RegTool was deleted
I'm using InstallLib to register some dlls.
On XP, while upgrading, if the dll is in-use I can't rename it and install a new one (in Vista it works), so InstallLib automatically adds an entry in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce so RegTool will register the dll on startup. If user now uninstalls before rebooting, the RegTool application will be deleted since it's in the install folder. On next startup user will see an error message "Windows cannot find blablabla". Can I make it silent in a way other than searching the RunOnce key for values with the path i'm deleting and remove it? |
|
|
|
|
|
#2 |
|
Junior Member
Join Date: Mar 2008
Posts: 35
|
Meanwhile I deleted from registry everything that I found relevant, with this code:
PHP Code:
|
|
|
|
|
|
#3 |
|
Member
Join Date: Jul 2008
Posts: 59
|
your issue seems very similar to mine. Read this thread: http://forums.winamp.com/showthread....hreadid=296139
|
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Mar 2008
Posts: 35
|
Yes, I saw it. I don't want everything to go to $TEMP. What happens if destination is in a different drive than $TEMP?
Unfortunately, I think there's only one RegTool entry in RunOnce for all pending registrations, even those not related to your product, so by deleting this reg value I'm ruining other installations. Maybe I should copy the regtool i'm about to delete into temp and modify the RunOnce value? Anyone? |
|
|
|
|
|
#5 |
|
NSIS MUI Dev
Join Date: Nov 2001
Posts: 3,717
|
Do you need support for Win9x?
|
|
|
|
|
|
#6 |
|
Junior Member
Join Date: Mar 2008
Posts: 35
|
- I support XP onwards.
- I checked, and the different drive issue is only for whole folders, so no problem there. - If I let it use $TEMP, wouldn't dlls reappear after reboot even if the product was uninstalled? |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|