Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > ScheduleReboot
 

ScheduleReboot

I am installing a driver and want a reboot after install unless the user select otherwise.
I added theRadioButtonsdialogto the end sequence of the UI.

I edited the MSI with orca. I added

Action: ScheduleReboot
Condition: BUTTON2
Sequence: 6500

to InstallExecuteSequence table.


The defualtvalue is 1 so Ishould see a reset, but no reset.What is wrong / missing?


BarberColman  Tuesday, September 15, 2009 6:01 PM
I think the way it works is that BUTTON2 has a value of 1 or 2, so you need tohave an explicit BUTTON2=2condition. Your current condition effectively means "if BUTTON2has ever been set to any value".
Phil Wilson
  • Marked As Answer byBarberColman Wednesday, September 16, 2009 5:02 PM
  •  
PhilWilson  Tuesday, September 15, 2009 8:05 PM
I think the way it works is that BUTTON2 has a value of 1 or 2, so you need tohave an explicit BUTTON2=2condition. Your current condition effectively means "if BUTTON2has ever been set to any value".
Phil Wilson
  • Marked As Answer byBarberColman Wednesday, September 16, 2009 5:02 PM
  •  
PhilWilson  Tuesday, September 15, 2009 8:05 PM

You can use google to search for other answers

Custom Search

More Threads

• get the Web Setup URL
• How to add debug symbols to a setup project - to the debug build only
• Condition and Custom Action Problem with uninstall
• ClickOnce and replicated database
• How can i attach a file to install during setup, to my program ?
• ClickOnce Deployment Exception
• visual studio setup and deployment error
• Control in IE interferes with Form Post in ASPX page
• Download with activation pending
• Deploying TEST and LIVE instances of the same application with ClickOnce