I dont' think windows even has such a feature, so I'd be surprised if MSI
does.
I think that's the whole reason why iisreset is a program and they don't
just rely on people having to do net start / net stop commands.
By 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" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
11/29/2007 04:00 PM
To
"wix-users@lists.sourceforge.net" <wix-users@lists.sourceforge.net>
cc
Subject
[WiX-users] Dependent Windows Services
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 dependent services don't get started. I can include
extra ServiceControl elements for all the IIS dependent services, but the
MSI will throw and exception if one these dependent services hasn't been
installed.
In short, is there a way to achieve the above functionality magically
(meaning, when I start/stop a specific service, all the dependent services
would start/stop based on which service is installed)?
Thanks.
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
**************************************************************************************
This communication is intended solely for the addressee and is
confidential. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful. Unless indicated
to the contrary: it does not constitute professional advice or
opinions upon which reliance may be made by the addressee or any
other party, and it should be considered to be a work in progress.
Unless stated otherwise, this communication does not form a prescribed
statement of actuarial opinion under American Academy of Actuaries
guidelines.
**************************************************************************************
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users