I'm starting to notice an issue when trying to configure a service failure actions, when the target computer is running windows 2008 R2.
I was able to reproduce this issue with Advanced installer 9.7 (not the up to date release :-/) with a new project from scratch. Add a service, and add a failure operation with the default options, linked to that service.
You should get an error when trying to install this on a windows 2008 R2:
Code: Select all
MSI (s) (7C:B8) [15:03:49:152]: Executing op: ServiceConfigureFailureAction(,Name=PrintReportNet.exe,Event=1,ResetPeriod=86400,,Command="",Actions=1,DelayActions=60000)
MSI (s) (7C:B8) [15:03:49:152]: Changing configuration of failure action for service PrintReportNet.exe.
MSI (s) (7C:B8) [15:03:49:152]: Error: 5. Failed to change current configuration of failure action for service PrintReportNet.exe
MSI (s) (7C:B8) [15:03:49:152]: Failed to change configuration of failure action for service PrintReportNet.exe
Error 1939. Service 'Your Service' (PrintReportNet.exe) 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) (7C:B8) [15:03:50:182]: Product: Your Application -- Error 1939. Service 'Your Service' (PrintReportNet.exe) 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.
http://windows-installer-xml-wix-toolse ... 15470.html
http://permalink.gmane.org/gmane.comp.w ... user/53618
http://windows-installer-xml-wix-toolse ... 82414.html
I could not find much information about a real fix / workaround to get the failure options working on a 2008 R2 installation. Maybe Windows 7 is also affected.
The Change log of Advanced installed doesn't seems to talk about this issue.
If you have any other information about this, that could help me, including workarounds / conditions to not perform this operation on those systems.
Thanks!