Hi,

I create installation program by WiX toolkit.  My problem is in windows 
services installation (written in .NET). Installation program installs 
several services using the InstallUtilLib library.

There are definitions:

<CustomAction Id="InstallService" BinaryKey="InstallUtil" 
DllEntry="ManagedInstall" Execute="deferred" />

<CustomAction Id="InstallServiceSetProp" Property="InstallService" 
Value="/name=&quot;[SERVICE_NAME]&quot; /account=user /user=[LOGIN_USER] 
/password=[LOGIN_PASSWD] /installtype=notransaction /action=install 
/LogFile= &quot;[#ServiceFile]&quot; &quot;[#CAUtilCfg]&quot;"/>

...

<CustomAction Id="InstallService2" BinaryKey="InstallUtil" 
DllEntry="ManagedInstall" Execute="deferred" />

<CustomAction Id="InstallService2SetProp" Property="InstallService2" 
Value="/name=&quot;[SERVICE_NAME] ([INSTANCE2])&quot; /account=user 
/user=[LOGIN_USER] /password=[LOGIN_PASSWD] /installtype=notransaction 
/action=install /LogFile= &quot;[#ServiceFile2]&quot; 
&quot;[#CAUtilCfg]&quot;"/>

...

The problem is that all installed services referring to same exe file. 
The reffered file is always from first run action. Another parameters 
are correct, but target file is incorrect.

I don’t see why :-(

- Petr


_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to