2 ways you could achieve this off the top of my head.

1 - Use WiXUI_InstallDir (or whatever the WiXAware equivalent is)
instead of WiXUI_Mondo/WiXUI_FeatureTree or whichever UI is using the
SelectionTree control. You can then author a second dialog page after
the InstallDirDlg to configure the LOG_DIRECTORY in the same way as
INSTALLDIR.

2 - As above but modify the InstallDirDlg to have a second PathEdit
control (with all the same extras as the original one) for the user to
set your LOG_DIRECTORY instead of using a 2nd dialog.

In either case I'd advise reading the following article on customizing
the WiXUI written by regular list contributor Neil Sleigtholm ->
http://neilsleightholm.blogspot.com/2008/08/customised-uis-for-wix.html
You may also want to see the following pages if you haven't already ->
http://www.tramontana.co.hu/wix/lesson2.php#2.3 &
http://wix.sourceforge.net/manual-wix3/WixUI_index.htm

Personally I've never used WiXAware & have no intention to (I'm of the
opinion that WiX code is so simple to author as is without any extra
'tools' but I'm a C++/C# developer too) so any of my advice could be
completely inappropriate in this case. Votive (the WiX Visual Studio
'plug-in') is pretty awesome in WiX 3.0 & can be used with either the
freely downloadable Visual Studio 2008 IDE only install or the Visual
Studio Express Editions (also freely downloadable) if you don't have
Visual Studio 2005/2008.


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: Michael Nemoy [mailto:micha...@sintecmedia.com] 
Sent: 15 November 2009 11:02
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Browse issue in our installation

Hello everyone

We recently jumped into WiX world!
We're using also WiXAware application for design.

Problem:
We're trying to let the user edit 2 paths: INSTALLDIR and LOG_DIRECTORY,
We have a text control and a browse button for each.
When using a browse button that sends a SelectionBrowse event, the
SelectionTreeControl opens a browse dialog and sends a SelectionPath
event according to the user's choice.
The problem is that we need INSTALLDIR and LOG_DIRECTORY to have
different values but when using the dialog both properties change
because they are both affected by the SelectionPath event.

Another related problem is, that we want to be able to use the browse
dialog without the SelectionTree control because we only have one
feature in this installation so there is no need for it.


Thank you
Michael

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to