This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Configuring Windows Service Recovery Actions Fails
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 22, 2013
12:06 PM
Configuring Windows Service Recovery Actions Fails
Hello,
I was trying to configure recovery actions for my service on install, but the error has occured. The error and my IS configuration and desired windows service configuration is on the pictures.
How can I correctly configure this Recovery Actions? I am running the setup as administrator and when I do the configuration manually, it just works.
And the second question is how to configure this service to act reasonable during the patch progress. By reasonable I mean:
1. Stop service
2. Patch files
3. Start service
This topic is not very well documented and I cant find it anywhere on the web. Everyone is just recomending using some .exe custom actions and I wanted to avoid that since IS has support for installing services.
Many thanks,
Marek
![](/legacyfs/online/vb/10125_DesiredConfiguration.png)
![](/legacyfs/online/vb/10126_ServiceConfigurationError.png)
Log:
[CODE]MSI (s) (90:64) [18:58:24:313]: Executing op: ServiceInstall(Name=MarekService,DisplayName=MarekService,ImagePath="C:\Program Files (x86)\Marek\MarekService\MarekService.exe",ServiceType=16,StartType=2,ErrorControl=32769,,Dependencies=[~],,,Password=**********,Description=Mareks windows service,,)
InstallServices: Service:
MSI (s) (90:64) [18:58:24:314]: Executing op: ActionStart(Name=MsiConfigureServices,,)
Action 18:58:24: MsiConfigureServices.
MSI (s) (90:64) [18:58:24:315]: Executing op: ProgressTotal(Total=1,Type=1,ByteEquivalent=1300000)
MSI (s) (90:64) [18:58:24:315]: Executing op: ServiceConfigure(,Name=MarekService,Event=1,ConfigType=4,Argument=1)
MSI (s) (90:64) [18:58:24:316]: Changing configuration of service MarekService.
MSI (s) (90:64) [18:58:24:316]: Changed configuration of service MarekService with ConfigType SERVICE_CONFIG_FAILURE_ACTIONS_FLAG
MSI (s) (90:64) [18:58:24:316]: Done changing configuration of service MarekService
MSI (s) (90:64) [18:58:24:316]: Executing op: ProgressTotal(Total=1,Type=1,ByteEquivalent=1300000)
MSI (s) (90:64) [18:58:24:316]: Executing op: ServiceConfigureFailureAction(,Name=MarekService,Event=1,ResetPeriod=60,,,Actions=1[~][~],DelayActions=1000[~][~])
MSI (s) (90:64) [18:58:24:316]: Changing configuration of failure action for service MarekService.
MSI (s) (90:64) [18:58:24:317]: Error: 5. Failed to change current configuration of failure action for service MarekService
MSI (s) (90:64) [18:58:24:317]: Failed to change configuration of failure action for service MarekService
Error 1939. Service 'MarekService' (MarekService) 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) (90:64) [18:58:25:392]: Product: MarekService -- Error 1939. Service 'MarekService' (MarekService) 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.[/CODE]
I was trying to configure recovery actions for my service on install, but the error has occured. The error and my IS configuration and desired windows service configuration is on the pictures.
How can I correctly configure this Recovery Actions? I am running the setup as administrator and when I do the configuration manually, it just works.
And the second question is how to configure this service to act reasonable during the patch progress. By reasonable I mean:
1. Stop service
2. Patch files
3. Start service
This topic is not very well documented and I cant find it anywhere on the web. Everyone is just recomending using some .exe custom actions and I wanted to avoid that since IS has support for installing services.
Many thanks,
Marek
![](/legacyfs/online/vb/10125_DesiredConfiguration.png)
![](/legacyfs/online/vb/10126_ServiceConfigurationError.png)
Log:
[CODE]MSI (s) (90:64) [18:58:24:313]: Executing op: ServiceInstall(Name=MarekService,DisplayName=MarekService,ImagePath="C:\Program Files (x86)\Marek\MarekService\MarekService.exe",ServiceType=16,StartType=2,ErrorControl=32769,,Dependencies=[~],,,Password=**********,Description=Mareks windows service,,)
InstallServices: Service:
MSI (s) (90:64) [18:58:24:314]: Executing op: ActionStart(Name=MsiConfigureServices,,)
Action 18:58:24: MsiConfigureServices.
MSI (s) (90:64) [18:58:24:315]: Executing op: ProgressTotal(Total=1,Type=1,ByteEquivalent=1300000)
MSI (s) (90:64) [18:58:24:315]: Executing op: ServiceConfigure(,Name=MarekService,Event=1,ConfigType=4,Argument=1)
MSI (s) (90:64) [18:58:24:316]: Changing configuration of service MarekService.
MSI (s) (90:64) [18:58:24:316]: Changed configuration of service MarekService with ConfigType SERVICE_CONFIG_FAILURE_ACTIONS_FLAG
MSI (s) (90:64) [18:58:24:316]: Done changing configuration of service MarekService
MSI (s) (90:64) [18:58:24:316]: Executing op: ProgressTotal(Total=1,Type=1,ByteEquivalent=1300000)
MSI (s) (90:64) [18:58:24:316]: Executing op: ServiceConfigureFailureAction(,Name=MarekService,Event=1,ResetPeriod=60,,,Actions=1[~][~],DelayActions=1000[~][~])
MSI (s) (90:64) [18:58:24:316]: Changing configuration of failure action for service MarekService.
MSI (s) (90:64) [18:58:24:317]: Error: 5. Failed to change current configuration of failure action for service MarekService
MSI (s) (90:64) [18:58:24:317]: Failed to change configuration of failure action for service MarekService
Error 1939. Service 'MarekService' (MarekService) 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) (90:64) [18:58:25:392]: Product: MarekService -- Error 1939. Service 'MarekService' (MarekService) 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.[/CODE]
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 28, 2013
02:43 AM
Please, noone really knows how to configure this recovery conditions? I found nothing on the internet and in the documentation.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 18, 2013
02:06 PM
I'm having issues getting the recovery settings to work as well. I'm getting the following error:
Finding nearly no help online, it seems like either this is a feature no one uses or is a feature that doesn't actually work and everyone avoids? :confused:
I don't seem to have any security issues that keep me from changing the recovery settings manually, so I'm inclined to think that the privileges are not the issue. Using the sc command, I can set the recovery settings to where I want them to be, but it would sure be nice to just use the built-in tools in InstallShield.
Error 1939.Service 'My Service' (MyService) 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.
Finding nearly no help online, it seems like either this is a feature no one uses or is a feature that doesn't actually work and everyone avoids? :confused:
I don't seem to have any security issues that keep me from changing the recovery settings manually, so I'm inclined to think that the privileges are not the issue. Using the sc command, I can set the recovery settings to where I want them to be, but it would sure be nice to just use the built-in tools in InstallShield.
sc failure MyService actions= restart/180000/restart/180000/""/180000 reset= 86400
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 03, 2014
04:40 AM
Hello, any idea about this problem???? I have exactly same error.
Thanks a lot
Francisco Morales
Thanks a lot
Francisco Morales
Marek22 wrote:
Hello,
I was trying to configure recovery actions for my service on install, but the error has occured. The error and my IS configuration and desired windows service configuration is on the pictures.
How can I correctly configure this Recovery Actions? I am running the setup as administrator and when I do the configuration manually, it just works.
And the second question is how to configure this service to act reasonable during the patch progress. By reasonable I mean:
1. Stop service
2. Patch files
3. Start service
This topic is not very well documented and I cant find it anywhere on the web. Everyone is just recomending using some .exe custom actions and I wanted to avoid that since IS has support for installing services.
Many thanks,
Marek
Log:
[CODE]MSI (s) (90:64) [18:58:24:313]: Executing op: ServiceInstall(Name=MarekService,DisplayName=MarekService,ImagePath="C:\Program Files (x86)\Marek\MarekService\MarekService.exe",ServiceType=16,StartType=2,ErrorControl=32769,,Dependencies=[~],,,Password=**********,Description=Mareks windows service,,)
InstallServices: Service:
MSI (s) (90:64) [18:58:24:314]: Executing op: ActionStart(Name=MsiConfigureServices,,)
Action 18:58:24: MsiConfigureServices.
MSI (s) (90:64) [18:58:24:315]: Executing op: ProgressTotal(Total=1,Type=1,ByteEquivalent=1300000)
MSI (s) (90:64) [18:58:24:315]: Executing op: ServiceConfigure(,Name=MarekService,Event=1,ConfigType=4,Argument=1)
MSI (s) (90:64) [18:58:24:316]: Changing configuration of service MarekService.
MSI (s) (90:64) [18:58:24:316]: Changed configuration of service MarekService with ConfigType SERVICE_CONFIG_FAILURE_ACTIONS_FLAG
MSI (s) (90:64) [18:58:24:316]: Done changing configuration of service MarekService
MSI (s) (90:64) [18:58:24:316]: Executing op: ProgressTotal(Total=1,Type=1,ByteEquivalent=1300000)
MSI (s) (90:64) [18:58:24:316]: Executing op: ServiceConfigureFailureAction(,Name=MarekService,Event=1,ResetPeriod=60,,,Actions=1[~][~],DelayActions=1000[~][~])
MSI (s) (90:64) [18:58:24:316]: Changing configuration of failure action for service MarekService.
MSI (s) (90:64) [18:58:24:317]: Error: 5. Failed to change current configuration of failure action for service MarekService
MSI (s) (90:64) [18:58:24:317]: Failed to change configuration of failure action for service MarekService
Error 1939. Service 'MarekService' (MarekService) 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) (90:64) [18:58:25:392]: Product: MarekService -- Error 1939. Service 'MarekService' (MarekService) 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.[/CODE]
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 13, 2014
09:14 AM
Hello, I have exactly same problem... any solution ????
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 21, 2014
06:54 AM
Please review the below KB article:-
http://flexerasoftware.force.com/articles/en_US/PROBLEM/Q204139
This has a possible workaround described. Please try it.
Thanks ~ Swetha
http://flexerasoftware.force.com/articles/en_US/PROBLEM/Q204139
This has a possible workaround described. Please try it.
Thanks ~ Swetha
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 19, 2016
04:52 PM
SwethaRao wrote:
Please review the below KB article:-
http://flexerasoftware.force.com/articles/en_US/PROBLEM/Q204139
This has a possible workaround described. Please try it.
Thanks ~ Swetha
For me, This workaround does not work either. It gives Error 1721. If I try to execute the sc command as script code. The installation completes but the Service is not configured. Flexera charges thousands of dollars per year for maintenance support and what kind of support this company provides. I am disgusted.
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)