Hi,

I have a scenario in which i check for the user rights (whether a standard
user or admin):

i am using something like:

  <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56"
Height="17" Default="yes" Text="!(loc.WixUINext)">
<Condition Message="Message text">Privileged</Condition>
<Publish Property="ALLUSERS" Value="1">INSTALLPREFA = "Every"</Publish>
<Publish Event="NewDialog" Value="MyInstallDirDlg">1</Publish>

However it generates as error
C:\myproject\MyInstallPrefa.wxs(25) : error CNDL0005 : The Publish element
c ontains an unexpected child element 'Condition'.

Can't i check for admin rights inside a <UI> in a custom dialog , kindly
help!!!.

Thanks
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to