Tipp10

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

Free Touch Typing Tutor: www.tipp10.com

Installer Package[edit]

<package id='tipp10' name='Tipp10' revision='1' priority='0' reboot='false' precheck-upgrade="always">
  <variable name="version" value="2.1.0" />
  <variable name="exeversion" value="2-1-0" />

  <variable name="PkgDestination" value="%ProgramFiles%\Tipp10" architecture="x86"/>
  <variable name="PgkDestination" value="%ProgramFiles(x86)%\Tipp10" architecture="x64"/>

  <check type="uninstall" condition="versiongreaterorequal" path="TIPP10.*" value="%version%"/>

  <install cmd='%COMSPEC% /C start /wait "TIPP10" "%PACKAGES%\tipp10\tipp10_win_v%exeversion%.exe" /VERYSILENT"'/>
  <!-- disable checking for updates -->
  <install cmd='reg add "HKLM\SOFTWARE\Tom Thielicke IT Solutions\tipp10\general" /v "check_new_version" /d "false" /t REG_SZ /f' />
  <install cmd='reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\TIPP10_is1" /v "DisplayVersion" /d "%version%" /t REG_SZ /f' />

  <upgrade include="install" />

  <remove cmd='%COMSPEC% /C IF EXIST "%PkgDestination%\unins000.exe" start /wait "TIPP10UNINS" "%PkgDestination%\unins000.exe" /VERYSILENT'/>
</package>