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.
-----Original Message----- From: Rob Mensching [mailto:rob.mensch...@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 of your install. -----Original Message----- From: Jeremy Lew [mailto:j...@liquidmachines.com] Sent: Wednesday, January 07, 2009 10:04 To: General discussion for Windows Installer 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: Wednesday, January 07, 2009 12:56 PM To: General discussion 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 stackoverflow: http://stackoverflow.com/questions/304353/mark-msi-so-it-has-to-be-run-a s-elevated-administrator-account Wondering whether, since DTF custom actions run out-of-proc, I could just add the correct manifest to the CustomAction.config file and it would always be forced to execute elevated? I'm going to give it a try, but if anyone knows better, please speak up. Thanks, Jeremy ------------------------------------------------------------------------ ------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------ ------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------ ------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users