Difference between revisions of "OwnCloud"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m (Changed revision to %version%)
(Updated for 1.6.3.3721, Uninstall-Key is now removed by uninstaller, disabled automatic updates)
Line 9: Line 9:
 
revision="%version%"
 
revision="%version%"
 
priority="10">
 
priority="10">
         <variable name="version" value="1.6.2.3463" />
+
         <variable name="version" value="1.6.3.3721" />
 
         <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"/>
Line 18: Line 18:
 
</install>
 
</install>
 
         <install cmd='%COMSPEC% /C "%SOFTWARE%\ownCloud\ownCloud-%version%-setup.exe" /S'/>         
 
         <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"/>
 
         <upgrade include="install"/>
 
   
 
   
Line 27: Line 30:
 
         <remove cmd='%COMSPEC% /C if exist "%PKG_DESTINATION%" rmdir /S /Q "%PKG_DESTINATION%"'/>
 
         <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>
 
</package>
 
</source>
 
</source>

Revision as of 07:06, 6 September 2014

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='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'/>        

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