FAQ | This is a LIVE service | Changelog

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

Merge branch 'pgadmin4.xml' into 'master'

Pgadmin4.xml

See merge request !42
parents e03215a6 966a5e91
No related branches found
No related tags found
1 merge request!42Pgadmin4.xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- vim: set softtabstop=3: -->
<packages:packages xmlns:packages="http://www.wpkg.org/packages">
<package id="pgadmin4" name="pgAdmin 4" revision="%version%.1" priority="50" reboot="false">
<variable name="majorversion" value="4" />
<variable name="minorversion" value="19" />
<variable name="version" value="%majorversion%.%minorversion%" />
<depends package-id="vs2013x86runtime" />
<check type="uninstall" condition="exists" path="pgAdmin 4 version %version%" />
<install cmd='%wpkgsoftware%\pgadmin\pgadmin4-%version%-x86.exe /SP- /VERYSILENT /SUPPRESSMSGBOXES /NORESTART' />
<install cmd='cmd /c copy "%WPKGSHAREBASE%\%WPKGINSTITUTION%-config\pgadmin\config_local.py" "%programfileswpkg%\pgadmin 4\v%majorversion%\web\"' >
<condition>
<check type="file" condition="exists" path="%WPKGSHAREBASE%\%WPKGINSTITUTION%-config\pgadmin\config_local.py" />
</condition>
</install>
<upgrade include='remove' />
<upgrade include='install' />
<!-- remove our config file: the uninstaller does not, and thus also leaves the directory tree behind -->
<remove cmd='cmd /c if exist "%programfileswpkg%\pgadmin 4\v%majorversion%\web\config_local.py" del "%programfileswpkg%\pgadmin 4\v%majorversion%\web\config_local.py"'>
<exit code='any'/>
</remove>
<remove cmd='"%programfileswpkg%\pgadmin 4\v%majorversion%\unins000.exe" /VERYSILENT /SP- /NORESTART' />
</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