Hi all,

I'm implementing an installer using merge modules. Two of these
modules contain ServiceInstall elements like this:
<ServiceInstall Account="[USER_NAME]" Password="[USER_PASSWORD]"
ErrorControl="critical" Description="Data Service"
DisplayName="DataService" Id="dataServiceInstall" Name="DataService"
Start="auto" Type="ownProcess" Vital="yes" />
One of the modules has platform="x64", the other platform="x86" -
otherwise I would use only one module.

The properties are both marked Secure="yes"; the password property has
hidden="yes", too.

When inspecting the MSI's ServiceInstall table, I see
StartName=[USER_NAME.PACKAGE_GUID] instead of the expected
[USER_NAME]. As a result, the services get installed using LocalSystem
as a user regardless of what I set USER_NAME and USER_PASSWORD to.

How can I fix this? Using a custom action to distribute USER_NAME to
USER_NAME.PACKAGE_GUID should be a last resort.

Regards,

Dirk Räder

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to