Nextcloud Desktop Client

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

Downloads for Nextcloud Desktop Client

<?xml version="1.0" encoding="UTF-8"?>
<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="http://www.wpkg.org/packages ../xsd/packages.xsd">

  <package
      id="nextcloud"
      name="Nextcloud Desktop Client"
      revision="%PKG_VERSION%"
      reboot="false"
      priority="5">

    <variable name="PKG_VERSION"        value="3.13.0" />

    <!-- This variable is usually based on the date the package was created -->
    <variable name="PKG_VERSION_LONG"   value="3.13.0.20240423" />
    <variable name="PKG_NAME"           value="Nextloud Desktop Client" />
    <variable name="PKG_INSTALL_SWITCH" value="ALLUSERS=1"/>
    <variable name="PKG_REMOVE_SWITCH"  value="ALLUSERS=1"/>

    <check type="uninstall" condition="versiongreaterorequal" path="Nextcloud" value="%PKG_VERSION_LONG%"/>

    <commands>
      <command type="install" cmd='msiexec /i "%SOFTWARE%\Nextcloud\Nextcloud-%PKG_VERSION%-x64.msi" /qn /norestart %PKG_INSTALL_SWITCH% '>
        <exit code="0" />
        <exit code="3010" />
      </command>
      <command type="upgrade" include="install" />

      <command type="remove" cmd='msiexec /x "%SOFTWARE%\Nextcloud\Nextcloud-%PKG_VERSION%-x64.msi" /qn %PKG_REMOVE_SWITCH%' />

    </commands>
  </package>

</packages:packages>