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
- :
- simple question
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 06, 2007
02:11 PM
simple question
I used 2008 to convert an old installation package, and it worked great. My install just copies files, updates the registry and then prompts the user to reboot. The only problem is that when I uninstall I get an annoying dialog (attached) about a missing setup.exe file. I traced it to the BATCH_INSTALL variable. Setting this variable to TRUE brings up the reboot dialog (I want) but causes the error dialog when the system comes back up. Setting the value to FALSE gets rid of the dialog when the system comes back up, but the user is no longer prompted to reboot. What do I do?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 06, 2007
02:53 PM
I reported this issue to support a few months ago and they created a work order for it. However, it probably will not get fixed until the next release.
Below is the code I use as a workaround for now. It does not stop the reboot, but eliminates the error message after an uninstall.
Below is the code I use as a workaround for now. It does not stop the reboot, but eliminates the error message after an uninstall.
function OnEnd()
begin
if ((REMOVEALLMODE != 0) && (BATCH_INSTALL)) then
BATCH_INSTALL = FALSE;
endif;
end;
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 06, 2007
03:47 PM
Worked like a champ,
Thanks,
Brian
Thanks,
Brian
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)