eurotronik
Posts: 17
Joined: Tue Jan 10, 2012 1:01 pm

Countinue install if service fail to start

I want installer to finnish install even if service failed to start or install. I have set these failure actions but installation still ends when service do not start because of unknown reason. Are failure action right?

Image
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Countinue install if service fail to start

Hello,

Here's a similar service thread to help you with this.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
eurotronik
Posts: 17
Joined: Tue Jan 10, 2012 1:01 pm

Re: Countinue install if service fail to start

I am having problems with running service. If I run service with SC it works normally. If I run it with installer it does not run.

I get this error

Service <name> failed to start. Verify that you have sufficient privileges to start system services.

and error

"Error 1053: The service did not respond to the start or control request in a timely fashion"

And I am running installer with administrator rights. :?
eurotronik
Posts: 17
Joined: Tue Jan 10, 2012 1:01 pm

Re: Countinue install if service fail to start

Can I run service with costum actions like that?

SC create NurseLog.Sniffer binPath ="[#NurseLog.Sniffer.exe]"

and

SC start NurseLog.Sniffer

Thank you for answers..
eurotronik
Posts: 17
Joined: Tue Jan 10, 2012 1:01 pm

Re: Countinue install if service fail to start

Image

Error that im getting.

LOG:

Code: Select all

MSI (s) (D4:28) [14:03:51:066]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIB763.tmp, Entrypoint: OnXmlConfig
MSI (s) (D4:5C) [14:09:48:492]: Executing op: ActionStart(Name=InstallServices,Description=Installing new services,Template=Service: [2])
MSI (s) (D4:5C) [14:09:48:493]: Executing op: ProgressTotal(Total=1,Type=1,ByteEquivalent=1300000)
MSI (s) (D4:5C) [14:09:48:493]: Executing op: ServiceInstall(Name=NurseLog.Sniffer,DisplayName=NurseLog.Sniffer,ImagePath="C:\Program Files\NurseLog 4.0.1\NurseLog.Sniffer.exe",ServiceType=16,StartType=2,ErrorControl=1,,Dependencies=[~],,,Password=**********,Description=NurseLog.Sniffer,,)
MSI (s) (D4:5C) [14:09:48:591]: Executing op: ActionStart(Name=MsiConfigureServices,,)
MSI (s) (D4:5C) [14:09:48:592]: Executing op: ProgressTotal(Total=1,Type=1,ByteEquivalent=1300000)
MSI (s) (D4:5C) [14:09:48:592]: Executing op: ServiceConfigureFailureAction(,Name=NurseLog.Sniffer,Event=1,ResetPeriod=86400,,Command="",Actions=1[~]0,DelayActions=60000[~]0)
MSI (s) (D4:5C) [14:09:48:592]: Changing configuration of failure action for service NurseLog.Sniffer.
MSI (s) (D4:5C) [14:09:48:592]: Error: 5. Failed to change current configuration of failure action for service NurseLog.Sniffer
MSI (s) (D4:5C) [14:09:48:593]: Failed to change configuration of failure action for service NurseLog.Sniffer
MSI (s) (D4:5C) [14:11:09:827]: Product: NurseLog 4.0.1 -- Error 1939. Service 'NurseLog.Sniffer' (NurseLog.Sniffer) could not be configured. This could be a problem with the package or your permissions. Verify that you have sufficient privileges to configure system services.

MSI (s) (D4:5C) [14:11:09:835]: User policy value 'DisableRollback' is 0
MSI (s) (D4:5C) [14:11:09:836]: Machine policy value 'DisableRollback' is 0
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Countinue install if service fail to start

Hello,

Does this behavior manifest on several machines or is it just the one? You can try to follow our service tutorial if you are uncertain on the service configuration from the project.

If the problem persists then please send us the .AIP( project file ) or a small test case reproducing this behavior to support at advancedinstaller dot com so we can investigate them. Please also mention this thread in your e-mail.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”