shapla wrote:
             <ServiceInstall Id='service.exe' Account="MyDomain\MyUsername"
Password="mypassword" Name='TestService1' DisplayName='Test service-1' Type='ownProcess' Interactive='yes' Start='auto' Vital='yes' ErrorControl='normal'/>

Interactive services can't be run as a different user. See "ServiceInstall Table" in the MSI SDK or http://msdn2.microsoft.com/en-us/library/ms682450(VS.85).aspx which says:

If this parameter is NULL, *CreateService* uses the LocalSystem account <http://msdn2.microsoft.com/en-us/library/ms684190%28VS.85%29.aspx>. If the service type specifies SERVICE_INTERACTIVE_PROCESS, the service must run in the LocalSystem account.

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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to