473,321 Members | 1,916 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,321 software developers and data experts.

Proof of reboot

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
Nov 21 '05 #1
5 1269
The following article will tell you the information that you want to know I
think:

http://support.microsoft.com/default...b;en-us;832475

"STom" wrote:
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

Nov 21 '05 #2
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/...sdk/sdkupdate/

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

"STom" <st***********@hotmail.com> wrote in message
news:Og**************@TK2MSFTNGP11.phx.gbl...
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

Nov 21 '05 #3
Here is another page where you'll find the Windows Install SDK:

http://www.microsoft.com/downloads/d...D-BFC98E3AE4A3

or if you want the 'English' file then you can download it (8119 KB)
directly by clicking this link:

http://download.microsoft.com/downlo...S/IntelSDK.msi

"Ken Tucker [MVP]" wrote:
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/...sdk/sdkupdate/

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

"STom" <st***********@hotmail.com> wrote in message
news:Og**************@TK2MSFTNGP11.phx.gbl...
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

Nov 21 '05 #4
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
"Crouchie1998" <Cr**********@discussions.microsoft.com> wrote in message
news:BD**********************************@microsof t.com...
The following article will tell you the information that you want to know
I
think:

http://support.microsoft.com/default...b;en-us;832475

"STom" wrote:
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

Nov 21 '05 #5
alian
1
I have a similar problem but with the reboot message. I have an installer too, but my installer is in spanish only, so when the installer finish, the reboot message is in english...? Where in orca can I edit this message? I don't find it.
Apr 24 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Ben Allen | last post by:
Is there a way (through a variable) to show the date of the last server reboot i.e. when PHP last started running? As I am trying to show the server uptime, which of course only works from the last...
6
by: Stephane Dalpe | last post by:
Hi all, I just want to know why when I'm installing jdk sometimes ask me to reboot and sometimes he don't. As part of our installation, we launch the jdk installation if it's not already...
0
by: ThunderMusic | last post by:
Hi, I'm trying to install VS.NET 2003 and it keeps asking me to reboot the computer for installing the first step. After rebooting, I try to install the first step, then it tells me again an...
10
by: JL | last post by:
To All, I have a SQL2KSP3a database(<1GB) running on a 4x3GB physical CPU with 4GB of ram. It is Windows Server 2003 with hyper-threading turn on. There are ~420 .Net users/cxns (fat client, no...
3
by: sam | last post by:
I found reboot script at TechNet and I wonder how to apply in VB.Net? Reboot Coding ************ strComputer = "." Set objWMIService = GetObject("winmgmts:" _ &...
1
by: Aaron | last post by:
Not sure if this is the best spot to post this question, but I am not going to pay money to ask an installation question.... Anyways I am trying to install C# standard 2003 and it analyzes the...
3
by: iamsiju | last post by:
Hi, I am facing a problem with the Perl Telnet Object. My Telnet Object hangs just after issueing reboot command on the remote host. Please help me who faced this problem !!! Thanks in...
2
by: =?Utf-8?B?VHJhY2tz?= | last post by:
When I run my setup of a vb.net app made in VS2005 and setup made with the setup wizard and then modified in the ide, The .net 2 setup runs and installs and then asks to reboot. If you answer ok...
3
by: cj | last post by:
My program shuts itself down and reboots the pc it's running on at 2:00am twice a week and has been doing so without fail for over a year. But twice in the past month it's been found running in the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.