Hello,
I have following situation - I want to install an .exe and start it as a 
service

<Component Id="SERV_Arcserv.exe" 
Guid="{C28EA890-4649-4A33-801F-BD846B8E3A55}">
        <File Id="SERV_Arcserv.exe" Name="Arcserv.exe" KeyPath="yes" 
Source="Services\Arcserv.exe"/>
        <ServiceInstall Id="ServInst_Arcserv" Name="ARCSERV"  
Start="auto" Type="ownProcess" ErrorControl="normal"/>
        <ServiceControl Id="ServCont_Arcserv" Name="ARCSERV" 
Start="install" Remove="uninstall" Wait="yes" Stop="uninstall"/>
        <Condition><![CDATA[(HASARCNET="1")]]></Condition>
</Component>

The default value of the Property HASARCNET is 0. With the help of a 
Custom Action I set it to 1 if the arcnet driver is installed.
The Property is set to 1 as I see it in the log but the file wont be 
installed and the service wont be started.
If I use a lower Sequencenumber for the CA, the CustomAction fails - I 
see it in the log.
When should I execute the CA or is there another way to handle this
Thank you,
Chris

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to