Hopefully I'm just being stupid and have missed something obvious, but I'm 
having problems with 
decorating a button with the Shield icon (for Vista UAC).  I have 
[EMAIL PROTECTED]"elevated", and on my final "Install" button I have 
[EMAIL PROTECTED]"yes".  This works.  I have the same thing on my "Repair" and 
"Remove" 
buttons but they don't show the shield icon.  Is there something I've missed?  
I've posted the code 
below in case it helps.

This shows the shield graphic:
<Control Id="Install" Type="PushButton" X="$(var.VerifyReadyDlg_Install_X)" 
Y="243" 
Width="$(var.VerifyReadyDlg_Install_Width)" Height="17" Default="yes" 
Text="[ButtonText_Install]" 
ElevationShield="yes">
   <Publish Event="EndDialog" Value="Return"><![CDATA[OutOfDiskSpace <> 
1]]></Publish>
   <Publish Event="SpawnDialog" Value="OutOfRbDiskDlg"><![CDATA[OutOfDiskSpace 
= 1 AND 
OutOfNoRbDiskSpace = 0 AND (PROMPTROLLBACKCOST="P" OR NOT 
PROMPTROLLBACKCOST)]]></Publish>
   <Publish Event="EndDialog" Value="Return"><![CDATA[OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 
AND PROMPTROLLBACKCOST="D"]]></Publish>
   <Publish Event="EnableRollback" Value="False"><![CDATA[OutOfDiskSpace = 1 
AND OutOfNoRbDiskSpace 
= 0 AND PROMPTROLLBACKCOST="D"]]></Publish>
   <Publish Event="SpawnDialog" Value="OutOfDiskDlg"><![CDATA[(OutOfDiskSpace = 
1 AND 
OutOfNoRbDiskSpace = 1) OR (OutOfDiskSpace = 1 AND 
PROMPTROLLBACKCOST="F")]]></Publish>
</Control>

This doesn't:
<Control Id="Repair" Type="PushButton" X="236" Y="243" Width="56" Height="17" 
Default="yes" 
Text="[ButtonText_Repair]" ElevationShield="yes">
   <Publish Event="ReinstallMode" Value="ecmus"><![CDATA[OutOfDiskSpace <> 
1]]></Publish>
   <Publish Event="Reinstall" Value="All"><![CDATA[OutOfDiskSpace <> 
1]]></Publish>
   <Publish Event="EndDialog" Value="Return"><![CDATA[OutOfDiskSpace <> 
1]]></Publish>
   <Publish Event="SpawnDialog" Value="OutOfRbDiskDlg"><![CDATA[OutOfDiskSpace 
= 1 AND 
OutOfNoRbDiskSpace = 0 AND (PROMPTROLLBACKCOST="P" OR NOT 
PROMPTROLLBACKCOST)]]></Publish>
   <Publish Event="EndDialog" Value="Return"><![CDATA[OutOfDiskSpace = 1 AND 
OutOfNoRbDiskSpace = 0 
AND PROMPTROLLBACKCOST="D"]]></Publish>
   <Publish Event="EnableRollback" Value="False"><![CDATA[OutOfDiskSpace = 1 
AND OutOfNoRbDiskSpace 
= 0 AND PROMPTROLLBACKCOST="D"]]></Publish>
   <Publish Event="SpawnDialog" Value="OutOfDiskDlg"><![CDATA[(OutOfDiskSpace = 
1 AND 
OutOfNoRbDiskSpace = 1) OR (OutOfDiskSpace = 1 AND 
PROMPTROLLBACKCOST="F")]]></Publish>
</Control>


Rob


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to