Difference between revisions of "Wpkg.js"
From WPKG | Open Source Software Deployment and Distribution
Line 9: | Line 9: | ||
− | It assumes that [[hosts.xml]], [[packages.xml]] and [[profiles.xml]] configuration files exist in the same directory as '''wpkg.js''' (in our example, it would be '''\\path\to\'''. | + | It assumes that [[hosts.xml]], [[packages.xml]] and [[profiles.xml]] configuration files exist in the same directory as '''wpkg.js''' (in our example, it would be '''\\path\to\'''). |
For a list of [[WPKG flags]], see [[WPKG flags|this page]]. | For a list of [[WPKG flags]], see [[WPKG flags|this page]]. |
Revision as of 21:39, 24 June 2005
wpkg.js is the most important file of WPKG.
You can call it a "WPKG engine".
It has to be executed with cscript.exe (a command-line version of the Windows Script Host) or wscript.exe (the Windows-based script host) like below:
cscript \\path\to\wpkg.js [flags]
It assumes that hosts.xml, packages.xml and profiles.xml configuration files exist in the same directory as wpkg.js (in our example, it would be \\path\to\).
For a list of WPKG flags, see this page.