I have a question about the XmlConfig custom action. My application is a
.NET application, and is deployed with an application.exe.config file.
Based on properties gathered during the installation, I want to update
the values in the config file. Here's the relevant portion of my config
file.

 

<configuration>

  <databaseSettings server="" databaseName="" userName="" password="" />

</configuration>

 

The only way I can get XmlConfig to work is to delete the
<databaseSettings /> element and re-add it, then add the attributes to
the recreated element. Do I have to do it this way, or is there some
syntactic magic I don't yet know to get XmlConfig to write the
attributes directly?

 

N.B., I'm using a custom configuration handler in my application to read
and write these elements so it is correct that the do not exist as a
child of appSettings, and no, I'm not storing the password in plain
text.

 

--Jim Evans

Numara Software, Inc.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to