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).

However I haven't ever done this with a ComboBox, perhaps you should try
using the Edit element.
e.g.:
<Control Type="Edit" Width="189" Height="15" X="10" Y="90"
Id="edtServiceName" Property="USERNAME" />

The resolution of the text should be fine, as far as I can tell. Mind you, I
only ever used dialogs that were a part of the msi - not part of a library.

Hope that helps,
Lex


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#a11981487
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