Hello,

I am using <XmlFile /> to modify the .config file for an installed application using several lines like the following:

 

<XmlFile Id="exampleid0" ElementPath="/configuration/appSettings/[EMAIL PROTECTED]'examplekey0'[\]]" File="[#example.exe.config]" Action="" Name="value" Value="[propertyName]" />

 

where propertyName is a property I have set using a control in a custom dialog:

 

<Control Id="exampleid1" Type="Edit" X="45" Y="85" Width="220" Height="15" Property="propertyName" />

 

Logging confirms that the property is being set properly, but the file has the values set to a null string. I believe this happens because WixCA is a deferred custom action and so does not have access to this property, but I don’t know how best to work around this besides modifying XmlFile.cpp. I can do that if necessary, but I suspect there’s a better way to accomplish this. Can I pass parameters to the XmlFile custom action like this?

 

Thanks for your input.

 

Darren Kulp

WAUSAU

[EMAIL PROTECTED]

CONFIDENTIALITY NOTICE:  This electronic transmission (including files attached hereto) is intended only for the use of the individual or entity named above.  If the reader of this message is not the intended recipient, you are hereby notified that any disclosure, dissemination, copying, distribution or taking of any action in reliance on the contents of this confidential information is strictly prohibited.  If you have received this communication in error, please destroy it and immediately notify us by return email.  Thank you.

 

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to