Difference between revisions of "Tipp10"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Package for Boxcryptor)
(Undo revision 12686 by Sao (talk))
 
Line 1: Line 1:
Boxcryptor is an easy-to-use encryption software optimized for the cloud.: [https://www.boxcryptor.com www.boxcryptor.com]
+
Free Touch Typing Tutor: [http://www.tipp10.com/en/ www.tipp10.com]
  
 
== Installer Package ==
 
== Installer Package ==
 
<source lang="xml">
 
<source lang="xml">
<package id="boxcryptor" name="Boxcryptor" revision="5" reboot="false" precheck-upgrade="always">
+
<package id='tipp10' name='Tipp10' revision='1' priority='0' reboot='false' precheck-upgrade="always">
    <chain package-id="boxcryptor-settings" />
+
  <variable name="version" value="2.1.0" />
    <variable name="version" value="2.1.413.111" />
+
  <variable name="exeversion" value="2-1-0" />
    <variable name="SETUP" value="%SOFTWARE%\boxcryptor\Boxcryptor_v%version%_Setup.msi"/>
+
  
    <check type="uninstall" condition="versiongreaterorequal" path="Boxcryptor.*" value="%version%"/>
+
  <variable name="PkgDestination" value="%ProgramFiles%\Tipp10" architecture="x86"/>
 +
  <variable name="PgkDestination" value="%ProgramFiles(x86)%\Tipp10" architecture="x64"/>
  
    <install cmd='msiexec /i "%SETUP%" /passive /norestart /qn'>
+
  <check type="uninstall" condition="versiongreaterorequal" path="TIPP10.*" value="%version%"/>
        <exit code='0' />
+
        <exit code='3010' reboot='true' />
+
    </install>
+
  
    <upgrade include="install" />
+
  <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' />
  
    <remove cmd='msiexec /qn /x {922D920C-4A69-4B88-AB0C-A9B099594F99}'> <!-- 2.1.413.111 -->
+
  <upgrade include="install" />
        <exit code='0' /><exit code='1605' />
+
    </remove>
+
</package>
+
  
<package id="boxcryptor-settings" name="Boxcryptor Settings" revision="2" reboot="false" execute="once">
+
  <remove cmd='%COMSPEC% /C IF EXIST "%PkgDestination%\unins000.exe" start /wait "TIPP10UNINS" "%PkgDestination%\unins000.exe" /VERYSILENT'/>
    <depends package-id='boxcryptor' />
+
    <variable name="UsersDir" value="C:\Users"/>
+
    <variable name="AppDataBoxCryptor" value="AppData\Local\Boxcryptor"/>
+
 
+
    <!--
+
        In order to remove the tutorial screen on the first start and disable
+
        automatic updates do we need to copy applications.db and tutorial.db
+
        to %AppDataBoxCryptor%.
+
    -->
+
    <install cmd='%COMSPEC% /C for /d %a in ("%UsersDir%\*.*") do mkdir "%a\%AppDataBoxCryptor%"'>
+
        <exit code='any' />
+
    </install>
+
    <install cmd='%COMSPEC% /C for /d %a in ("%UsersDir%\*.*") do copy /y "%SOFTWARE%\boxcryptor\application.db" "%a\%AppDataBoxCryptor%\."' />
+
    <install cmd='%COMSPEC% /C for /d %a in ("%UsersDir%\*.*") do copy /y "%SOFTWARE%\boxcryptor\tutorial.db" "%a\%AppDataBoxCryptor%\."' />
+
    <!-- hidden folders are not included in wildcard above but we need boxcryptor configs in default user profile as well -->
+
    <install cmd='%COMSPEC% /C mkdir "%UsersDir%\Default\%AppDataBoxCryptor%"'>
+
        <exit code='any' />
+
    </install>
+
    <install cmd='%COMSPEC% /C copy /y "%SOFTWARE%\boxcryptor\application.db" "%UsersDir%\Default\%AppDataBoxCryptor%\."' />
+
    <install cmd='%COMSPEC% /C copy /y "%SOFTWARE%\boxcryptor\tutorial.db" "%UsersDir%\Default\%AppDataBoxCryptor%\."' />
+
 
+
    <upgrade include="install" />
+
 
</package>
 
</package>
</source>
 
 
applications.db file:
 
<source lang="text">
 
{
 
  "$type": "Boxcryptor.Core.ApplicationSettings, Boxcryptor.Core",
 
  "updateCheck": false,
 
  "collectUsageData": false,
 
  "appStarts": 1,
 
  "showInAppNews": false
 
}
 
</source>
 
 
tutorial.db file:
 
<source lang="text">
 
{
 
  "$type": "Boxcryptor.Core.TutorialSettings, Boxcryptor.Core",
 
  "doNotShowAgain": true,
 
  "Disabled": true
 
}
 
 
</source>
 
</source>
  
 
[[category:Silent Installers]]
 
[[category:Silent Installers]]

Latest revision as of 12:33, 29 June 2015

Free Touch Typing Tutor: www.tipp10.com

Installer Package

<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>