Click here to Skip to main content
16,010,650 members
Home / Discussions / C#
   

C#

 
GeneralIdentifying the Web Server Pin
eggie55-Dec-03 15:07
eggie55-Dec-03 15:07 
GeneralRe: Identifying the Web Server Pin
eggie55-Dec-03 16:05
eggie55-Dec-03 16:05 
GeneralRe: Identifying the Web Server Pin
Heath Stewart6-Dec-03 4:49
protectorHeath Stewart6-Dec-03 4:49 
GeneralRe: Identifying the Web Server Pin
eggie56-Dec-03 5:54
eggie56-Dec-03 5:54 
GeneralRe: Identifying the Web Server Pin
Heath Stewart6-Dec-03 6:36
protectorHeath Stewart6-Dec-03 6:36 
GeneralRe: Identifying the Web Server Pin
eggie56-Dec-03 11:25
eggie56-Dec-03 11:25 
Generalmaking the computer restart after a setup program is finished Pin
blakeb_15-Dec-03 11:02
blakeb_15-Dec-03 11:02 
GeneralRe: making the computer restart after a setup program is finished Pin
Heath Stewart5-Dec-03 11:34
protectorHeath Stewart5-Dec-03 11:34 
If you're using Windows Installer, it decides if a reboot is necessary. If - for some odd reason - you need to reboot regardless of what Windows Installer thinks, create a REBOOT property in the Properties table and set it to Force. If you're using VS.NET's installer project, you'll have to download the Windows Installer SDK on the Platform SDK web site, install Orca (copied to your machine as Orca.msi in the PSDK's bin directory), open your compiled MSI, and add the property to the Properties table manually.

If you need to conditionally set it, you can use a CustomAction that sets the REBOOT property to Force. Note the case of the REBOOT property, though - it must be all uppercase.

You could also write a custom action DLL, but it isn't necessary since - as you can see - you can have Windows Installer do it.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: making the computer restart after a setup program is finished Pin
blakeb_15-Dec-03 11:38
blakeb_15-Dec-03 11:38 
GeneralRe: making the computer restart after a setup program is finished Pin
Heath Stewart6-Dec-03 4:19
protectorHeath Stewart6-Dec-03 4:19 
GeneralRe: making the computer restart after a setup program is finished Pin
AndrewCherry7-Dec-03 2:08
AndrewCherry7-Dec-03 2:08 
GeneralRe: making the computer restart after a setup program is finished Pin
Heath Stewart7-Dec-03 4:02
protectorHeath Stewart7-Dec-03 4:02 
GeneralRe: making the computer restart after a setup program is finished Pin
Terrence Benade7-Dec-03 2:31
Terrence Benade7-Dec-03 2:31 
GeneralMailmerge Pin
Anonymous5-Dec-03 6:56
Anonymous5-Dec-03 6:56 
GeneralRe: Mailmerge Pin
Roger Stewart5-Dec-03 10:08
professionalRoger Stewart5-Dec-03 10:08 
GeneralRe: Mailmerge Pin
Anonymous9-Dec-03 6:16
Anonymous9-Dec-03 6:16 
GeneralC# and Named pipes Pin
Spiros5-Dec-03 5:32
Spiros5-Dec-03 5:32 
GeneralRe: C# and Named pipes Pin
Heath Stewart5-Dec-03 7:08
protectorHeath Stewart5-Dec-03 7:08 
GeneralTrouble playing a sound Pin
Shizam5-Dec-03 4:33
Shizam5-Dec-03 4:33 
GeneralRe: Trouble playing a sound Pin
Heath Stewart5-Dec-03 4:44
protectorHeath Stewart5-Dec-03 4:44 
GeneralRe: Trouble playing a sound Pin
Shizam5-Dec-03 5:15
Shizam5-Dec-03 5:15 
GeneralRe: Trouble playing a sound Pin
Heath Stewart5-Dec-03 5:22
protectorHeath Stewart5-Dec-03 5:22 
GeneralRe: Trouble playing a sound Pin
Shizam5-Dec-03 5:37
Shizam5-Dec-03 5:37 
GeneralRe: Trouble playing a sound Pin
Heath Stewart5-Dec-03 6:06
protectorHeath Stewart5-Dec-03 6:06 
GeneralRe: Trouble playing a sound Pin
Shizam5-Dec-03 6:30
Shizam5-Dec-03 6:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.