Quantcast
Channel: Flexera Community Forums
Viewing all articles
Browse latest Browse all 4553

How do I update xml connection string with input from user at installation time?

$
0
0
Hi,
In my installation I prompt the user for server IP.
How do I put that information into an xml file?
I tried using the XML File Changes feature but I found it confusing and difficult to use.
Below is the content of the xml file I'm using. I want to replace (local); with the server IP.

Any help will be much appreciated.


<?xml version="1.0" encoding="utf-16" ?>
- <Properties xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Verbose>true</Verbose>
<Wait>false</Wait>
<Provider>SQLServer</Provider>
<ConnectionString>Data Source=(local);Initial Catalog=DashboardLibrary;Trusted_Connection=True;</ConnectionString>
<VersionTable>db_schema</VersionTable>
<VersionScriptsFolder>.\Schema\DashboardLibrary</VersionScriptsFolder>
</Properties>

Viewing all articles
Browse latest Browse all 4553

Trending Articles