cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
bstark
Level 2

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?
Labels (1)
0 Kudos
(2) Replies
esiemiat
Level 9

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.


function OnEnd()
begin
if ((REMOVEALLMODE != 0) && (BATCH_INSTALL)) then
BATCH_INSTALL = FALSE;
endif;
end;
0 Kudos
bstark
Level 2

Worked like a champ,

Thanks,

Brian
0 Kudos