/build/static/layout/Breadcrumb_cap_w.png

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

0 Comments   [ + ] Show comments

Answers (2)

Posted by: brenthunter2005 19 years ago
Fifth Degree Brown Belt
0
Custom Action + VBScript would be my preferred method in a managed environment, or a VB exe file in an unmanaged environment.
Posted by: DV150 19 years ago
Yellow Belt
0
Actually decided to do it a slightly quicker way in the end using component conditions that are tied into a public property value. Not sure it's the smoothest solution...but does the job!
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ