Services don't get logon rights.  Users do.

Why are you installing a service with a CusotmAction?  The Windows Installer 
supports that natively.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yu, Brian
Sent: Thursday, September 11, 2008 09:39
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Wix Service - grant logon rights

How do u grant logon rights to services created by custom actions?

        <CustomAction Id='InstallService' FileKey="IdService"
ExeCommand='/Service' Execute="deferred" Return='check' HideTarget="no"
Impersonate="no"/>

    <InstallExecuteSequence>
      <Custom Action="InstallService" After="InstallFiles" >Not
Installed OR REINSTALL</Custom>
      <RemoveExistingProducts After='InstallFinalize' />
    </InstallExecuteSequence>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to