Re: [WiX-users] Dependent Windows Services

2007-11-29 Thread Dhaval Patel
y the way, if you know the dependencies, you could just do net start > > and not check the return value, couldn't you? Or does MSI also complain > > when net start throws an error? > > > > Kelly > > > > > > > > *"Dhaval Patel" <[E

Re: [WiX-users] Dependent Windows Services

2007-11-29 Thread Andrew Sampson
things can get very hairy. AS _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dhaval Patel Sent: Friday, 30 November 2007 9:33 AM To: Kelly Leahy Cc: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Dependent Windows Services I think that

Re: [WiX-users] Dependent Windows Services

2007-11-29 Thread Dhaval Patel
ot check the return value, couldn't you? Or does MSI also complain when > net start throws an error? > > Kelly > > > > *"Dhaval Patel" <[EMAIL PROTECTED]>* > > Sent by: [EMAIL PROTECTED] > > 11/29/2007 04:00 PM > To > "wix-users@li

Re: [WiX-users] Dependent Windows Services

2007-11-29 Thread Kelly Leahy
ust do net start and not check the return value, couldn't you? Or does MSI also complain when net start throws an error? Kelly "Dhaval Patel" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 11/29/2007 04:00 PM To "wix-users@lists.sourceforge.net" cc Subject [

[WiX-users] Dependent Windows Services

2007-11-29 Thread Dhaval Patel
I never figured out a built-in way (in WIX) to start/stop dependent Windows services automagically. For example, the server has IIS installed along with SMTP & POP3. When I stop IIS (via ServiceControl), the dependent services also get stopped, but when I restart IIS (via ServiceControl), the depen