Difference between revisions of "Nextcloud Desktop Client"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Use the desktop clients to keep your files synchronized between your Nextcloud server and your desktop. Select one or more directories on your local machine and always have access to your latest files wherever you are. Learn more about our clients here.)
 
 
Line 2: Line 2:
  
 
<source lang="xml">
 
<source lang="xml">
 +
 +
<?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
 
   <package
Line 11: Line 16:
  
 
     <variable name="PKG_VERSION"        value="3.13.0" />
 
     <variable name="PKG_VERSION"        value="3.13.0" />
   
+
 
 
     <!-- This variable is usually based on the date the package was created -->
 
     <!-- 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_VERSION_LONG"  value="3.13.0.20240423" />
 
     <variable name="PKG_NAME"          value="Nextloud Desktop Client" />
 
     <variable name="PKG_NAME"          value="Nextloud Desktop Client" />
    <variable name="PKG_SOURCE"        value="%SOFTWARE%\Nextcloud" />
 
    <variable name="PKG_DESTINATION"    value="%PROGRAMFILES%\Nextcloud\" />
 
 
     <variable name="PKG_INSTALL_SWITCH" value="ALLUSERS=1"/>
 
     <variable name="PKG_INSTALL_SWITCH" value="ALLUSERS=1"/>
 
     <variable name="PKG_REMOVE_SWITCH"  value="ALLUSERS=1"/>
 
     <variable name="PKG_REMOVE_SWITCH"  value="ALLUSERS=1"/>
Line 23: Line 26:
  
 
     <commands>
 
     <commands>
       <command type="install" cmd='msiexec /i "%PKG_SOURCE%\Nextcloud-%PKG_VERSION%-x64.msi" /qn /norestart %PKG_INSTALL_SWITCH% '>
+
       <command type="install" cmd='msiexec /i "%SOFTWARE%\Nextcloud\Nextcloud-%PKG_VERSION%-x64.msi" /qn /norestart %PKG_INSTALL_SWITCH% '>
 
         <exit code="0" />
 
         <exit code="0" />
 
         <exit code="3010" />
 
         <exit code="3010" />
Line 29: Line 32:
 
       <command type="upgrade" include="install" />
 
       <command type="upgrade" include="install" />
  
       <command type="remove" cmd='msiexec /x "%PKG_SOURCE%\Nextcloud-%PKG_VERSION%-x64.msi" /qn %PKG_REMOVE_SWITCH%' />
+
       <command type="remove" cmd='msiexec /x "%SOFTWARE%\Nextcloud\Nextcloud-%PKG_VERSION%-x64.msi" /qn %PKG_REMOVE_SWITCH%' />
  
 
     </commands>
 
     </commands>
Line 35: Line 38:
  
 
</packages:packages>
 
</packages:packages>
 +
  
 
</source>
 
</source>
  
 
[[Category:Silent Installers]]
 
[[Category:Silent Installers]]

Latest revision as of 21:46, 10 June 2024

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>