PDA

View Full Version : Stop 'system must be restarted' message



jtdunn
01-17-2008, 10:58 AM
Hi Friedrich,

I notice that when an installation is performed where one or more of the files being installed is 'in use', that at the end of the installation I get a screen saying that the system must be restarted. In a current installation scenario, I am running the installation from another program and waiting until the installation is completed to do some more processing. I do not want the restart message to appear in that case. Is there any way I can prevent that screen from appearing? There is nothing in the installatin script, that I can see, that would indicate that this screen should be presented to the user.

Thanks,

John

linder
01-17-2008, 11:22 AM
Hi John,

Yes, no problem. You can use the "Set Installer Flag..." function to disable this message box.

Set Installer Flag $SB_RESTARTFLAG$ to "0"

See: http://www.lindersoft.com/forums/showthread.php?t=3679

Please note that a reboot is required in order to complete the installation process.

Hope this helps.

Friedrich

Unregistered
01-17-2008, 12:48 PM
Thanks, Friedrich. I'll try that. I understand that the file that is in use will not be updated but I have a strategy to work around that.

John

linder
01-18-2008, 02:00 AM
Hi John,

Perfect. Just wanted to mention it to be on the safe side :)

Friedrich