Re: [WiX-users] Privileged custom actions

2009-01-09 Thread Rob Mensching
: [WiX-users] Privileged custom actions Thanks, tried that but it's failing like so: ExecSecureObjects: Error 0x80070424: failed to get security info for object: KeyService That error message code is "The specified service does not exist as an installed service." Now, &quo

Re: [WiX-users] Privileged custom actions

2009-01-09 Thread Jeremy Lew
hrough custom action data, and that this is a bug. -Original Message- From: Bob Arnson [mailto:b...@joyofsetup.com] Sent: Thursday, January 08, 2009 1:26 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Privileged custom actions Jeremy Lew wrote: > T

Re: [WiX-users] Privileged custom actions

2009-01-08 Thread Bob Arnson
Jeremy Lew wrote: > The service is not installed in the GAC. I was researching #2 already > but haven't yet been able to figure out how to set service-specific > permissions using Permission. > PermissionEx as a child of ServiceInstall. (The stock LockPermissions table doesn't support service

Re: [WiX-users] Privileged custom actions

2009-01-08 Thread Jeremy Lew
PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Privileged custom actions Jeremy Lew wrote: > I hear you, but it doesn't look like I have much choice. If the service > fails to start, I need to either instruct the user to start it from the > contro

Re: [WiX-users] Privileged custom actions

2009-01-07 Thread Bob Arnson
Jeremy Lew wrote: > I hear you, but it doesn't look like I have much choice. If the service > fails to start, I need to either instruct the user to start it from the > control panel, or force a reboot. Both of those options are pretty icky > as well. > First, I doubt it'll work: MSI runs as a

Re: [WiX-users] Privileged custom actions

2009-01-07 Thread Jeremy Lew
ensch...@microsoft.com] Sent: Wednesday, January 07, 2009 1:33 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Privileged custom actions Maybe but if it works the user experience is kinda' icky. You'll get another elevation prompt at the end

Re: [WiX-users] Privileged custom actions

2009-01-07 Thread Rob Mensching
taller XML toolset. Subject: Re: [WiX-users] Privileged custom actions Sorry, that was not entirely coherent. What I meant was, is it possible for me to specify a manifest for the DTF process to force elevated priveleges? -Original Message- From: Jeremy Lew [mailto:j...@liquidmachines.com] Sent:

Re: [WiX-users] Privileged custom actions

2009-01-07 Thread Jeremy Lew
for Windows Installer XML toolset. Subject: [WiX-users] Privileged custom actions In the thread titled "ServiceInstall Fails due to CRT", Bob mentions that custom actions running after InstallFinalize will run in an non-elevated context. I ran across this article on stackoverf

[WiX-users] Privileged custom actions

2009-01-07 Thread Jeremy Lew
In the thread titled "ServiceInstall Fails due to CRT", Bob mentions that custom actions running after InstallFinalize will run in an non-elevated context. I ran across this article on stackoverflow: http://stackoverflow.com/questions/304353/mark-msi-so-it-has-to-be-run-a s-elevated-administrator