FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 6fad20a0 authored by Dr Adam Thorn's avatar Dr Adam Thorn
Browse files

spri-shortcuts: improve reg key tidying on removal

parent 94e6511f
No related branches found
No related tags found
1 merge request!15Initial copy of spri-shortcuts.xml from chem repo
......@@ -13,7 +13,20 @@
<upgrade include='install' />
<remove cmd='cscript %WPKGSOFTWARE%\wpkg\tools\delete-shortcut.js /folder:"SPRI" /linkname:"SPRI Wiki"'/>
<remove cmd='reg delete HKLM\software\ucam_wpkg.cam.ac.uk /v spri-shortcuts /f'/>
<!-- NB the chem repo-only version of this package used the ch.cam.ac.uk key, but now we're using
the ucam_wpkg.cam.ac.uk variant. Tidy up both versions of removal if they exist -->
<remove cmd='reg delete HKLM\software\ucam_wpkg.cam.ac.uk\spri-shortcuts /f'>
<condition>
<check type='registry' condition='exists' path='HKLM\software\ucam_wpkg.cam.ac.uk\spri-shortcuts' />
</condition>
</remove>
<remove cmd='reg delete HKLM\software\ch.cam.ac.uk\WPKG /v spri-shortcuts /f'>
<condition>
<check type='registry' condition='exists' path='HKLM\software\ch.cam.ac.uk\WPKG\spri-shortcuts' />
</condition>
</remove>
</package>
</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