Is there anyone who has done this that can shoot me an example? I've seen
the results of it being done and I'm certain it can be done, but I'm just
having difficulty in getting there.

In short, I'm looking for multiple browse buttons in one dialog with an
updated text to provide feedback to the user. My desired end result will
have 4-5 browse buttons in one dialog, each with their own feedback text. My
'feedback' terminology may be incorrect or confusing, so the best example I
can provide is the label, location, and browse button in the '
CustomizeDlg.wxs'. Multiply that by say 4. Eventually, I want the variables
to be registry smart, but I'll worry about that later. I think I have a
handle on that.


Thanks



-----Original Message-----
From: Rob Mensching [mailto:[EMAIL PROTECTED] 
Sent: Saturday, August 19, 2006 6:22 PM
To: 'lgavitt'
Subject: RE: WIX Question

You should contact the [EMAIL PROTECTED]  There are far more
people that can help you there.  I'm not actually very experience with the
UI.


-----Original Message-----
From: Nobody [mailto:[EMAIL PROTECTED] On Behalf Of
lgavitt
Sent: Friday, August 18, 2006 19:39
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: WIX Question


Message body follows:

I've been trying to become accustome to the WIX toolset and have done fairly
well, IMHO. I've run into a problem that I'm hoping you can help me with.
I've looked everywhere trying to find the answer and I've tried all kind a
thing to get it working. In short, I'm just plain stuck.

I'm trying to modify the CustomizeDlg.wxs file to allow the user to change
both the INSTALLDIR and another DIR, say 'OTHERDIR'. OTHERDIR could be
located anywhere, just like INSTALLDIR. Under OTHERDIR, I would build a
seperate tree. I've gotten it to individually do the browse and modiy both
INSTALLDIR and the OTHERDIR, but I can't get it to update the location text
box, seperately from the INSTALLDIR location text box. The <Subscribe
Event="SelectionPath" Attribute="Text"/> affects both location text boxes.

Is there anyway you can help me with an example.

Here is a small jist of what I've been working with:
        <Control Id="Location" Type="Text" X="90" Y="191"
Width="215" Height="20" Text="$(loc.CustomizeDlgLocation)">
          <Subscribe Event="SelectionPath"
Attribute="Text"/>
          <Subscribe Event="SelectionPathOn"
Attribute="Visible" />
          <Condition Action="hide">Installed</Condition>
          <Condition Action="disable">DoRoot</Condition>
        </Control>
        <Control Id="LocationLabel" Type="Text" X="25"
Y="191" Width="65" Height="10"
Text="$(loc.CustomizeDlgLocationLabel)">
          <Subscribe Event="SelectionPathOn"
Attribute="Visible" />
          <Condition Action="hide">Installed</Condition>
        </Control>
        <Control Id="Browse" Type="PushButton" X="304"
Y="191" Width="56" Height="17"
Text="$(loc.CustomizeDlgBrowse)">
                  <Publish Property="_BrowseProperty"
Value="INSTALLDIR">1</Publish>
                  <Publish Event="SelectionBrowse"
Value="BrowseDlg">1</Publish>
          <Condition Action="hide">Installed</Condition>
          <Condition Action="disable">Installed</Condition>
        </Control>



        <Control Id="OtherLocation" Type="Text" X="90"
Y="210" Width="215" Height="20" Text="[OTHERDIR]">
          <Subscribe Event="SelectionPath"
Attribute="Text" />
          <Subscribe Event="SelectionPathOn"
Attribute="Visible" />
          <Condition Action="hide">Installed</Condition>
          <Condition Action="disable">NOT DoRoot</Condition>
        </Control>
        <Control Id="OtherLocationLabel" Type="Text"
X="25" Y="210" Width="65" Height="10"
Text="$(loc.CustomizeDlgLocationLabel)">
          <Subscribe Event="SelectionPathOn"
Attribute="Visible" />
          <Condition Action="hide">Installed</Condition>
        </Control>

        <Control Id="OtherBrowse" Type="PushButton"
X="304" Y="210" Width="56" Height="17"
Text="$(loc.CustomizeDlgBrowse)">
                        <Publish
Property="_BrowseProperty" Value="OTHERDIR">1</Publish>
                        <Publish Event="SelectionBrowse"
Value="BrowseDlg">1</Publish>
          <Condition Action="hide">Installed</Condition>
          <Condition Action="disable">Installed</Condition>
        </Control>



Many thanks....
LG
other email address is [EMAIL PROTECTED] or [EMAIL PROTECTED]



--
This message has been sent to you, a registered SourceForge.net user, by
another site user, through the SourceForge.net site.  This message has been
delivered to your SourceForge.net mail alias.  You may reply to this message
using the "Reply" feature of your email client, or using the messaging
facility of SourceForge.net at:
https://sourceforge.net/sendmessage.php?touser=1049515





-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to