Has this been solved? My first guess is that your "SomeServerUrl" property
needs to be a public property (ALL CAPS) and may marked "Secure='yes'" to be
able to be passed to the server side of the Windows Installer.
From: [hidden email] [mailto:[hidden email]] On Behalf Of Jagnow, Dan
Sent: Tuesday, September 13, 2005 10:04 AM
To: [hidden email] Subject: [WiX-users] XmlFile element, updated property value
I've installed WiX from votive-2.0.3309.0.msi, and I'm trying to use the
XmlFile element to update my configuration file. I have a property
similar to this in my main WXS template:
As anticipated, the initial value of the textbox is
"http://SOMESERVER.mydomain.com" when stepping through the installation
process. At one point in time I inserted a control in a later dialog to
verify that the value of the SomeServerUrl property had been updated.
The updated value did appear in the dialog, so I know that Windows
Installer knows about the change somewhere.
The problem is that XmlFile is not using the updated value of the
property. I have an element something like this inside one of my
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. I had the same problem when I was trying
to develop a VBScript custom action as a stopgap measure until XmlFile
What do I need to change so that the updated property is used? Is there
some magic to the sequencing? Any help would be appreciated.
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________
WiX-users mailing list
[hidden email] https://lists.sourceforge.net/lists/listinfo/wix-users
> Has this been solved? My first guess is that your "SomeServerUrl"
> property needs to be a public property (ALL CAPS) and may marked
> "Secure='yes'" to be able to be passed to the server side of the
> Windows Installer.
Bob Arnson replied to this and advised me to change the property name to
all caps so it would be a public property. That change fixed it, and
XmlFile is now updating my Web.config with a value entered by the user
in the installer UI.