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
- :
- Succeeded initiating a reboot, however the uninstallation doesn't resume after that.
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
‎Dec 30, 2008
11:00 AM
A question about execution sequence of uninstall
Hi,
I have a problem.
I want the uninstall process to start with two steps:
1) Run an executable.
2) Reboot before continuing with the process.
The latest I could put the custom action that executes the executable was just prior to InstallValidate. Later than that, and the uninstall process never gets to executing this custom action.
HOWEVER, the place to put ForceReboot is between InstallInitialize and Installinalize, the uninstall process never gets there!
So, how can I force a system reboot after running the executable? Can any body please shed some light on this issue for me?
I have a problem.
I want the uninstall process to start with two steps:
1) Run an executable.
2) Reboot before continuing with the process.
The latest I could put the custom action that executes the executable was just prior to InstallValidate. Later than that, and the uninstall process never gets to executing this custom action.
HOWEVER, the place to put ForceReboot is between InstallInitialize and Installinalize, the uninstall process never gets there!
So, how can I force a system reboot after running the executable? Can any body please shed some light on this issue for me?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 01, 2009
06:25 AM
To make the installer get to ForceReboot I added a condition to InstallValidate to prevent it from executing on uninstall.
The reboot really executes, however, when the system goes up again, the uninstallation doesn't resume. A message box appears on screen, saying:
"This installation package could not be opened. Verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer package."
I can see that the keys in the Registry are still there, the service (my service) is still registered, and all the files in the installation folder are still there. The uninstall didn't actually work.
What I cannot see any more are the package in C:\WINDOWS\Installer, the relevant key in HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer, and the app in Add\Remove Programs.
Any suggestions?
The reboot really executes, however, when the system goes up again, the uninstallation doesn't resume. A message box appears on screen, saying:
"This installation package could not be opened. Verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer package."
I can see that the keys in the Registry are still there, the service (my service) is still registered, and all the files in the installation folder are still there. The uninstall didn't actually work.
What I cannot see any more are the package in C:\WINDOWS\Installer, the relevant key in HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer, and the app in Add\Remove Programs.
Any suggestions?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 18, 2011
11:31 AM
z_efrati wrote:
To make the installer get to ForceReboot I added a condition to InstallValidate to prevent it from executing on uninstall.
The reboot really executes, however, when the system goes up again, the uninstallation doesn't resume. A message box appears on screen, saying:
"This installation package could not be opened. Verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer package."
I can see that the keys in the Registry are still there, the service (my service) is still registered, and all the files in the installation folder are still there. The uninstall didn't actually work.
What I cannot see any more are the package in C:\WINDOWS\Installer, the relevant key in HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer, and the app in Add\Remove Programs.
Any suggestions?
Hi,
I am having the same issue now, did you solved it ??
