FAQ | This is a LIVE service | Changelog

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

Initial copy of olex2.xml from Chemistry repo

parent 8b39244a
No related branches found
No related tags found
1 merge request!14Olex2
<?xml version="1.0" encoding="UTF-8"?>
<!-- vim: set softtabstop=3: -->
<packages>
<package id="olex2" name="olex2" revision="%version%.1" priority="0" reboot="false">
<variable name="version" value="1.3" />
<!-- 1) download zip from their website and unpack
2) copy to %programfiles% on test computer
3) run olex2 as admin (needed so that it can compile lots of pyc files
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\ch.cam.ac.uk\WPKG\olex2' value="%version%" />
<install cmd='%software%\wpkg\tools\copydir.cmd "%software%\olex2\%version%" "%programfiles%\olex2"' />
<install cmd='cscript %software%\wpkg\tools\create-shortcut.js /folder:"Olex2" /linkname:"Olex2 %version%" /target:"%programfiles%\olex2\olex2.exe"' />
<install cmd='reg add HKLM\software\ch.cam.ac.uk\WPKG /t reg_sz /v olex2 /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 %software%\wpkg\tools\delete-shortcut.js /folder:"Olex2"'/>
<remove cmd='reg delete HKLM\software\ch.cam.ac.uk\WPKG /v 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