Difference between revisions of "TortoiseSVN"
From WPKG | Open Source Software Deployment and Distribution
(added exit code 3010 to avoid install loop) |
(integrate the exit code in the <install> and <upgrade> is better) |
||
Line 15: | Line 15: | ||
priority="60" | priority="60" | ||
reboot="false"> | 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" /> | <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" /> | |
− | + | </install> | |
− | + | <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" /> | ||
+ | </upgrade> | ||
<!-- <remove cmd='MsiExec.exe /Q /x {E0B2264B-6BE4-4F8B-8300-A05BFA87AAA0}' /> --> | <!-- <remove cmd='MsiExec.exe /Q /x {E0B2264B-6BE4-4F8B-8300-A05BFA87AAA0}' /> --> | ||
</package> | </package> |
Revision as of 09:06, 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" />
</install>
<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" />
</upgrade>
<!-- <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.