In my installer, i have a user account being created. However, i only want this account created during initial install. Not during upgrades.
So i've assigned the condition (NOT Installed) to the user account creation. However during upgrades we are experiencing errors:
Code: Select all
: AI_CreateAccount. Creating user account on the local computer
MSI (s) (44:9C) [21:36:46:080]: Executing op: CustomActionSchedule(Action=AI_CreateAccount,ActionType=11265,Source=BinaryData,Target=**********,CustomActionData=**********)
MSI (s) (44:4C) [21:36:46:095]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI2A60.tmp, Entrypoint: CreateAccount
AI_CreateAccount: Account: svcApp
Error 4101. Unable to create user account or group 'svcApp' on the local machine. Error Code: 2245. The password does not meet the password policy requirements. Check the minimum password length, password complexity and password history requirements.
MSI (s) (44!74) [21:36:55:346]: Product: AgeonISR -- Error 4101. Unable to create user account or group 'svcApp' on the local machine. Error Code: 2245. The password does not meet the password policy requirements. Check the minimum password length, password complexity and password history requirements.
CustomAction AI_CreateAccount returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 21:36:55: InstallExecute. Return value 3.
MSI (s) (44:9C) [21:36:55:362]: User policy value 'DisableRollback' is 0One thing to note, we set the password for this user via an installer ui text edit box.
But my understanding is that if the condition for the user is set to Not Installed, then this shouldn't matter. Please advise, thanks.
FOLLOW US
Get the latest news in Application Packaging