Difference between revisions of "WPKG-GP"
From WPKG | Open Source Software Deployment and Distribution
(Improved WPKG package) |
(→Installing with wpkg v2: This is no different to the othe described package) |
||
Line 36: | Line 36: | ||
</source> | </source> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
= External Links = | = External Links = |
Revision as of 09:26, 6 March 2014
This article is a stub. You can help WPKG Wiki by expanding it.
WPKG-GP hooks into the Group Policy Extensions (GPE) interface available in Windows (the one saying "Applying Group Policies" at boot up), and executing wpkg.js, providing some feedback to the user via the interfaces made available by GPE. This gets around the issue in Windows Vista/7, where delayed login is unavailable owing to the way Windows Vista's security architecture is structured.
Installing with wpkg
If you have already installed the standard WPKG Client, you can use a package to replace it with WPKG-GP.
This example installs version 0.16, with a configuration defined through a wpkg-GP.ini file. Then it uninstalls the standard Wpkg Client.
<package id="wpkg-gp" name="Wpkg-GP" revision="%version%">
<variable name="VERSION" value="0.16" />
<variable name="ARCHITECTURE" value="x86" architecture="x86" />
<variable name="ARCHITECTURE" value="x64" architecture="x64" />
<check type="uninstall" condition="versiongreaterorequal" path="Wpkg-GP %version% .*" value="%version%"/>
<!-- Install WPKG-GP -->
<!-- wpkg-gp.ini contains settings such as location of wpkg.js, username/password to connect as, and the %SOFTWARE% environment variable -->
<install cmd="%SOFTWARE%\wpkg-gp\Wpkg-GP-%VERSION%_%ARCHITECTURE%.exe /S /INI %SOFTWARE%\wpkg-gp\Wpkg-GP.ini">
<exit code="3010" reboot="delayed" />
</install>
<!-- Uninstall WPKG Client -->
<install cmd='msiexec /x "%SOFTWARE%\wpkg\WPKG Client 1.3.14-%ARCHITECTURE%.msi" /qn /norestart' />
<upgrade cmd="%SOFTWARE%\wpkg-gp\Wpkg-GP-%VERSION%_%ARCHITECTURE%.exe /S /INI %SOFTWARE%\wpkg-gp\Wpkg-GP.ini">
<exit code="3010" reboot="delayed" />
</upgrade>
</package>