Difference between revisions of "OwnCloud"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(First edition)
(No difference)

Revision as of 10:17, 16 August 2014

OwnCloud is a sync client for the OpenSource Cloud-Software ownCloud.

Clients can be downloaded here.

<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>

This Package was tested with Windows 7 x32 and x64.