That's a bit of a trick question because it assumes one should use custom 
actions in the first place.   I always use the built-in standard actions as 
encapsulated by the WiX elements ServiceInstall and ServiceControl.

A service is a service is a service.  The Service Control Manager has an API 
and 
it makes no difference if you are using C, C++, C# other then the differences 
in 
how each of those languages interact with that API.  In .NET is't the 
ServiceBase class that helps hide a lot of these details.

I suggest not using the custom action and read the following:

http://blog.deploymentengineering.com/2006/07/msi-vs-net.html

http://blog.deploymentengineering.com/2011/01/augmenting-installshield-using-windows_19.html


---
Christopher Painter, Author of Deployment Engineering Blog
Have a hot tip, know a secret or read a really good thread that deserves 
attention? E-Mail Me



----- Original Message ----
From: Mark Turek <turekm...@hotmail.com>
To: wix-users@lists.sourceforge.net
Sent: Sat, February 12, 2011 5:01:52 PM
Subject: [WiX-users] Unmanaged c++ window service installation

1. Is there any difference between installing managed windows services versus 
unmanaged ones using standard custom actions?
2. If yes then what is the best way to install unmanaged windows service (any 
examples?)

I just wanted to get some feedback from you guys to save some time since I am 
not a Wix person. My windows service has it’s own installer which I wrote and I 
could just call it from the custom action dll, which I already have. Is this a 
way to go? There has to be some standard way to do this. What about wix 
utilities?
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



 
____________________________________________________________________________________
8:00? 8:25? 8:40? Find a flick in no time 
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to