I'm pretty new to InstallAware and work now with X2. So far I'm very impressed and could already build up a first simple installer. However, for my application I want to set the connection string in the app.config file (which is actually an xml-file, utf-8 encoded). I try using the tool to edit xml files. The file looks sth like this:
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<configuration>
...
<connectionStrings>
<add name="Hplc_resultsConnection" connectionString="server=$SERVER$;user id=$USER$;password=$PASSWORD$;persistsecurityinfo=False;database=$DATABASE$" providerName="MySql.Data.MySqlClient" />
</connectionStrings>
</configuration>
I use the edit XML file to apply those changes. As path I entered \configuration\connectionStrings. Are the values entered in the dialog ok to achieve this?
Server, User, Password and Database I would read out from a dialog with corresponding textboxes. I tried to find a solution here but tere was no luck.
Ueli