How to easily manage multiple client installs

Got a problem you cannot solve? Try here.
rwgiesel
Posts: 5
Joined: Thu Jul 19, 2007 3:53 pm

How to easily manage multiple client installs

Postby rwgiesel » Mon Jan 07, 2008 10:53 pm

I have an application that I've written that can be customized for different clients. Specifically the name of the application changes from client to client and therefore the title in the setup needs to as well. Also though all the files to install stay the same from client install to client install, there is one application configuration file that needs to be pulled in during the compile from a client-specific folder. This because even though its the same configuration filename, there are different settings from client to client within the file itself.

Right now I'm managing this by opening up my Installaware project, changing the title of the installation package, and pointing to a different application configuration file. Then I move to the next client and change the title again and point to a different configuration file of the same name. However there has GOT to be an easier way to do this.

Any ideas on how I might be able to support multiple client installs such as this without having to do so manually each time? Possibly using command-line parameters?

Thanks,

Rob

Urzzza
Posts: 5
Joined: Mon Nov 26, 2007 1:52 pm

Postby Urzzza » Tue Jan 08, 2008 3:20 am

I have nearly the same problem. My title is constant, but files are different. I also need a solution)

Alex_Ronquillo
Site Admin
Posts: 364
Joined: Mon Jul 30, 2007 11:51 am
Location: USA
Contact:

Postby Alex_Ronquillo » Wed Jan 09, 2008 3:06 pm

rwgiesel,

What you can do is use compiler variables for your title and configuration file. Let's say you want your title to be TestTitle and the configuration file C:\\config\\conf.txt. Then you would set your title field to #TITLEVAR# and your configuration file intallation would be

Code: Select all

Install Files #CONFIGFILE# to $TARGETDIR$
Now you can build your project with any value you want to these compiler variables. In the command line:

Code: Select all

miabuild <Project> TITLEVAR=TestTitle CONFIGFILE=C:\\config\\conf.txt


Urzzza,

Your approach may be a little more complex, but it can also be achieved by the usage of compiler variables
Alejandro Ronquillo
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/


Return to “Technical Support”

Who is online

Users browsing this forum: Google [Bot] and 84 guests