Using the UAC shield is completely up to you not WIX.  Since WIX is just the 
development environment, the job of following guidelines falls to the user.  
The WIX compiler can try to guide you down the right path, but it should not 
force you to do any one thing.  The Button control XML has an option called 
"ElevationShield" which needs to be enabled to show the icon.

It is always best to enable this when you require elevated rights as this is 
the key indicator to the user the install makes changes to protected areas of 
the OS.

Mat Skildum


-----Original Message-----
From: Bruce Cran [mailto:br...@cran.org.uk] 
Sent: Thursday, March 24, 2011 8:19 AM
To: General discussion for Windows Installer XML toolset.
Cc: Skildum, Mathew
Subject: Re: [WiX-users] Query about use of UAC shield on Install button

On Thu, 24 Mar 2011 13:07:30 +0000
"Skildum, Mathew" <mathew.skil...@aspect.com> wrote:

> This is actually a function of MSI not WIX.  WIX is just the mechanism 
> to build the MSI where the rules are enforced.
> 
> MSI does follow these guidelines as far as I know.  When you put the 
> UAC shield on a button that does not mean the elevation request will 
> happen right away.  MSI does this request in the execute sequence 
> before the any files are copied or deferred actions are run as this is 
> the time when elevation is required.

But as I understand it, it's WiX that controls whether or not the button has 
the shield icon: I'm wondering if it should use the shield icon on the button 
at all if the elevation request doesn't happen straight away.  I'm tending 
towards yes, since it's a sign that the action that will occur will need to run 
as Administrator.

--
Bruce Cran

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to