CrashPlan

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

Online Data Backup: www.crashplan.com

Installer Package

<package id="crashplan" name="CrashPlan" revision="2" reboot="false">
  <variable name="version" value="3.5.3" />
  <variable name="SETUP" value="%PACKAGES%\crashplan\CrashPlan_%version%_Win.exe" architecture="x86"/>
  <variable name="SETUP" value="%PACKAGES%\crashplan\CrashPlan-x64_%version%_Win.exe" architecture="x64"/>

  <check type="uninstall" condition="versiongreaterorequal" path="CrashPlan" value="%version%"/>

  <install cmd='"%SETUP%" /passive /norestart /qn' />

  <!--
    CrashPlan opens dialog after installation which will hang in the
    background and needs to be closed
  -->
  <install cmd="taskkill /F /IM CrashPlanDesktop.exe">
    <exit code="any" />
  </install>

  <upgrade include="install" />

  <remove cmd='msiexec /qn /x {42E52398-5674-414E-892C-907BF65CA46E}'> <!-- 3.5.3 32bit -->
    <exit code='0' /><exit code='1605' />
  </remove>
  <remove cmd='msiexec /qn /x {FCE35188-DD2F-4DB8-A5B6-D857F95669E0}'> <!-- 3.5.3 64bit -->
    <exit code='0' /><exit code='1605' />
  </remove>
</package>