I created a custom dialog box. Its along the lines of a another dialog box
(copy one from the WixUI) and just add a username and password field and two
properties, one to hold each one. If you're still having problems with this,
let me know (I'm actually working on a password checker right now for a
service, so If I can strip out the private info, I'll post it when I'm done)
The combo box problem as to do with your ListItem values. That value is what is
assigned to your property, which is probably why its coming out
Production.Config. Its because that is what you have in your value. If you
remove the highlighted in red text it should work.
<Control Id="Config" Type="ComboBox" X="20" Y="75" Width="150" Height="18"
Property="SERVICECONFIG" Text="[SERVICECONFIG]" ComboList="yes">
<ComboBox Property="SERVICECONFIG"
xmlns="http://schemas.microsoft.com/wix/2003/01/wi">
<ListItem Text="production" Value="production.config" />
<ListItem Text="qa" Value="qa.config" />
</ComboBox>
</Control>
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Baker
Sent: Wednesday, June 27, 2007 11:12 AM
To: wix-users@lists.sourceforge.net; wix-users@lists.sourceforge.net;
wix-users@lists.sourceforge.net
Subject: [WiX-users] Custom Service Registration Dialog - ComboBox type control
hi all,
i am writing a wix install which will register a service. i have used wix for a
while but never had to register a service with it. I have the ServiceInstall
element all setup and am using public properties for the user name and
password. I would like to put a GUI on top of this so the user can enter this
information in. I have read a few threads that mention people having written
custom dialogs for this. I was wondering if there are any publicly available
(it seems like such a common thing to do)
i am also trying to write a custom dialog that uses a control of type combo
box. i would like the user to select something along the lines of "QA" or
"Production" and have a public property set to a value that is different than
what the user chose. I tried this thinking it would work:
<Control Id="Config" Type="ComboBox" X="20" Y="75" Width="150" Height="18"
Property="SERVICECONFIG" Text="[SERVICECONFIG]" ComboList="yes">
<ComboBox Property="SERVICECONFIG"
xmlns="http://schemas.microsoft.com/wix/2003/01/wi">
<ListItem Text="production" Value="production.config" />
<ListItem Text="qa" Value="qa.config" />
</ComboBox>
</Control>
but when i tested it and selected "production" the value put in the edit field
of the drop down said production.config :P. not really what i was hoping for.
is there a good link i can read about how to get comboboxes setup in msi, i
have read the wix docs and msi docs and am still missing something :(
thanks,
steve
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users