I am having trouble modifying my web.config with a value from a dialog.
I have a property in a dialog. <Control Id="LicenseServer" Type="Edit" X="20" Y="100" Width="320" Height="18" Property="LICENSESERVERNAME" Text="[LICENSESERVERNAME]" /> And i need to get it into my util:XmlFile changer so i can set the value of my config setting to a dialog entry. <Component Id="EditWebConfig" Guid="843627EF-94B6-4A55-A895-9E52116AD5DF" KeyPath="yes" Directory="WEBSERVICES"> <util:XmlFile Id="UpdateAddLicenseServiceConnectString" Action="setValue" ElementPath="/configuration/appSettings/add[...@key='License_Database_Co nnectString'[\]]/@value" File="[WEBSERVICES]Web.config" Value="[LICENSE_CONNECT_STRING]" /> </Component> I have a custom action to parse a formatted string property so i can build up a connect string. <CustomAction Id="SET_LICENSE_CONNECT_STRING" Property="LICENSE_CONNECT_STRING" Value="Data Source=[LICENSESERVERNAME]\[LICENSESERVERINSTANCENAME];Initial Catalog=License;User ID=sa;Password=??????\#;MultipleActiveResultSets=True" /> But it would appear that the string gets parsed before my dialog gets populated. My web.config entry is effected, but it is set to a blank string "". Does anybody know the best way to get a text control from a dialog into a config file? Would appreciate the help. Cheers. ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users