My installation installs an xml config file with a particular value set to false. Depending on whether a component is installed or not, I need to set this value to true. The config file is similar to the following:
Code: Select all
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<assemblySettings>
<!-- The dataset for audit data-->
<add key="AuditDataset" value=""/>
<!-- Enable the adapter -->
<add key="Adapter" value="false"/>
<!-- Enable logging to the tray icon application -->
<add key="TrayAppLogging" value="true"/>
</assemblySettings>
</configuration>
I have read the post http://www.advancedinstaller.com/forums ... 72&start=0 which suggests that this is possible, however I don't seem to be able to get it to work. I either end up with the line in twice (once set to true and once to false) or overwriting the previous key. Either something is broken or I'm failing to understand correctly - I suspect the latter! Can anyone assist me?
Phil
FOLLOW US
Get the latest news in Application Packaging