Remove the Condition elements in the code you pasted.

That will however enable the Browse button for all Features regardless
of installation status. To selectively enable it for Features which
haven't been installed yet and disable it for those which have you'll
have to modify the inner text of the 2 conditions accordingly. I've no
idea which Properties you'd even begin to look at in this case & I
suspect it's not an easy thing to write.

Good Luck.


Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer
-----Original Message-----
From: Piotr Fusik [mailto:pi...@fusik.info] 
Sent: 02 December 2009 08:10
To: WiX
Subject: [WiX-users] Missing "Browse" button in "Change" mode

Hello,

My setup uses a slightly modified WixUI_FeatureTree and contains
features which must be installed into different directories, some of
which must be selected by the user.

The problem is in the "Change" mode - the user cannot change default
directories for features which he/she wants to add because there's no
Browse button:

<Control Id="Browse" Type="PushButton" X="294" Y="210" Width="66" 
Height="17" Text="!(loc.CustomizeDlgBrowse)">
        <Publish Event="SelectionBrowse" Value="BrowseDlg">1</Publish>
        <Condition Action="hide">Installed</Condition>
        <Condition Action="disable">Installed</Condition>
</Control>

Is there any way to overcome this limitation?

Piotr

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to