Difference between revisions of "OwnCloud"
From WPKG | Open Source Software Deployment and Distribution
(Updated for 1.6.3.3721, Uninstall-Key is now removed by uninstaller, disabled automatic updates) |
(Changed Check Type which respects the version) |
||
Line 12: | Line 12: | ||
<variable name="PKG_DESTINATION" value="%ProgramFiles(x86)%\ownCloud" architecture="x64"/> | <variable name="PKG_DESTINATION" value="%ProgramFiles(x86)%\ownCloud" architecture="x64"/> | ||
<variable name="PKG_DESTINATION" value="%ProgramFiles%\ownCloud" architecture="x86"/> | <variable name="PKG_DESTINATION" value="%ProgramFiles%\ownCloud" architecture="x86"/> | ||
− | <check type='uninstall' condition=' | + | <check type='uninstall' condition='versiongreaterorequal' path='ownCloud' value='%version%'/> |
<install cmd='taskkill /f /im owncloud.exe'> | <install cmd='taskkill /f /im owncloud.exe'> |
Latest revision as of 07:59, 22 August 2018
OwnCloud is a sync client for the OpenSource Cloud-Software ownCloud.
Clients can be downloaded here.
<package
id="owncloud"
name="ownCloud"
revision="%version%"
priority="10">
<variable name="version" value="1.6.3.3721" />
<variable name="PKG_DESTINATION" value="%ProgramFiles(x86)%\ownCloud" architecture="x64"/>
<variable name="PKG_DESTINATION" value="%ProgramFiles%\ownCloud" architecture="x86"/>
<check type='uninstall' condition='versiongreaterorequal' path='ownCloud' value='%version%'/>
<install cmd='taskkill /f /im owncloud.exe'>
<exit code='any' />
</install>
<install cmd='%COMSPEC% /C "%SOFTWARE%\ownCloud\ownCloud-%version%-setup.exe" /S'/>
<!-- Disabling automatic Updates -->
<install cmd='reg add HKLM\Software\Policies\ownCloud\ownCloud /v "skipUpdateCheck" /d "1" /t REG_DWORD /f' />
<upgrade include="install"/>
<remove cmd='taskkill /f /im owncloud.exe'>
<exit code='any' />
</remove>
<remove cmd='%COMSPEC% /C if exist "%PKG_DESTINATION%\uninstall.exe" "%PKG_DESTINATION%\uninstall.exe" /S'/>
<remove cmd='%COMSPEC% /C if exist "%PKG_DESTINATION%" rmdir /S /Q "%PKG_DESTINATION%"'/>
</package>
This Package was tested with Windows 7 x32 and x64.