You're kind of stuck. You've committed to supply credentials at install time, but you need to supply them for patch and repair, so you need to store them somewhere. If the registry is not allowed then write a custom action with the Crypto API, things like CredWrite, CredRead etc.
Phil Wilson On Thu, Sep 19, 2013 at 7:52 AM, Swaroop Kare <swaroop.k...@ifdspercana.com>wrote: > Thanks for your suggestion of mentioning about remember pattern, > unfortunately I am not supposed to store passwords in registry. > > > > Is there any other alternative solution to fix "CreateUser: Error > 0x80070103: failed to read attributes from custom action data" while > doing a patch update or repair. > > > > > > -----Original Message----- > From: Blair Murri [mailto:os...@live.com] > Sent: 14 September 2013 03:08 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Service Install Password not sent correctly > toWindows Service > > > > Search this list for the property remember pattern. > > > > > Date: Thu, 12 Sep 2013 16:09:29 +0100 > > > From: swaroop.k...@ifdspercana.com > > > To: wix-users@lists.sourceforge.net > > > Subject: Re: [WiX-users] Service Install Password not sent correctly > toWindows Service > > > > > > 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.clk > trk > > > _______________________________________________ > > > WiX-users mailing list > > > WiX-users@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ------------------------------------------------------------------------ > ------ > > 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 > ______________________________________________________________________ > > ------------------------------------------------------------------------------ > LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! > 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, > SharePoint > 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack > includes > Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. > http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users