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: what is the cause for a reboot after installation?
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
‎Nov 26, 2009
03:26 AM
what is the cause for a reboot after installation?
Sometimes after installation we get the reboot dialog. what i like to know what caused this dialog to be shown and i don't mean BATCH_INSTALL = TRUE but what file was locked or any other operation which could not be performed by the setup. i want to check which file/operation was causing this.
btw project is installscript
btw project is installscript
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 26, 2009
03:39 AM
I just checked with
Show is just a function for calling MessageBox(param,INFORMATION);
Running the setup still gives me a reboot so it doesn't seem to be a filelock.
So it must be some other operation which could not be performed.
function OnFileLocked(szFile)
begin
Show(szFile);
return ERR_PERFORM_AFTER_REBOOT;
end;
Show is just a function for calling MessageBox(param,INFORMATION);
Running the setup still gives me a reboot so it doesn't seem to be a filelock.
So it must be some other operation which could not be performed.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 26, 2009
03:52 AM
I also read the comments and use the sugested code in the OnFileLocked event and uncommented the line they suggest the code looks like this:
but still no sdexception is given so what next?
function OnFileLocked(szFile)
begin
return SdExceptions(LOCKED, szFile);
return ERR_PERFORM_AFTER_REBOOT;
end;
but still no sdexception is given so what next?
