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
- :
- Error 1939 when using <util:ServiceConfig> on Windows Server 2008 R2
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
‎Feb 15, 2011
06:31 AM
Error 1939 when using <util:ServiceConfig> on Windows Server 2008 R2
I have a C# Windows Service project. I have a Install Shield 2011 Express project for installing this Windows Service. Because IS2011 do not directly support such installations I have made a Merge Module in Wix which I install via the IS2011 project.
The final IS2011 installer has been working well (Windows 2003, Windows 2008 R2, Windows XP).
I have since realized I need to add dependencies and recovery options for this Windows service. This I did by adding the elements :
- ServiceDependency
- ServiceConfig
- ServiceConfigFailureActions
- util:ServiceConfig
I tried installing on a Windows Server 2003 32-bit and it worked OK. All properties were set for the service as expected.
Installing on a 64-bit Windows Server 2008 R2 I get this error message:
"Error 1939. Service 'xyz' (xyz) 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."
This is the portion of the XML file concerning the Windows Service:
By blocking/removing these elements the installation works fine on the Windows Server 2008 R2.
- ServiceConfig
- ServiceConfigFailureActions
- util:ServiceConfig
After installation is done, I can then open up the Windows service "xyz" and manually set the recovery for the service to "restart" without any error messages.
Any help greatly appreciated. Got no response from Wix user list, hopefully someone here can help.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 15, 2011
01:16 PM
I'd stick to the WiX-Users list. I must have missed that message so I'll see if I can find it and reply.
BTW, it looks like you did get a reply:
http://permalink.gmane.org/gmane.comp.windows.devel.wix.user/53618
BTW, it looks like you did get a reply:
http://permalink.gmane.org/gmane.comp.windows.devel.wix.user/53618
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 15, 2011
02:16 PM
Christopher Painter wrote:
I'd stick to the WiX-Users list. I must have missed that message so I'll see if I can find it and reply.
BTW, it looks like you did get a reply:
http://permalink.gmane.org/gmane.comp.windows.devel.wix.user/53618
Yes I found the reply today after posting here. I will try and find the differences between the two OS in this regard.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)