Is it possible to use the ServiceInstall element and install multiple Windows
Services using a single host.exe file? If so, how?
This works for a single service, but I cannot install the same file to the same
directory from two different components...ICE30 error.
<Component Id="_B5647036_A00B_46B2_B97D_E2C036EAEDB1"
Guid="1ECA2A8C-DB3E-490B-B037-81F27E26CE51" Win64="yes">
<File Id="_90E1C3D5_1A4A_4C11_BA9D_95C542B762CF"
Name="ServiceHost.exe" Source="ServiceHost.exe"/>
<ServiceInstall Id="MyWindowsService"
Name="!(loc.MyWindowsServiceName)" Arguments='"[#MyWindowsServiceConfig]"'
Description="!(loc.MyWindowsServiceDescription)"
DisplayName="!(loc.MyWindowsServiceDisplayName)"
Account="[DOMAIN]\[USER]" Password="[PASSWORD]"
ErrorControl="normal" Interactive="no"
Type="ownProcess" Start="auto" Vital="yes"/>
<ServiceControl Id="_DD6E90A5_AFA6_451A_9E5F_CAA33C2D28B2"
Name="!(loc.MyWindowsServiceName)" Stop="both" Remove="uninstall" Wait="no" />
</Component>
I have been unable to find another way to specify using the same file for the
ServiceInstall to use. Do I need to create multiple MSI's, one for each service
to get around the ICE30 error?
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users