You can set Property/@SuppressModularization attribute. However this is
described as a last resort :)

You can also use configurable merge modules but they are a pain.
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/avoiding-GUID-d
ecoration-in-merge-module-property-name-td5742531.html#a5743848


-----Original Message-----
From: Dirk Räder [mailto:d...@raeder.cc] 
Sent: 20 September 2011 09:31
To: wix-users
Subject: [WiX-users] ServiceIntall using MergeModules - account doesn't
getset

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
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.
------------------------------------------------------------------------------
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