msi failure when using ServiceConfigFailureActions

6 messages Options
Embed this post
Permalink
Lian Jiang

msi failure when using ServiceConfigFailureActions

Reply Threaded More More options
Print post
Permalink
Hi,

I am using wix3.5 and using ServiceConfigFailureActions in this way:

<ServiceInstall Id="AgentServiceInstaller"
                          Name="SRCAgentService"
                          DisplayName="Microsoft Shared Computing Agent Service"
                          Type="ownProcess"
                          Start="auto"
                          ErrorControl="normal"
                          Description="AgentServiceInstall"
                          Account="LocalSystem"
                          Vital="yes">
            <ServiceConfigFailureActions OnInstall ="yes">
              <Failure Action="restartService" Delay="1000"/>
            </ServiceConfigFailureActions>
          </ServiceInstall>

But installing msi failed with the message "no enough priviledge". If I remove the ServiceConfigFailureActions node, the msi works fine.

Did I miss anything when using ServiceConfigFailureActions?


Thanks
Lian
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Bob Arnson-6

Re: msi failure when using ServiceConfigFailureActions

Reply Threaded More More options
Print post
Permalink
Lian Jiang wrote:
> But installing msi failed with the message "no enough priviledge".

Check a verbose log for the exact error message.

> If I remove the ServiceConfigFailureActions node, the msi works fine.
>
> Did I miss anything when using ServiceConfigFailureActions?
>  

Are you expecting to run only on Windows 7/2008 R@? The
ServiceConfigFailureActions element requires MSI 5.0.

--
sig://boB
http://joyofsetup.com/



------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Lian Jiang

Re: msi failure when using ServiceConfigFailureActions

Reply Threaded More More options
Print post
Permalink
Yes, I am using win2k8 server R2. Sorry to forget mentioning this.

-----Original Message-----
From: Bob Arnson [mailto:[hidden email]]
Sent: Wednesday, July 08, 2009 4:53 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] msi failure when using ServiceConfigFailureActions

Lian Jiang wrote:
> But installing msi failed with the message "no enough priviledge".

Check a verbose log for the exact error message.

> If I remove the ServiceConfigFailureActions node, the msi works fine.
>
> Did I miss anything when using ServiceConfigFailureActions?
>

Are you expecting to run only on Windows 7/2008 R@? The
ServiceConfigFailureActions element requires MSI 5.0.

--
sig://boB
http://joyofsetup.com/



------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Bob Arnson-6

Re: msi failure when using ServiceConfigFailureActions

Reply Threaded More More options
Print post
Permalink
Lian Jiang wrote:
> Yes, I am using win2k8 server R2. Sorry to forget mentioning this.
>  

What does a verbose log say?

--
sig://boB
http://joyofsetup.com/



------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Lian Jiang

Re: msi failure when using ServiceConfigFailureActions

Reply Threaded More More options
Print post
Permalink
I have used util:ServiceConfig instead. Thanks.

-----Original Message-----
From: Bob Arnson [mailto:[hidden email]]
Sent: Thursday, July 09, 2009 6:30 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] msi failure when using ServiceConfigFailureActions

Lian Jiang wrote:
> Yes, I am using win2k8 server R2. Sorry to forget mentioning this.
>

What does a verbose log say?

--
sig://boB
http://joyofsetup.com/



------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Lian Jiang

Re: msi failure when using ServiceConfigFailureActions

Reply Threaded More More options
Print post
Permalink
Problem solved by using ShareProcess instead of ownProcess.

Thanks
Lian

-----Original Message-----
From: Lian Jiang [mailto:[hidden email]]
Sent: Thursday, July 09, 2009 7:54 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] msi failure when using ServiceConfigFailureActions

I have used util:ServiceConfig instead. Thanks.

-----Original Message-----
From: Bob Arnson [mailto:[hidden email]]
Sent: Thursday, July 09, 2009 6:30 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] msi failure when using ServiceConfigFailureActions

Lian Jiang wrote:
> Yes, I am using win2k8 server R2. Sorry to forget mentioning this.
>

What does a verbose log say?

--
sig://boB
http://joyofsetup.com/



------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users