<quote>

trying to run my setup as a "non admin" on Vista Beta 2(5384).

I get the following error (access denied) while trying
to install my windows service as a ***non admin*** -

"SchedServiceConfig: Error 0x80070005: failed to get handle to SCM"

I get no error when I am logged as ***admin*** on Vista

How do I elevate my priviledges and install the service
as localsystem ?

</quote>

I do not read this as a User Account Control (UAC) issue. But you just logged 
on as a normal user - not logged on as a administrator with UAC. Installing a 
service requires [Privileged] property set by the msi engine. (Not [Admin] 
property). Whether it is in Vista or XP, normal user cannot install services 
without administrative privileges. 

[Privileged] property will be set 

1. If you are logged on as one of administrative accounts, it would be set even 
if UAC is enabled.
2. Group policy explicitly allows non-admin users to allow privileged 
installation for MSI.

I advise you add a launch condition for your wix file testing for [Privileged] 
property is set.

<quote>
"SchedServiceConfig: Error 0x80070005: failed to get handle to SCM"
</quote>

Still, this is interesting. SchedServiceConfig is an immediate action. If 
immediate custom action or impersonating deferred custom action use 
administrative privileges, UAC may interfere in Vista, doesn't it?

Regards,

Chesong Lee

-----Original Message-----
From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 14, 2006 2:07 AM
To: Bahar Shah
Cc: wix-users@lists.sourceforge.net; Chesong Lee
Subject: Re: [WiX-users] Vista -Error in SchedServiceConfig

Bahar Shah wrote:
> Should I assume this to be an Vista specfic issue ?
Very likely. Can you open a bug at 
http://sourceforge.net/tracker/?group_id=105970&atid=642714, preferably 
attaching an .msi that reproduces the problem?

-- 
sig://boB
http://bobs.org


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to