Service Failure Actions Problem

1 message Options
Embed this post
Permalink
ender.and.wiggin

Service Failure Actions Problem

Reply Threaded More More options
Print post
Permalink
Hello everyone.

I am trying to use the new WI 5.0 extended services support in WiX but I ran
into a problem. I have the following WiX code (note that "javaservice.exe" already installed):

<ServiceConfigFailureActions Id="klhkj" OnInstall="yes" ServiceName="javaservice.exe" Command="program.exe argument">
              <Failure Action="restartService" Delay="60000"/>
              <Failure Action="restartComputer" Delay="60000"/>
<Failure Action="runCommand" Delay="60000"/>
            </ServiceConfigFailureActions>

When ever I use the "restartService" or "restartComputer" action flags
the installation fails with access denied (privileges problem).

Any thoughts on this are greatly appreciated.

Thanks.