I following online instructions and created a patch (msp file). There were no errors during the creation. When I tried to verify the patch by applying it, I got following error:
MSI (s) (C0:F0) [13:36:29:463]: Executing op: ActionStart(Name=CreateUser,,) MSI (s) (C0:F0) [13:36:29:463]: Executing op: CustomActionSchedule(Action=CreateUser,ActionType=11265,Source=BinaryData,Target=**********,CustomActionData=**********) MSI (s) (C0:88) [13:36:29:463]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIA410.tmp, Entrypoint: CreateUser MSI (s) (C0:9C) [13:36:29:463]: Generating random cookie. MSI (s) (C0:9C) [13:36:29:463]: Created Custom Action Server with PID 3760 (0xEB0). MSI (s) (C0:A8) [13:36:29:495]: Running as a service. MSI (s) (C0:FC) [13:36:29:495]: Hello, I'm your 32bit Elevated custom action server. CreateUser: Error 0x80070103: failed to read attributes from custom action data CustomAction CreateUser returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox) Action ended 13:36:29: InstallFinalize. Return value 3. My code that has "CreateUser" in it is: <Component Id='********' Win64="$(var.Win64)" Guid='{*****************************}' > <util:User Id='*******' Name='[SERVICEACCOUNT]' Password='[SERVICEPASSWORD]' CreateUser='no' LogonAsService='yes'/> <File Id="***********" Name="**********" KeyPath="yes" Source="*************" /> <ServiceInstall Id='*********' Name='**********' DisplayName='***********' Type='ownProcess' Start='auto' ErrorControl='normal' Description='**************' Account='[SERVICEACCOUNT]' Password='[SERVICEPASSWORD]' Vital='yes'> <util:ServiceConfig FirstFailureActionType='restart' SecondFailureActionType='restart' ThirdFailureActionType='none' RestartServiceDelayInSeconds='10' ResetPeriodInDays='1'/> </ServiceInstall> <ServiceControl Id="StartService" Stop="both" Remove="uninstall" Name="**************" Wait="yes" /> </Component> I am a bit at loss as to how to fix this problem. I have heard that when patching, custom actions lose their parameters. Is this true? If util:user is internally implemented as a custom action, how do I get around this? Thanks, George ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users