[wpkg-users] [Bug 69] New: wpkg.js should setup some variables

bugzilla-daemon at bugs.wpkg.org bugzilla-daemon at bugs.wpkg.org
Thu Jun 14 11:44:04 CEST 2007


http://bugs.wpkg.org/show_bug.cgi?id=69

           Summary: wpkg.js should setup some variables
           Product: WPKG
           Version: 0.9.10
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: wpkg.js
        AssignedTo: mangoo at mch.one.pl
        ReportedBy: mangoo at mch.one.pl
         QAContact: wpkg-users at lists.wpkg.org


wpkg.js should setup some variables when it runs, for example:

WPKG_PROFILE=current_profile


Rationale "Refer to Profile in Install command?" by Matthew Janulewicz sent on
14-Jun-2007:


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.


--- Comment #1 from Tomasz Chmielewski <mangoo at mch.one.pl>  2007-06-14 11:33:14 ---
ping...


--- Comment #2 from Tomasz Chmielewski <mangoo at mch.one.pl>  2007-06-14 11:34:47 ---
pong...


--- Comment #3 from Tomasz Chmielewski <mangoo at mch.one.pl>  2007-06-14 11:37:15 ---
bugzilla was upgraded to the latest version and migrated to a new host - check
mail...


--- Comment #4 from Tomasz Chmielewski <mangoo at mch.one.pl>  2007-06-14 11:44:01 ---
bugzilla was upgraded to the latest version and migrated to a new host - test
mail...


-- 
Configure bugmail: http://bugs.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


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