All LocalSystem services run in user session 0. I suspect you're trying to
work around the problem that in Windows Vista and "Longhorn" Server, the
user can't see any UI you create through an interactive service, because
they no longer run in session 0. Interactive services must run as
LocalSystem. Services running as a different security principal run in their
own, separate sessions.
There is no simple solution. You must break your user interface out into a
separate process that runs in the user's logon session (i.e. must be
launched by the user), and use some IPC mechanism to communicate between the
UI and the back-end.
See my blog post
http://mikedimmick.blogspot.com/2006/07/avoid-interactive-services.html for
my take on this, including the problems this already causes on Windows 2000,
XP and 2003, and the Microsoft whitepaper on Windows Vista session 0
isolation at http://www.microsoft.com/whdc/system/vista/services.mspx.
--
Mike Dimmick
_____
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Laxmi Narsimha
Rao Oruganti (SQL CE)
Sent: 12 January 2007 09:55
To: wix-users@lists.sourceforge.net
Cc: SQLCE Sync with Access Feature Team
Subject: [WiX-users] ServiceInstall - Which session does it install
tosession(0)?
[Resending as the earlier one failed to send]
Hey folks,
We are installing a service in our MSI using a WIX element
ServiceInstall.
<ServiceInstall Id="svcssceas.exe" ErrorControl="critical"
Name="SSCEAccessSync" Interactive="no" Start="demand"
Type="ownProcess" Account="LocalSystem" Vital="yes"
Description="SSCE Access Database Synchronizer">
</ServiceInstall>
Can you answer the following please?
1) Does the above WIX code install the service as session(0) service?
2) Can the behavior of this be different if I change Account from
LocalSystem to LocalService?
Thanks,
Laxmi
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users