Alexei,
Thanks - it does verify that I'm on the right path...

I'm pretty sure I've qot the combo box stuff working.  As I said, I did wire
up another dialog box to display the result of the user's edits and they
seem to be carried through.

The problem occurs elsewhere in the xml where I try to use one of the
properties who's value's been changed from the default in the user element.

<User Id="OAPSqlUser" Name="[USERNAME]"  Password="[SQLPASSWORD]"/>

This is a child of the <product ... > element.  And here the Property values
are resolved to their original default settings rather than to the new
values that were input by the user in the Config Dialog.

--paulm



I'm not entirely sure what you are trying to do, but as far as I can tell
you wish to let the user set up a username and a password for the db. And
the username and date are to be retrieved from the UI.
The way would do it would be to attach the editbox element with a public
property, say USERNAME, then use (like you are doing) the [USERNAME] (value
of USERNAME).




Paul.Madden wrote:
> 
> I'm working on a Wix installer that has two parts.
> 
> A library with a customized FeatureTree UI.
> 
> And a "main" part that's a .wxo file produced from one Wix xml file.
> 
> The two are linked together with light to make the .msi file.
> 
> I want some of the installation parameters to be configurable - like 
> database usernames and passwords.
> 
> So I have a dialog box with some combo box controls that let the user 
> enter whatever he/she would like for these.
> 
> The combo box controls are initialized with Property values that are, in 
> turn, initialized with "default" values.
> 
> This all seems to work fine within the confines of the library.
> 
> But when I try to use one of the username or password Property values in 
> the "main" module I only get the default values.
> 
> It's acting like this tag
> 
>     <User Id="OAPSqlUser" Name="[WixUI_ConfigDlg_OAPUser]" 
> Password="[WixUI_ConfigDlg_OAPPwd]"/>
> 
> resolves the Property values at "link time" rather than "run-time" - after 
> their values have been changed by the user's interaction with the Dialog 
> box controls.
> 
> Anybody done this kind of thing successfully?
> 
> --paulm
> 

-- 
View this message in context: 
http://www.nabble.com/Wix-Property-Values-tf4208227.html#a11985910
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to