473,569 Members | 2,562 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 1374
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
2254
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 do this then, when standby and primary talks with each other, or find each other. So long everything's ok, but then i see the state ist catch up...
1
4841
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 a custom action...but then why have ScheduleReboot Action properties? Can anyone help me with this? thanks
3
15350
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 following error in the event log: Event ID: 7001 Description: The {Service Name}service depends on the Net Logon service which failed to start...
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 installing Visual Basic .NET Windows Component Update. Once the system reboots, you need to restart setup. Click OK to reboot. Click cancel to exit...
4
1870
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 property) in the setup project (VS 2003)? Any hints are appreciated. Thanks, Urs
1
1566
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 system and then say I need to install some prerequisite stuff. So I click on the link that says that and then I get a message the that some...
14
1916
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 service. Is there any way I can put something into the deplyment project to make the target system reboot at the end of the setup? -- Dave
3
1345
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 uninstall process?
2
4688
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 then the reboot happens and when the system comes back it says it cant find the setup1.msi file (my setup) and so wont continue and install my app. ...
0
7615
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7677
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7979
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6284
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5219
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2115
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1223
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
940
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.