This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Setup.exe deleted after restart
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 31, 2009
11:50 AM
Setup.exe deleted after restart
I am using two installers for installing a product. One installer calls another one. After installation product works fine. But when machine is manually restarted setup.exe at uninstall location is deleted. Can u please help me?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 10, 2009
01:40 PM
I think if you perform the following:
- deinstall your application (no machine reboot is made after this action)
- install your application again
- reboot the machine
you will probably face this problem, since when uninstalling your application, InstallShield adds several commands under the registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce
Add code on OnFirstUIBefore() method, in order to remove from registry the commands added by your installer during uninstallation.
- deinstall your application (no machine reboot is made after this action)
- install your application again
- reboot the machine
you will probably face this problem, since when uninstalling your application, InstallShield adds several commands under the registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce
Add code on OnFirstUIBefore() method, in order to remove from registry the commands added by your installer during uninstallation.