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

0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


Custom Action + VBScript would be my preferred method in a managed environment, or a VB exe file in an unmanaged environment.
Answered 03/14/2005 by: brenthunter2005
Fifth Degree Brown Belt

Please log in to comment
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!
Answered 03/14/2005 by: DV150
Yellow Belt

Please log in to comment