Pass a Public Property to a value inside a config file
Hi,
I'm trying to figure out a simple way of doing the following...any ideas?
I have a server path sitting inside the configuration file of an application.
I want to be able to switch this as and when I need from the msi install line so from one install we can point the application to different servers
The config file is NOT in an ini file format so the simple solution of defining a public property as "SERVERNAME=SQLSERVER****" and setting the ini file value to "[SERVERNAME]" will not work.
I'm thinking about calling a script via a custom action that parses through the config file and drops in the servername from a public property...is there a simpler way to do this? I'm using Wise Studio Professional 5.1
Cheers
I'm trying to figure out a simple way of doing the following...any ideas?
I have a server path sitting inside the configuration file of an application.
I want to be able to switch this as and when I need from the msi install line so from one install we can point the application to different servers
The config file is NOT in an ini file format so the simple solution of defining a public property as "SERVERNAME=SQLSERVER****" and setting the ini file value to "[SERVERNAME]" will not work.
I'm thinking about calling a script via a custom action that parses through the config file and drops in the servername from a public property...is there a simpler way to do this? I'm using Wise Studio Professional 5.1
Cheers
0 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
brenthunter2005
19 years ago
Posted by:
DV150
19 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.