Difference between revisions of "TortoiseSVN"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(new version 1.5.7)
(added exit code 3010 to avoid install loop)
Line 19: Line 19:
 
         <check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\TortoiseSVN\bin\TortoiseProc.exe" value="1.5.7.15182" />
 
         <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' />
 
<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' />
 
<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}' /> -->
 
<!-- <remove cmd='MsiExec.exe /Q /x {E0B2264B-6BE4-4F8B-8300-A05BFA87AAA0}' /> -->
 
</package>
 
</package>
Line 25: Line 29:
 
</source>
 
</source>
  
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 "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.
  
 
[[category:Silent Installers|TortoiseSVN]]
 
[[category:Silent Installers|TortoiseSVN]]

Revision as of 08:55, 10 February 2009

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.