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
How to easily manage multiple client installs
-
- Site Admin
- Posts: 364
- Joined: Mon Jul 30, 2007 11:51 am
- Location: USA
- Contact:
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 Now you can build your project with any value you want to these compiler variables. In the command line:
Urzzza,
Your approach may be a little more complex, but it can also be achieved by the usage of compiler variables
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$
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/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Who is online
Users browsing this forum: No registered users and 98 guests