Probably need to make the Property Secure so it moves from the client to the server during the install process.
-----Original Message----- From: ajay [mailto:[EMAIL PROTECTED] Sent: Friday, November 28, 2008 06:03 To: wix-users@lists.sourceforge.net Subject: [WiX-users] XmlFile element not using updated property value Hi Everybody, I have property to select "Locale" which is then used to update the config file. <Property Id="SETUPLOCALELIST" value="en" /> In the UI for my setup program, I have a dialog that asks the user to update the value of this property from combo box. <ComboBox Property="SETUPLOCALELIST"> <ListItem Text="!(loc.SelectLocaleDlg_LocaleEN)" Value="en" /> <ListItem Text="!(loc.SelectLocaleDlg_LocaleES)" Value="es" /> </ComboBox> <!-SKIP --> <Control Id="LocaleChooseComboBox" Type="ComboBox" ComboList="yes" Property="SETUPLOCALELIST"/> <!-in main wxs --> <XmlFile Id="ConfigSetLocale" Action="setValue" ElementPath="SOME_PATH_HERE" File="[INSTALLLOCATION]MyAppFolder\Web\Web.config" Value="[ SETUPLOCALELIST]"></XmlFile> When the user selects an updated value, I can see that in the installation log file (PROPERTY CHANGE). The problem is that XmlFile is not using the updated value of the property but only the default value. The correct attribute is, in fact, updated in the Web.config file. However, it's updated with the original value of the property, not the value as updated by the user. What do I need to change so that the updated property is used? Is there some magic to the sequencing? Appreciate your help. Ajay -- View this message in context: http://n2.nabble.com/XmlFile-element-not-using-updated-property-value-tp1589332p1589332.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users