Difference between revisions of "Maxima"
From WPKG | Open Source Software Deployment and Distribution
m (Added category) |
(Add new version installer) |
||
Line 3: | Line 3: | ||
[http://maxima.sourceforge.net/ Maxima] is a [http://en.wikipedia.org/wiki/Computer_algebra_system CAS] (computer algebra system) for symbolic mathematics. | [http://maxima.sourceforge.net/ Maxima] is a [http://en.wikipedia.org/wiki/Computer_algebra_system CAS] (computer algebra system) for symbolic mathematics. | ||
+ | == New x86 and x64 clisp sbcl version == | ||
+ | <source lang="xml"> | ||
+ | <package | ||
+ | id="maxima" | ||
+ | name="Maxima" | ||
+ | revision="%PKG_VERSION%" | ||
+ | reboot="false" | ||
+ | priority="0"> | ||
+ | |||
+ | <variable name="PKG_VERSION" value="5.43.2" /> | ||
+ | <variable name="PKG_SOURCE" value="%SOFTWARE%\Maxima" /> | ||
+ | <variable name="PKG_NAME" value="maxima-clisp-sbcl-%PKG_VERSION%-win64.exe" architecture="x64" /> | ||
+ | <variable name="PKG_NAME" value="maxima-clisp-sbcl-%PKG_VERSION%-win32.exe" architecture="x86" /> | ||
+ | <variable name="PKG_DESTINATION" value="C:\Program Files\Maxima" /> | ||
+ | <variable name="PKG_INSTALL_SWITCH" value="/S /NCRC /D=%PKG_DESTINATION%" /> | ||
+ | <variable name="PKG_REMOVE_SWITCH" value="/S" /> | ||
+ | |||
+ | <check type="uninstall" condition="versiongreaterorequal" path="maxima.+" value="%PKG_VERSION%" /> | ||
+ | |||
+ | <install cmd='"%PKG_SOURCE%\%PKG_NAME%" %PKG_INSTALL_SWITCH%' /> | ||
+ | |||
+ | <upgrade include="remove" /> | ||
+ | <upgrade include="install" /> | ||
+ | |||
+ | <!-- Remove old version --> | ||
+ | <remove cmd='"%PKG_DESTINATION%\uninst\unins000.exe" /VERYSILENT'> | ||
+ | <exit code="any" /> | ||
+ | </remove> | ||
+ | <remove cmd='"%PKG_DESTINATION%\Uninstall.exe" %PKG_REMOVE_SWITCH%' /> | ||
+ | </package> | ||
+ | </source> | ||
+ | == Old version == | ||
<source lang="xml"> | <source lang="xml"> | ||
<package | <package |
Latest revision as of 02:17, 12 May 2020
This is a silent installer for Maxima.
Maxima is a CAS (computer algebra system) for symbolic mathematics.
New x86 and x64 clisp sbcl version
<package
id="maxima"
name="Maxima"
revision="%PKG_VERSION%"
reboot="false"
priority="0">
<variable name="PKG_VERSION" value="5.43.2" />
<variable name="PKG_SOURCE" value="%SOFTWARE%\Maxima" />
<variable name="PKG_NAME" value="maxima-clisp-sbcl-%PKG_VERSION%-win64.exe" architecture="x64" />
<variable name="PKG_NAME" value="maxima-clisp-sbcl-%PKG_VERSION%-win32.exe" architecture="x86" />
<variable name="PKG_DESTINATION" value="C:\Program Files\Maxima" />
<variable name="PKG_INSTALL_SWITCH" value="/S /NCRC /D=%PKG_DESTINATION%" />
<variable name="PKG_REMOVE_SWITCH" value="/S" />
<check type="uninstall" condition="versiongreaterorequal" path="maxima.+" value="%PKG_VERSION%" />
<install cmd='"%PKG_SOURCE%\%PKG_NAME%" %PKG_INSTALL_SWITCH%' />
<upgrade include="remove" />
<upgrade include="install" />
<!-- Remove old version -->
<remove cmd='"%PKG_DESTINATION%\uninst\unins000.exe" /VERYSILENT'>
<exit code="any" />
</remove>
<remove cmd='"%PKG_DESTINATION%\Uninstall.exe" %PKG_REMOVE_SWITCH%' />
</package>
Old version
<package
id="maxima"
name="Maxima 5.14.0"
revision="1"
reboot="false"
priority="1">
<check type="uninstall" condition="exists" path="Maxima 5.14.0" />
<upgrade cmd="%SOFTWARE%\maxima-5.14.0a.exe /SILENT /SUPPRESSMSGBOXES" />
<install cmd="%SOFTWARE%\maxima-5.14.0a.exe /SILENT /SUPPRESSMSGBOXES" />
<remove cmd="%PROGRAMFILES%\maxima\uninst\unins000.exe /SILENT" />
</package>
Hints: If there is a new version, every occurrence of the version number has to be adjusted. You can add the following switches for an individual installation:
- /VERYSILENT instead of /SILENT to prevent users from aborting install (you can do the same for the uninstall program)
- /LANG=de for installation language (insert a valid language code for your language)
- /DIR=%PROGRAMFILES%\Maxima\ if you don't want Maxima to be installed into a folder containing the version number
- /GROUP=Math\Maxima to put the start menu group in a subfolder (and to rename it)
- /MERGETASKS=!desktopicon if you don't want the wxMaxima desktop icon to be installed