|
Sorry about the confusion. Maybe I didn’t clarify
something that would have helped you help me. I was asking about any method, means,
or example by which I could implement multiple browse buttons. Below is a copy
of my question. > 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. As for your reply, I tried that in so many ways and the main
problem I kept running into was that when I browsed and changed one (INSTALLDIR
or OTHERVAR), it would change the other variable’s display also. The
actual variable would be correct, but I couldn’t ever get the text to
display to the user to show the correct value. They both displayed the last
value, no matter which one I tried to change. The example UI code shows doing a
<subscribe…/> on the text box, so I did that on both; hence my
problem. In my solution, I don’t have any subscribes for the text boxes. Now that I’ve got it, your reply is becomes intuitive.
Prior to that, I couldn’t find anything that made sense to me. That I
attribute to being new to WIX; hence, my own short coming. During my search, I learned that I wasn’t the only one
trying to figure out how to do this. That’s why I wanted to post it so
that others could benefit from it. To me, it shows the differences between the
default browse and what you have to change (or add would be more correct) to
get the desired multiples. I wish more people would post examples that would
help ID the diffs and assume that the receiver (present and future) has minimal
to no knowledge. Bless them for their efforts, but sometimes it just doesn’t
clear the muddy water. IMHO, this example is one that should be used/distributed in
the manual or sample code, assuming there isn’t some gotcha that I haven’t
learned of yet. Many thanks for the help of all the wix users and this mail
list. Without it I would be lost with all of it. I hope to see it continue to
grow, in both popularity and capability. Thanks LG From: Bob Arnson [mailto: Lee Gavitt wrote: I’ve been looking for a means to provide two,
or more, browse buttons in a single dialog box. I’ve found everything
from confusing explanations to you can’t do it to some long way around a
short barn of modifying INSTALLDIR. I'm still confused -- I thought you were asking about
using a SelectionTree control? Using the WixUI BrowseDlg dialog for multiple
directories just requires setting the _BrowseProperty property before executing
a SpawnDialog control event. -- sig://boBhttp://bobs.org |
------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users

