TortoiseSVN

From WPKG | Open Source Software Deployment and Distribution
Revision as of 08:55, 10 February 2009 by 195.78.50.2 (Talk) (added exit code 3010 to avoid install loop)

Jump to: navigation, search

Silent install for TortoiseSVN. Tortoise SVN Project Homepage Tortoise SVN Project Homepage at tigris

TortoiseSVN

<?xml version="1.0" encoding="UTF-8"?>

<packages>
<package   
	id="tortoisesvn" 
	name="TortoiseSVN 1.5.7" 
	revision="157" 
	priority="60" 
	reboot="false">  
 
	<!-- <check type="uninstall" condition="exists" path="TortoiseSVN 1.5.7.15182 (32 bit)" /> -->
        <check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\TortoiseSVN\bin\TortoiseProc.exe" value="1.5.7.15182" />
	<install cmd='msiexec /i "%SOFTWARE%\tortoisesvn\TortoiseSVN-1.5.7.15182-win32-svn-1.5.5.msi" /qn /norestart' />
        <exit code="0" />
        <exit code="3010" reboot="false" />
	<upgrade cmd='msiexec /i "%SOFTWARE%\tortoisesvn\TortoiseSVN-1.5.7.15182-win32-svn-1.5.5.msi" /qn /norestart' />
        <exit code="0" />
        <exit code="3010" reboot="false" />
	<!-- <remove cmd='MsiExec.exe /Q /x {E0B2264B-6BE4-4F8B-8300-A05BFA87AAA0}' /> -->
</package>
</packages>
  • The "versiongreterorequal" check gives the right to users to perform upgrade theirselves before the upgrade is validated in wpkg. This is usefull in environments where users have some administration rights.
  • The exit code 3010 command avoid a reboot after installation. Without it installation is not finished for WPKG, and TortoiseSVN will be reinstalled again and again.