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
- :
- Re: Uninstall Reboot Setup.exe Error
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
Aug 08, 2007
08:43 AM
Uninstall Reboot Setup.exe Error
When an uninstall for my pure InstallScript Setup requires a reboot I receive the following error message after the system has been rebooted.
This error also occurred for a small test project I created, so I think this may be an issue with InstallShield 2008. It appears InstallShield is deleting the cached install before it should be. Has anyone else encountered this problem, and if so do you have a solution?
This error also occurred for a small test project I created, so I think this may be an issue with InstallShield 2008. It appears InstallShield is deleting the cached install before it should be. Has anyone else encountered this problem, and if so do you have a solution?
(7) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 08, 2007
11:29 AM
I have seen this problem, but it disappears after I reboot for the second time.
In my case, the Instance guid was not the one of the product i installed. Windows was complaining about some other installation.
Im not sure how to fix your problem. soz
In my case, the Instance guid was not the one of the product i installed. Windows was complaining about some other installation.
Im not sure how to fix your problem. soz
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 08, 2007
01:00 PM
Unfortunatly mine is for my installer. The error is coming from a call in the RunOnce registry key, so that is why the error only appears once. I'm assuming this call back to Setup.exe after the reboot is so my install can invoke the OnReboot event, but I'm not sure. Does anyone know if anything else gets processed by SETUP after a reboot? Can I remove this key without any adverse side-affects?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 09, 2007
07:46 AM
I just heard back from support and here is what they had to say.
After looking into this behavior you are seeing, it looks like this is a bug in the InstallShield 2008 engine in how it is handling the reboot during an uninstallation (…as you can see). In terms of the exact error, development will need to look into this further to see what has changed (…this behavior does not occur in IS12.0) but the work order number created on this bug is (IOC-000063184).
With that said, one workaround that was brought up for this issue is to make the following changes to your InstallShield 2008 InstallScript project…
1.) In the OnMaintUIBefore() event add code to backup the contents of DISK1TARGET during an uninstallation.
2.) In the OnMaintUIAfter() event add code to check on BATCH_INSTALL and restore contents DISK1TARGET if it’s TRUE, otherwise if FALSE delete the backup folder.
3.) Lastly to ensure future installation are not affected, you can add the OnRebooted() event and delete the DISK1TARGET folder (…however because this workaround has to be executed, it may not be a clean removal, but enough not to affect future installations).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 13, 2007
12:47 PM
Just in case others experience this problem, the following code is a better temporary work around.
By doing this the user is still shown the SdFinishRboot dialog, and the system is still rebooted if that was the option chosen. However, the RunOnce RegKey that causes the error is not created. This does not change the result of the install since either way SETUP.EXE is not called.
function OnEnd()
begin
if ((REMOVEALLMODE != 0) && (BATCH_INSTALL)) then
BATCH_INSTALL = FALSE;
endif;
end;
By doing this the user is still shown the SdFinishRboot dialog, and the system is still rebooted if that was the option chosen. However, the RunOnce RegKey that causes the error is not created. This does not change the result of the install since either way SETUP.EXE is not called.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 16, 2007
07:31 AM
Cheers mate. I havn't tried this yet, but it seems the problems we faced are with IS 2008. Thanks, for posting the possible solution.
🙂
🙂
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 07, 2008
07:11 AM
I'm also experiencing these problems and I'm using workaround number 1.
But after I made a copy of the directory, that copy is also removed when FeatureTransferData is called.
Seems that the proposed workaround 1 does not work with me.
I'm using the first workaround to check if the files are removed after uninstall because the files are not removed when I use the second workaround and the Pc is rebooted.
But after I made a copy of the directory, that copy is also removed when FeatureTransferData is called.
Seems that the proposed workaround 1 does not work with me.
I'm using the first workaround to check if the files are removed after uninstall because the files are not removed when I use the second workaround and the Pc is rebooted.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 12, 2008
01:31 PM
I have a question, though....
I am getting this error, but when I look in the registry I don't see any entry at all.
When I get to the end of my script, I tested whether BATCH_INSTALL was false. It's already false by the time I get to the end. So it doesn't look like this is helping me.
Any other possibilities?
I am getting this error, but when I look in the registry I don't see any entry at all.
When I get to the end of my script, I tested whether BATCH_INSTALL was false. It's already false by the time I get to the end. So it doesn't look like this is helping me.
Any other possibilities?