Proof of reboot

S

STom

I have an app that I need to make sure after installation that the machine
has been rebooted. Is there a way to detect if a reboot has been performed?
Maybe like initially writing to a config file and then setting a value in it
upon reboot?

Thanks.

STom
 
K

Ken Tucker [MVP]

Hi,

You could have the installer for a reboot. You need orca.exe to edit
the setup msi. Open the msi with orca. Go to the properties table and right
click in the table and select add new row. Add the property REBOOT and set
its value to FORCE. Set the property folderForm_allusers to all if you want
to install for everyone instead of
me. Orca is part of the windows installer sdk.

http://www.microsoft.com/msdownload/platformsdk/sdkupdate/

Ken
----------------

I have an app that I need to make sure after installation that the machine
has been rebooted. Is there a way to detect if a reboot has been performed?
Maybe like initially writing to a config file and then setting a value in it
upon reboot?

Thanks.

STom
 
S

STom

I'll have to do a test after my installation with Wise (where I can set the
reboot option in the script) to see if the registry values have been set.

I do not want to force a reboot, so I want them to have the option of
rebooting now or later. In my app, I would check for the registry key the
first time to see if the system has been rebooted.

Thanks.

STom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top