I'll add an extra followup here to say that you might get a surprise running
interactive services on Windows Vista and Windows Server 2008: you won't see
the UI. Session 0, in which services run, is now completely isolated. In
earlier versions of Windows, the first user logging on at the console got
session 0; now the first user logging on gets session 1. Interactive
services can talk to each other, but they can't talk to the user. This was
done to mitigate so-called 'shatter' attacks.
For more details see
http://www.microsoft.com/whdc/system/vista/services.mspx.
I'm afraid you (and me!) have some redesign work to do.
This is not new, really. If you were using remote desktop to interact with
your service, you'd only have been able to do it from the console session
(using mstsc /console on Windows Server 2003). Windows 2000 does not offer a
way to connect to the console session as far as I know. It also wouldn't
have worked for subsequent users logging on through Fast User Switching on
Windows XP.
--
Mike Dimmick
_____
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob Arnson
Sent: 19 January 2008 02:04
To: shapla
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Installing Windows services using Existing user
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.
-------------------------------------------------------------------------
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