473,503 Members | 1,691 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Reboot configured in setup project

Is there an easy way to configure a reboot functionality in a setup project,
so that after installing the program the user has to reboot his pc?

Thanks, Markus
Mar 30 '07 #1
2 1370
On Fri, 30 Mar 2007 05:42:02 -0700, Markus wrote:
Is there an easy way to configure a reboot functionality in a setup project,
so that after installing the program the user has to reboot his pc?

Thanks, Markus
From a user perspective, is it really necessary to reboot the PC? Most
people find that quite irritating.

If you for some reason really have to, you could create a custom action
that pinvokes the windows shutdown api call
--
Bits.Bytes
http://bytes.thinkersroom.com
Mar 30 '07 #2
Yes you are right, rebooting is not the best alternative - sometimes its
necessary.

Thanks for the idea of a user action, i thought a reset is maybe easy to
configure by a property of the setup project. But anyway the user action will
be one option.

Thanks for your help, Markus.
"Rad [Visual C# MVP]" wrote:
On Fri, 30 Mar 2007 05:42:02 -0700, Markus wrote:
Is there an easy way to configure a reboot functionality in a setup project,
so that after installing the program the user has to reboot his pc?

Thanks, Markus

From a user perspective, is it really necessary to reboot the PC? Most
people find that quite irritating.

If you for some reason really have to, you could create a custom action
that pinvokes the windows shutdown api call
--
Bits.Bytes
http://bytes.thinkersroom.com
Mar 31 '07 #3

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

Similar topics

1
2252
by: gilman | last post by:
Hello there, we have configured a perfect DB2 HADR pair. After some days, we had following problem: After a reboot standby becomes standby, that's ok. Pimary becomes primary, i tought db2 could...
1
4839
by: A | last post by:
Hi all, I am trying to add a reboot to a setup project. The help simply says to add the reboot property in the action sequence. The closest I can come to figuring out what they mean is to add...
3
15334
by: Bryan | last post by:
We created a Windows Service with C#. The service will start OK on computers that are a member of a domain, but when we try to start it on a server that is configured for a workgroup we get the...
0
227
by: Loretta | last post by:
I have been trying to install VB.net 2002 and keep getting the following error: "Setup has detected that another program requires the computer to reboot. You must reboot the computer before...
4
1864
by: Urs Vogel | last post by:
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...
1
1562
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...
14
1911
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...
3
1342
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...
2
4683
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...
0
7089
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7282
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7339
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7463
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5581
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4678
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3157
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
738
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
389
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.