cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
xsintill
Level 5

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
Labels (1)
0 Kudos
(2) Replies
xsintill
Level 5

I just checked with

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.
0 Kudos
xsintill
Level 5

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:
function OnFileLocked(szFile)
begin
return SdExceptions(LOCKED, szFile);
return ERR_PERFORM_AFTER_REBOOT;
end;

but still no sdexception is given so what next?
0 Kudos