Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 26th August 2008, 15:06   #1
BuilderBob
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?
BuilderBob is offline   Reply With Quote
 
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