Difference between revisions of "Wpkg.js"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
Line 16: Line 16:
  
 
Windows Host Script can be downloaded from [http://www.microsoft.com/downloads/details.aspx?familyid=c717d943-7e4b-4622-86eb-95a22b832caa&languageid=f49e8428-7071-4979-8a67-3cffcb0c2524&displaylang=en this page] - although it should be in your system if you use Windows XP or Windows 2003.
 
Windows Host Script can be downloaded from [http://www.microsoft.com/downloads/details.aspx?familyid=c717d943-7e4b-4622-86eb-95a22b832caa&languageid=f49e8428-7071-4979-8a67-3cffcb0c2524&displaylang=en this page] - although it should be in your system if you use Windows XP or Windows 2003.
 +
If you have Windows 2000, the version of the Windows Host Script you have is too old and you should download it from the site above.

Revision as of 10:33, 25 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.


Windows Host Script can be downloaded from this page - although it should be in your system if you use Windows XP or Windows 2003. If you have Windows 2000, the version of the Windows Host Script you have is too old and you should download it from the site above.