Thanks guys for all your help. I am now able to send password and start windows service using util:user as mentioned in the format below.
<util:User Id="TaskService" Domain="[USER_SYSTEM_DOMAIN]" Name="[USER_SERVICE_ACCOUNT]" Password="[USER_SERVICE_PASSWORD]" LogonAsService="yes" FailIfExists="no" CreateUser="no" RemoveOnUninstall="no" /> My next problem, is how should I handle them for patch release? I am able to build Patch1.msp by following steps: 1.Create Patch1.msi 2.Compare RTM.msi and Patch1.msi using Torch and Pyro;and generate Patch1.msp When I try to install them, I get a fatal error. Below is the extract from verbose log. Action 12:28:41: CreateUser. MSI (s) (2C:90) [12:28:41:010]: Executing op: CustomActionSchedule(Action=CreateUser,ActionType=11265,Source=BinaryDat a,Target=**********,CustomActionData=**********) MSI (s) (2C:90) [12:28:41:026]: Creating MSIHANDLE (1064) of type 790536 for thread 400 MSI (s) (2C:2C) [12:28:41:026]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI23.tmp, Entrypoint: CreateUser MSI (s) (2C!5C) [12:28:41:479]: Creating MSIHANDLE (1065) of type 790531 for thread 2908 CreateUser: Error 0x80070103: failed to read attributes from custom action data MSI (s) (2C!5C) [12:28:41:479]: Closing MSIHANDLE (1065) of type 790531 for thread 2908 MSI (s) (2C:2C) [12:28:41:495]: Closing MSIHANDLE (1064) of type 790536 for thread 400 Action ended 12:28:41: InstallFinalize. Return value 3. Any help on this would be much appreciated. Thanks -----Original Message----- From: Dexter [mailto:d8x...@hotmail.com] Sent: 10 September 2013 21:48 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Service Install Password not sent correctly toWindows Service Use the User Element from the Util Extension to grant the user LogonAsService permission. If you only want to grant permission to an existing user the section would look something like this: <util:User Id="ServiceUser" Name="[SERVICE_USERNAME]" Domain="[SERVICE_USERDOMAIN]" Password="[SERVICE_USERPASSWORD]" LogonAsService="yes" FailIfExists="no" CreateUser="no" RemoveOnUninstall="no"/> -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Service-In stall-Password-not-sent-correctly-to-Windows-Service-tp7588884p7588892.h tml Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------ ------ How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clk trk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ______________________________________________________________________ This email has been scanned by the Symantec Email Security.cloud service. For more information please visit http://www.symanteccloud.com ______________________________________________________________________ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to which it is addressed and may contain information which is privileged, confidential or prohibited from disclosure or unauthorised use. You are hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message or its attachments other than by it's intended recipient is strictly prohibited by the sender. If you have received this email in error, please notify the system manager by email at ad...@ifdspercana.com Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, this email has been scanned for the presence of viruses. The recipient should also check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email ______________________________________________________________________________________ IFDS Percana Group Limited, no. 307152, is registered in Ireland at 16 Joyce Way, Park West Business Park, Dublin 12, Ireland. Directors: Eugene Larmon, Patrick Concannon, William Slattery, Paul O'Neil (UK), Simon Hudson-Lund (UK) and Stephen Parkinson (UK) IFDS Percana International Managed Services Limited, no. 368022, is regulated by the Central Bank of Ireland. Registered in Ireland at 16 Joyce Way, Park West Business Park, Dublin 12, Ireland. IFDS Percana International Managed Services Limited is a wholly owned subsidiary of IFDS Percana Group Limited and provides support services to the life and pensions industry. Directors: Eugene Larmon, Patrick Concannon, Stephen Parkinson (UK) and Paul O'Neil (UK). www.ifdspercana.com ______________________________________________________________________ This email has been scanned by the Symantec Email Security.cloud service. For more information please visit http://www.symanteccloud.com ______________________________________________________________________ ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users