Can't Get "sc start" To Run Cleanly As A Custom Action - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Can't Get "sc start" To Run Cleanly As A Custom Action

MSI (s) (14:40) [18:00:51:770]: Note: 1: 1721 2: StartServiceForXMRuntime.4E72A4E1538744C6A2EC5B2DE0D2CEDE 3: C:\WINDOWS\system32\ 4: "C:\WINDOWS\system32\sc start CiceroClientService"
Info 1721. There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: StartServiceForXMRuntime.4E72A4E1538744C6A2EC5B2DE0D2CEDE, location: C:\WINDOWS\system32\, command: "C:\WINDOWS\system32\sc start CiceroClientService"
RollbackCleanup: File: C:\Config.Msi\f6addb.rbf

I have it after "StartServices", the service gets installed and shows up under Services under Administrative Tools.

Execution Properties: Synchronous Execution
Execution Option: I've tried both "Deferred With No Impersonation" & "Commit With No Impersonation"

If I wrap the sc start command in a command window (i.e. cmd /K "sc start CiceroClientService") it runs fine. If I run the sc start command after the error happens it runs fine.

It seems like it's acting like the service isn't there.
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Re: Can't Get "sc start" To Run Cleanly As A Custom Action

NOTE to self... no quotes required around the file in the Full Path field of the Custom Action :oops:
Scott Jeslis
Senior Software Engineer
Cicero, Inc.

Return to “Common Problems”