Click here to Skip to main content
15,902,635 members
Home / Discussions / C#
   

C#

 
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 
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 
The bootstrapper runs before the Windows Installer package, so Windows Installer won't know. I'm not aware of how the bootstrapper could tell the installer to reboot, since the bootstrapper typically only knows about the Database object (where the properties are read-only). Perhaps the bootstrapper can get the Instance after invoking MSI on the package, but you'd have to read the Windows Installer SDK. I've never had to attempt modifying the installer from the boostrapper to know.

In most cases, though, you want the bootstrapper to reboot before restarting the Windows Installer package. If the .NET Framework installation isn't finalized when your MSI package begins, you may run into problems. While rare, I have had problems where - after installing SP2 - the GAC wasn't setup completely and trying to install assemblies into a GAC that didn't exists screwed some things up. It wasn't disasterous, but your average stupid user using your product might not like it.

As far as Jet and MDAC go (they are merge modules), if Windows Installer determines that files they needed to replace are in use or that the machine needs to reboot (which is stupid in most cases for NT-based Windows OSes because the user need only logout and back on), it will do so either when necessary or at the end, depending on what you set the REBOOT property to. Valid values are Force, Surpress, and ReallySurpress. See the Windows Installer SDK for more information.

 

-----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
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 
GeneralRe: Trouble playing a sound Pin
Heath Stewart5-Dec-03 6:39
protectorHeath Stewart5-Dec-03 6:39 
GeneralRe: Trouble playing a sound Pin
Shizam5-Dec-03 8:19
Shizam5-Dec-03 8:19 

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.