FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 4f0bc9ab authored by Mr Chris B Mortimer's avatar Mr Chris B Mortimer
Browse files

Merge branch 'rsat-gpmtools' into 'master'

Rsat gpmtools (Group Policy management tools capability)

See merge request !138
parents 69d90a37 1cf04ba8
No related branches found
No related tags found
1 merge request!138Rsat gpmtools (Group Policy management tools capability)
<?xml version="1.0" encoding="UTF-8"?>
<packages:packages xmlns:packages="http://www.wpkg.org/packages">
<package id="rsat-gpmtools" name="RSAT: Group Policy Management Tools" revision="%version%.%packageversion%" priority="0" reboot="false">
<variable name="version" value="0.0.1.0" />
<variable name="packageversion" value="1" />
<variable name="capname" value="Rsat.GroupPolicy.Management.Tools~~~~%version%" />
<variable name="regkey" value="HKLM\software\ucam_wpkg.cam.ac.uk\rsat-gpmt" />
<check type='registry' condition='equals' path='%regkey%\version' value="%version%"/>
<install cmd='dism /online /quiet /add-capability /capabilityname:"%capname%"' />
<install cmd='reg add %regkey% /t reg_sz /v version /d %version% /f'/>
<upgrade include="remove" />
<upgrade include="install" />
<!-- Warning: will trigger a reboot if the management console is open. But because
the running process is actually mmc.exe we can't safely taskkill it, alas -->
<remove cmd='dism /online /quiet /remove-capability /capabilityname:"%capname%"' />
<remove cmd='reg delete %regkey% /f' />
</package>
</packages:packages>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment