Hey Colin,

Take a look at these links. Unfortunately I don't believe there is a way to
"trigger" the UAC prompt using just the MSI base. Also, there is no way to
add a manifest to an MSI. This can be done for EXEs though. However, you get
into some tough support issues when relying on the EXE to request elevation.

http://msdn.microsoft.com/en-us/library/aa372468(vs.85).aspx
http://blogs.msdn.com/rflaming/archive/2006/09/21/765665.aspx

Hope this helps,
-- 
Brian Rogers
"Intelligence removes complexity." - BR
http://www.codeplex.com/wixml/
On Wed, May 21, 2008 at 3:54 PM, Kelly Leahy <[EMAIL PROTECTED]>
wrote:

>
> I think you need to look at the IsPriveleged property in MSI for your
> check, and theres some way to make the installer require elevation in the
> manifest file.  I'm not sure how to do that though.  You might search for
> UAC manifest MSI or something like that.
>
> Kelly
>
>
>
>   *Colin Bleckner <[EMAIL PROTECTED]>*
>
> Sent by: [EMAIL PROTECTED]
>
> 05/21/2008 03:48 PM
>    To
> "wix-users@lists.sourceforge.net" <wix-users@lists.sourceforge.net>  cc
>   Subject
> [WiX-users] Manually trigger UAC
>
>
>
>
> I'm having problems with my installer and Vista's UAC.  I'm looking for
> a short term solution that I can put in place while I try to figure out
> a real solution.  I'm wondering if anyone knows how to do one of two
> things:
>
> - Manually trigger the UAC in my installer.  I think I have some
> strange timing issues and would like to see if things would work better
> if I trigger the UAC dialog before I start the actual installation begins.
> - If I can't do that, can I create a condition that prevents my
> installer from running if it's not running in an elevated mode?  This
> obviously isn't ideal, but it's better than a broken installer.
>
> Thanks for any tips,
> Colin
>
> -------------------------------------------------------------------------
> 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
>
>
>
>
> **************************************************************************************
> This communication is intended solely for the addressee and is
> confidential. If you are not the intended recipient, any disclosure,
> copying, distribution or any action taken or omitted to be taken in
> reliance on it, is prohibited and may be unlawful. Unless indicated
> to the contrary: it does not constitute professional advice or opinions
> upon which reliance may be made by the addressee or any other party,
> and it should be considered to be a work in progress. Unless otherwise
> noted in this email or its attachments, this communication does not form
> a Statement of Actuarial Opinion under American Academy of Actuaries
> guidelines.
>
> **************************************************************************************
> -------------------------------------------------------------------------
> 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
>
-------------------------------------------------------------------------
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

Reply via email to