FAQ | This is a LIVE service | Changelog

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

Merge branch 'olex2_bugfix' into 'master'

olex2: use correct reg path for version check etc

See merge request !47
parents 9e69e226 445bda89
No related branches found
No related tags found
1 merge request!47olex2: use correct reg path for version check etc
......@@ -10,18 +10,18 @@
and write them to %programfiles%)
4) copy %programfiles%\olex2 back to the deploy share complete with pyc files -->
<check type='registry' condition='equals' path='HKLM\software\ucam_wpkg.ch.cam.ac.uk\olex2\version' value="%version%" />
<check type='registry' condition='equals' path='HKLM\software\ucam_wpkg.cam.ac.uk\olex2\version' value="%version%" />
<install cmd='%WPKGSOFTWARE%\wpkg\tools\copydir.cmd "%WPKGSOFTWARE%\olex2\%version%" "%programfiles%\olex2"' />
<install cmd='cscript %WPKGSOFTWARE%\wpkg\tools\create-shortcut.js /folder:"Olex2" /linkname:"Olex2 %version%" /target:"%programfiles%\olex2\olex2.exe"' />
<install cmd='reg add HKLM\software\ucam_wpkg.ch.cam.ac.uk\olex2 /t reg_sz /v version /d %version% /f' />
<install cmd='reg add HKLM\software\ucam_wpkg.cam.ac.uk\olex2 /t reg_sz /v version /d %version% /f' />
<upgrade include='remove' />
<upgrade include='install' />
<remove cmd='cmd /c if exist "%programfiles%\olex2" rmdir /s /q "%programfiles%\olex2"' />
<remove cmd='cscript %WPKGSOFTWARE%\wpkg\tools\delete-shortcut.js /folder:"Olex2"'/>
<remove cmd='reg delete HKLM\software\ucam_wpkg.ch.cam.ac.uk\olex2 /f' />
<remove cmd='reg delete HKLM\software\ucam_wpkg.cam.ac.uk\olex2 /f' />
</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