GeoGebra

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search

GeoGebra is a dynamic geometry, algebra and calculus software for schools.

MSI install

You can download geogebra msi installer from GoogleCode

<packages:packages
        xmlns:packages="http://www.wpkg.org/packages" xmlns:wpkg="http://www.wpkg.org/wpkg" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="../../xsd/packages.xsd" >

    <package id="geogebra"
            name="GeoGebra"
            revision="%PKG_VERSION%.0"
            reboot="false"
            priority="5">

        <variable name="PKG_VERSION"    value="4.2.21.0" />
        <variable name="PKG_SVERSION"   value="4-2-21-0" />
        <variable name="PKG_MSI"        value="%SOFTWARE%\geogebra\GeoGebra-Windows-Installer-%PKG_SVERSION%.msi" />

        <depends package-id="java" />

        <check type="uninstall" condition="versiongreaterorequal" path="GeoGebra .+" value="%PKG_VERSION%" />

        <install cmd='msiexec /qn /i "%PKG_MSI%" ALLUSERS=1' />

        <upgrade include="install" />
        <downgrade include="install" />

        <remove cmd='msiexec /qn /x "%PKG_MSI%"' />
    </package>

Previous version

(i think this section should be removed)

Note: I'm not sure if the silent installation uses the systems default locale, so maybe you want to change the language (you can do it after the install, though). If someone knows how to implement this, please adjust the code accordingly. This or this document may help.

When unpacking the setup file there is a cancel button visible for some seconds. The user could abort the installation here. So if someone knows how to suppress this, you know what to do! ;-)

<package
		id="geogebra"
		name="GeoGebra 3.0 RC 1"
		revision="1"
		reboot="false"
		priority="1">
		<depends package-id="java6" />
		<check type="uninstall" condition="exists" path="GeoGebra" />
		<upgrade cmd="%SOFTWARE%\GeoGebra_3_0_0_0_Release_Candidate_1.exe /s" />
		<install cmd="%SOFTWARE%\GeoGebra_3_0_0_0_Release_Candidate_1.exe /s" />
		<remove cmd='"%PROGRAMFILES%\GeoGebra\uninstaller\Uninstall GeoGebra.exe" /s' />
</package>