Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

MsiServiceConfigFailureActions problem


1 reply to this topic

Johnny9111

Johnny9111
  • Full Members
  • 1 posts

Posted 19 October 2009 - 12:21

Hi,

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:

MsiServiceConfigFailureActions: ServiceId
Name: myservice.exe
Event: 1
ResetPeriod: 172800
RebootMessage:
Command: "[#myfile.exe] arg1"
Actions: 3[~]0[~]1
DelayActions: 60000[~]0[~]60000
Component_: componentid

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.
Thanks.

Edited by Johnny9111, 19 October 2009 - 12:29.


coluhandria

coluhandria
  • Full Members
  • 10 posts

Posted 21 December 2009 - 08:08

Hello

I can confirm this problem, I tried to configure an existing service where I definitely know this service provides failure actions, but although I get always the same message like described in the post above.

Please help!!!