10
edits
Changes
OwnCloud
,First edition
OwnCloud is a sync client for the OpenSource Cloud-Software [http://www.owncloud.org ownCloud].
Clients can be downloaded [http://owncloud.org/install/ here].
<source lang="xml">
<package
id="owncloud"
name="ownCloud"
revision="1"
priority="10">
<variable name="version" value="1.6.2.3463" />
<variable name="PKG_DESTINATION" value="%ProgramFiles(x86)%\ownCloud" architecture="x64"/>
<variable name="PKG_DESTINATION" value="%ProgramFiles%\ownCloud" architecture="x86"/>
<check type='uninstall' condition='exists' path='ownCloud' />
<install cmd='taskkill /f /im owncloud.exe'>
<exit code='any' />
</install>
<install cmd='%COMSPEC% /C "%SOFTWARE%\ownCloud\ownCloud-%version%-setup.exe" /S'/>
<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%"'/>
<!-- with 1.6.2.3463 the Uninstall-Key is not removed on 64bit-System. Removing manually. -->
<remove architecture="x64" cmd='reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\owncloud" /f' />
</package>
</source>
This Package was tested with Windows 7 x32 and x64.
[[Category:Silent Installers]]
Clients can be downloaded [http://owncloud.org/install/ here].
<source lang="xml">
<package
id="owncloud"
name="ownCloud"
revision="1"
priority="10">
<variable name="version" value="1.6.2.3463" />
<variable name="PKG_DESTINATION" value="%ProgramFiles(x86)%\ownCloud" architecture="x64"/>
<variable name="PKG_DESTINATION" value="%ProgramFiles%\ownCloud" architecture="x86"/>
<check type='uninstall' condition='exists' path='ownCloud' />
<install cmd='taskkill /f /im owncloud.exe'>
<exit code='any' />
</install>
<install cmd='%COMSPEC% /C "%SOFTWARE%\ownCloud\ownCloud-%version%-setup.exe" /S'/>
<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%"'/>
<!-- with 1.6.2.3463 the Uninstall-Key is not removed on 64bit-System. Removing manually. -->
<remove architecture="x64" cmd='reg delete "HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\owncloud" /f' />
</package>
</source>
This Package was tested with Windows 7 x32 and x64.
[[Category:Silent Installers]]