cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
cnpitroda
Level 5

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?
Labels (1)
0 Kudos
(1) Reply
miguelborges
Level 3

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.
0 Kudos