Difference between revisions of "GNUplot"
From WPKG | Open Source Software Deployment and Distribution
m (Added web link) |
m |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | Below is the silent installer and uninstaller for [http://www.gnuplot.info/ GNUplot] that will install GNUplot with default settings. To install with customised settings, use the /SAVEINF and then /LOADINF switches on the setup executable. | |
− | + | The GNUplot Windows installer is packaged with InnoSetup and can accept any of the Inno switches described [http://unattended.sourceforge.net/InnoSetup_Switches_ExitCodes.html here]. | |
− | + | ||
− | + | <source lang="xml"> | |
− | + | <package id="gnuplot" name="GNUPlot" revision="2" priority="0" reboot="false"> | |
− | + | ||
− | + | <variable name="version" value="4.6.0" /> | |
− | + | <variable name="file_version" value="460" /> | |
− | + | ||
− | + | <check type="uninstall" condition="exists" path="gnuplot %version%" /> | |
− | + | ||
− | </package> | + | <install cmd='"%software%\gnuplot\gp%file_version%-win32-setup.exe" /VERYSILENT /SUPPRESSMSGBOXES' /> |
+ | |||
+ | <upgrade include="remove"/> | ||
+ | <upgrade include="install"/> | ||
+ | |||
+ | <remove cmd='"%ProgramFiles(x86)%\gnuplot\unins000.exe" /VERYSILENT /SUPPRESSMSGBOXES' > | ||
+ | <exit code="any" /> | ||
+ | </remove> | ||
+ | |||
+ | </package> | ||
+ | </source> | ||
[[category:Silent Installers|GNUplot]] | [[category:Silent Installers|GNUplot]] |
Latest revision as of 10:53, 10 September 2012
Below is the silent installer and uninstaller for GNUplot that will install GNUplot with default settings. To install with customised settings, use the /SAVEINF and then /LOADINF switches on the setup executable.
The GNUplot Windows installer is packaged with InnoSetup and can accept any of the Inno switches described here.
<package id="gnuplot" name="GNUPlot" revision="2" priority="0" reboot="false">
<variable name="version" value="4.6.0" />
<variable name="file_version" value="460" />
<check type="uninstall" condition="exists" path="gnuplot %version%" />
<install cmd='"%software%\gnuplot\gp%file_version%-win32-setup.exe" /VERYSILENT /SUPPRESSMSGBOXES' />
<upgrade include="remove"/>
<upgrade include="install"/>
<remove cmd='"%ProgramFiles(x86)%\gnuplot\unins000.exe" /VERYSILENT /SUPPRESSMSGBOXES' >
<exit code="any" />
</remove>
</package>