I know that a bug currently exists when using burn that it errors rather
than asking for elevated rights. I thought that then I could add a
condition to prevent setup running is the user is not an admin or if they
have not selected "Run as admin". My attempt follows but I never seem to be
able to get this to evaluate to true regardless of the users rights. Can
anyone tell we what I'm doing wrong with my condition test?

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";
   xmlns:util="http://schemas.microsoft.com/wix/UtilExtension";
   xmlns:bal='http://schemas.microsoft.com/wix/BalExtension'>
  <Bundle Name="My Install" Version="1.0.1.0">
    <bal:Condition Message="You must be an administrator to install this
application">
      NOT (Privileged = 0)
    </bal:Condition>
    <BootstrapperApplicationRef
Id="WixStandardBootstrapperApplication.RtfLicense" />
    <WixVariable Id="WixStdbaLicenseRtf" Value="resources\license.rtf" />
...
etc.
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to