Hi
I deploy a Windows Service which requires a reboot after setup. The setup
project, however, does not automatically recognize this requirement.How do I
force a reboot (or set a reboot property) in the setup project (VS 2003)?
Any hints are appreciated.
Thanks, Urs 4 1857
I dont know how to do it using a native framework technique, but here is a
tip: An ExitWindowsEx API call can be used to shutdown, logoff, restart,
power off ...
"Urs Vogel" <uv****@msn.com> wrote in message
news:ei**************@tk2msftngp13.phx.gbl... Hi
I deploy a Windows Service which requires a reboot after setup. The setup project, however, does not automatically recognize this requirement.How do I force a reboot (or set a reboot property) in the setup project (VS 2003)? Any hints are appreciated.
Thanks, Urs
Hi,
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/
or see http://msdn.microsoft.com/library/de...oot_action.asp
"Urs Vogel" <uv****@msn.com> wrote in message news:uv****@msn.com: Hi
I deploy a Windows Service which requires a reboot after setup. The setup
project, however, does not automatically recognize this requirement.How do I force a reboot (or set a reboot property) in the setup project (VS 2003)?
Any hints are appreciated.
Thanks, Urs
Thanks. I'll download the SDK then.
"scorpion53061" <sc************@nospamhereyahoo.com> schrieb im Newsbeitrag
news:ud***************@TK2MSFTNGP14.phx.gbl... Hi,
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/
or see http://msdn.microsoft.com/library/de...oot_action.asp "Urs Vogel" <uv****@msn.com> wrote in message news:uv****@msn.com: Hi
I deploy a Windows Service which requires a reboot after setup. The setup
project, however, does not automatically recognize this requirement.How do I force a reboot (or set a reboot property) in the setup project (VS 2003)?
Any hints are appreciated.
Thanks, Urs
Depends on what your using for an OS but if it is xp or 2003 you can shell
out the command to reboot
Shutdown /r
There are lots more options
"Urs Vogel" <uv****@msn.com> wrote in message
news:ei**************@tk2msftngp13.phx.gbl... Hi
I deploy a Windows Service which requires a reboot after setup. The setup project, however, does not automatically recognize this requirement.How do I force a reboot (or set a reboot property) in the setup project (VS 2003)? Any hints are appreciated.
Thanks, Urs This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
by: ray well |
last post by:
hi,
are reboots needed after installing mdac ?
are reboots needed after installing .net framework?
i'm planning out an install, and need to know what to expect.
thanks,
|
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...
|
by: Dave |
last post by:
My deployment contains sevral projects, one of which is a service. The
installation does not automatically carry out a reboot at the end of the
installation process, which is required to start the...
|
by: PhilBray |
last post by:
Hi,
I am currently adding a deployment project to my C# solution which
installs a windows service and I have been trying to find a property
that will make the installer prompt the user to reboot...
|
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...
|
by: gnih |
last post by:
Hi,
I'm using VS2005 and .net 2.0, my project using Windows Installer
deployment to make setup package.
the question is how can i invoke a dialog let user choose reboot or
not at the end of...
|
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...
|
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...
|
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...
|
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...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
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...
|
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)...
|
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...
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
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
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
| |