[wpkg-users] Fwd: Refer to Profile in Install command?
Tomasz Chmielewski
mangoo at wpkg.org
Thu Jun 14 11:05:31 CEST 2007
I'm forwarding this email, as the author has problems getting it to the
list:
We use .msi installers to deploy all our internal/production software.
We have a need to run all our .msi's in several different environments
with a parameter passed in on the command line that represents the type
of environment we are installing to. Like this:
Msiexec /i myinstaller.msi /qb TARGET_ENVIRONMENT=QA
Msiexec /i myinstaller.msi /qb TARGET_ENVIRONMENT=DEV
Msiexec /i myinstaller.msi /qb TARGET_ENVIRONMENT=PRODUCTION
My thought was to use different profiles for each type of environment
and associate them with hosts.
We have hundreds of installers and use a small batch command to run
through them in groups, but I still need a way to pass in the
TARGET_ENVIRONMENT setting each time.
Is there a way to refer to a profile name in other sections of WPKG? I'd
like to be able to do something like this:
Msiexec /i myinstaller.msi /qb TARGET_ENVIRONMENT=$(current.profile)
... so the command can be as generic as possible.
Thanks! Awesome program, by the way!
----------
Matthew Janulewicz
SCM Engineer
Green Dot Corporation
Matthew.Janulewicz at nextestate.com
(626) 775-3857
wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users
More information about the wpkg-users
mailing list