Hello,

I have a setup project that must run an .exe command-line custom
action before an installed service is started.

The problem is, the custom action will throw an error when placed in
install actions sequence before "Start Services" or "Install
Services."

The custom action runs fine if placed after "InstallFinalize," but
then it's late because the service in question has already started.

Any ideas on the best way to go? Could "StartServices" possibly be
pushed after "InstallFinalize" in the sequence without messing things
up?

I tried for quite a while to create a c++ custom action, but have
little C++/COM expertise and had too much trouble getting it going in
a reasonable period of time. The .exe I finally made is written in C#.

Aside from this issue I'm a huge fan of WiX and am glad I avoided the
other "options."

Thanks so much,

Dan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to