I'm trying to use the MsiServiceConfigFailureActions
table (on Windows 7) but it doesn't seem to work. I have the following row in this table:
Command: "[#myfile.exe] arg1"
myservice.exe is installed as service on test machine. However i have managed to isolate the problem in the "Actions" column. When ever I use the SC_ACTION_REBOOT=2 or SC_ACTION_RESTART=1 flags
the installation fails with access denied (privileges problem).
From log: Error 1939. Service 'Service Example' (myservice.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.
Note that package runs with administrator privileges.
Any thoughts on this are greatly appreciated.
Edited by Johnny9111, 19 October 2009 - 12:29.