I'm trying to schedule a reboot from within a VBS script I'm executing as part of my installation process. The user should be prompted to reboot the PC after the installation is done.
I'm doing
Code: Select all
Session.Property("MsiSystemRebootPending") = "1"
Session.Property("REBOOT") = "Force"
I've put it in a very small sample project, the log file says that the change of the properties is being executed (see attachment). As you can see, the log file says
but I'm never seeing this - so what am I doing wrong? Why do I have to set the Finish Dialog according to (http://www.advancedinstaller.com/user-g ... stall.html) with a checkbox that *again* sets the REBOOT property to FORCE ?You must restart your system for the configuration changes made to Test to take effect. Click Yes to restart now or No if you plan to manually restart later.
Cheers
Martin