Hello,
I have the trial version of AI and am seeing if it will work for us. Thus far, it seems to be working well, other than some bugs here and there.
The final issue that I can't seem to get past however is that the installer installs some services. I have "Log on as a service" selected for both services, and have custom commands to start the services at the end of setup. The services don't start, says the account doesn't have permission basically.
If I look, it never set the account to log on as a service. The account is a domain account (for example, testdomain\administrator) and if I manually add that account to the local policy, the services start up fine. So it seems it is something that AI is or isn't doing to set the permissions of that user on the installed system appropriately.
Here is what the install log has:
CustomAction STARTCORE returned actual error code 1069 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (c) (04:70) [13:03:38:913]: Note: 1: 1722 2: STARTCORE 3: C:\Users\ADMINI~1\AppData\Local\Temp\2\MSI3E79.tmp 4: /RunAsAdmin SC start VCore
Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action STARTCORE, location: C:\Users\ADMINI~1\AppData\Local\Temp\2\MSI3E79.tmp, command: /RunAsAdmin SC start VCore
MSI (c) (04:70) [13:05:00:051]: Product: ICE Connection Broker -- Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action STARTCORE, location: C:\Users\ADMINI~1\AppData\Local\Temp\2\MSI3E79.tmp, command: /RunAsAdmin SC start VCore
Action ended 13:05:00: STARTCORE. Return value 3.
MSI (c) (04:70) [13:05:00:051]: Doing action: FatalError
Action 13:05:00: FatalError.
Action start 13:05:00: FatalError.
I also find this above that:
Action ended 12:53:03: CostFinalize. Return value 1.
MSI (s) (C4:E0) [12:53:03:818]: Doing action: AI_ResolveLogOnAsService
Action 12:53:03: AI_ResolveLogOnAsService.
Action start 12:53:03: AI_ResolveLogOnAsService.
MSI (s) (C4:74) [12:53:03:818]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI902B.tmp, Entrypoint: ResolveServiceProperties
MSI (s) (C4!0C) [12:53:03:818]: PROPERTY CHANGE: Modifying AI_LOGON_AS_SERVICE_ACCOUNTS property. Its current value is '[USER_NAME]'. Its new value: 'testdomain\administrator'.
Action ended 12:53:03: AI_ResolveLogOnAsService. Return value 1.
So it seems to be getting the account name to do its thing.
I also find the property for setting log on as a service (AI_SetLogOnAsService) seems to be set correctly. Finally, I also find this:
MSI (s) (C4:E0) [12:53:56:611]: Executing op: ActionStart(Name=AI_SetLogOnAsService,,)
Action 12:53:56: AI_SetLogOnAsService.
MSI (s) (C4:E0) [12:53:56:626]: Executing op: CustomActionSchedule(Action=AI_SetLogOnAsService,ActionType=3073,Source=BinaryData,Target=LogOnAsAService,CustomActionData=testdomain\administrator)
MSI (s) (C4:EC) [12:53:56:626]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI5E71.tmp, Entrypoint: LogOnAsAService
MSI (s) (C4:E0) [12:53:56:689]: Executing op: ActionStart(Name=WriteRegistryValues,Description=Writing system registry values,Template=Key: [1], Name: [2], Value: [3])
Action 12:53:56: WriteRegistryValues. Writing system registry values
Any help or insight on what I need to do would be much appreciated! Thanks!