Difference between revisions of "JabRef"
From WPKG | Open Source Software Deployment and Distribution
(New version 3 with changed installer) |
|||
Line 2: | Line 2: | ||
Dowloads are available from [http://sourceforge.net/projects/jabref/files/jabref/ Sourceforge]. | Dowloads are available from [http://sourceforge.net/projects/jabref/files/jabref/ Sourceforge]. | ||
+ | |||
+ | == JabRef 3.0 or higher == | ||
+ | Installer has been changed. JabRef now uses [http://resources.ej-technologies.com/install4j/help/doc/ Install4J] installer. JabRef3 isn't working under Windows XP any longer (not tested with Windows Vista). | ||
+ | |||
+ | <source lang="xml"> | ||
+ | <?xml version="1.0" encoding="UTF-8"?> | ||
+ | <!-- JabRef v3 --> | ||
+ | <package id="jabref3" name="JabRef 3" revision="%version%" reboot="false" priority="10"> | ||
+ | <variable name="version" value="3.0" /> | ||
+ | <variable name="fileversion" value="3_0" /> | ||
+ | |||
+ | <check type="uninstall" condition="exists" path="JabRef %version%dev"/> | ||
+ | |||
+ | <install architecture="x86" cmd='"%SOFTWARE%\jabref\jabref_windows_%fileversion%" -q -overwrite' /> | ||
+ | <install architecture="x64" cmd='"%SOFTWARE%\jabref\jabref_windows-x64_%fileversion%" -q -overwrite' /> | ||
+ | |||
+ | <upgrade include="install" /> | ||
+ | |||
+ | <remove cmd="%PROGRAMFILES%\jabref\uninstall.exe -q" /> | ||
+ | |||
+ | </package> | ||
+ | </source> | ||
+ | |||
+ | |||
== JabRef 2.9 or higher == | == JabRef 2.9 or higher == |
Latest revision as of 11:36, 30 November 2015
JabRef is an Open Source bibliography reference manager. See http://jabref.sourceforge.net/
Dowloads are available from Sourceforge.
JabRef 3.0 or higher
Installer has been changed. JabRef now uses Install4J installer. JabRef3 isn't working under Windows XP any longer (not tested with Windows Vista).
<?xml version="1.0" encoding="UTF-8"?>
<!-- JabRef v3 -->
<package id="jabref3" name="JabRef 3" revision="%version%" reboot="false" priority="10">
<variable name="version" value="3.0" />
<variable name="fileversion" value="3_0" />
<check type="uninstall" condition="exists" path="JabRef %version%dev"/>
<install architecture="x86" cmd='"%SOFTWARE%\jabref\jabref_windows_%fileversion%" -q -overwrite' />
<install architecture="x64" cmd='"%SOFTWARE%\jabref\jabref_windows-x64_%fileversion%" -q -overwrite' />
<upgrade include="install" />
<remove cmd="%PROGRAMFILES%\jabref\uninstall.exe -q" />
</package>
JabRef 2.9 or higher
Silent uninstall doesn't operate silently any longer since v2.9 or higher. See bug #637 for instance So uninstall needs to be done manually.
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package id="jabref" name="JabRef" revision="%PKG_VERSION%" reboot="false" priority="10">
<variable name="PKG_VERSION" value="2.9" />
<check type="uninstall" condition="versiongreaterorequal" path="JabRef .+" value="%PKG_VERSION%" />
<install cmd='"%SOFTWARE%\jabref\JabRef-%PKG_VERSION%-setup.exe" /S' />
<upgrade cmd='"%SOFTWARE%\jabref\JabRef-%PKG_VERSION%-setup.exe" /S' />
<remove architecture="x86" cmd='%COMSPEC% /C if exist "%PROGRAMFILES%\jabref" rd /S /Q "%PROGRAMFILES%\jabref"'/>
<remove architecture="x64" cmd='%COMSPEC% /C if exist "%PROGRAMFILES(X86)%\jabref" rd /S /Q "%PROGRAMFILES(X86)%\jabref"' />
<!-- Remove uninstall entry in system panel -->
<remove architecture="x64" cmd='%COMSPEC% /C reg delete "HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\JabRef %version%" /f' >
<exit code="any" />
</remove>
<remove architecture="x86" cmd='%COMSPEC% /C reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\JabRef %version%" /f' >
<exit code="any" />
</remove>
<!-- Remove icons -->
<!-- Windows XP -->
<remove os="windows.+5\.\d{1}\.\d{4}" cmd='%COMSPEC% /C del /Q /F "%ALLUSERSPROFILE%\Desktop\JabRef*.lnk"' >
<exit code="any" />
</remove>
<!-- Windows Vista or higher -->
<remove os="(6\.[1-2]|6\.\d)\.\d{4}" cmd='%COMSPEC% /C del /Q /F "%PUBLIC%\Desktop\JabRef*.lnk"' >
<exit code="any" />
</remove>
<!-- Remove start menu entries -->
<!-- Windows XP german -->
<remove os="windows.+5\.\d{1}\.\d{4}" cmd='%COMSPEC% /C del /Q /F "%ALLUSERSPROFILE%\Startmenü\Programme\JabRef*.lnk"' >
<exit code="any" />
</remove>
<!-- Windows XP englisch -->
<remove os="windows.+5\.\d{1}\.\d{4}" cmd='%COMSPEC% /C del /Q /F "%ALLUSERSPROFILE%\Start menu\Programme\JabRef*.lnk"' >
<exit code="any" />
</remove>
<!-- Windows Vista or higher -->
<remove os="(6\.[1-2]|6\.\d)\.\d{4}" cmd='%COMSPEC% /C del /Q /F "%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\JabRef*.lnk"' >
<exit code="any" />
</remove>
</package>
</packages>
JabRef 2.6
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package id="jabref" name="JabRef" revision="%PKG_VERSION%" reboot="false" priority="10">
<variable name="PKG_VERSION" value="2.6" />
<check type="uninstall" condition="versiongreaterorequal" path="JabRef .+" value="%PKG_VERSION%" />
<install cmd='"%SOFTWARE%\jabref\JabRef-%PKG_VERSION%-setup.exe" /S' />
<upgrade cmd='"%SOFTWARE%\jabref\JabRef-%PKG_VERSION%-setup.exe" /S' />
<remove cmd='"%PROGRAMFILES%\JabRef\uninstall.exe" /S' />
</package>
</packages>