WPKG meta package for WPKG on iPasserelle
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
<?xml version="1.0" encoding="UTF-8"?>
<packages >
<package id= "wpkg"
name="WPKG Client"
revision="2"
reboot="false"
priority="95">
<variable name= "PKG_VERSION" value= "0.1" />
<check type= "registry" condition= "equals" path= "HKLM\SOFTWARE\Policies\Microsoft\Windows\System\Scripts\Shutdown\0\0\Script" value= "wpkg.bat" />
<check type= "file" condition= "exists" path= "%SYSTEMROOT%\system32\GroupPolicy\Machine\Scripts\Shutdown\wpkg.bat" />
<install cmd= '%COMSPEC% /C if not exist %SYSTEMROOT%\system32\GroupPolicy\Machine\Scripts\Shutdown mkdir %SYSTEMROOT%\system32\GroupPolicy\Machine\Scripts\Shutdown' />
<install cmd= 'xcopy /Y %SETTINGS%\wpkg\wpkg.bat %SYSTEMROOT%\system32\GroupPolicy\Machine\Scripts\Shutdown\' />
<install cmd= '%COMSPEC% /C regedit /S %SOFTWARE%\wpkg\gp.reg' />
<install cmd= 'cscript //Nologo "%SOFTWARE%\wpkg\localgp.vbs" wpkg.bat false MACHINE' />
<upgrade include= 'install' />
</package>
</packages>