VisualHG

VisualHG is a "Mercurial Source Control Plugin for MS Visual Studio". It works with Visual Studio 2005, 2008 and 2010.

<package id="visualhg" name="VisualHg" revision="20110309.2" reboot="false" priority="10">
	<depends package-id="tortoisehg" />
	<depends package-id="vs2008" />
		
	<check type="uninstall" condition="exists" path="VisualHG 1.1.3" />

	<install cmd='msiexec /qn /i "%SOFTWARE%\Utilities\tortoise\VisualHG-1.1.3.msi"'>
		<exit code="0" />
        	<exit code="3010" restart="delayed"/> <!-- just tells us we need to restart -->
	</install>

	<upgrade cmd='msiexec /qn /i "%SOFTWARE%\Utilities\tortoise\VisualHG-1.1.3.msi"'>
		<exit code="0" />
        	<exit code="3010" restart="delayed"/> <!-- just tells us we need to restart -->
	</upgrade>
		
	<remove cmd='msiexec /qn /x {3A73DC5D-5111-4881-B29A-2252CEEF33C2}' >
		<exit code="0" />
		<exit code="3010" restart="delayed"/> <!-- just tells us we need to restart -->
	</remove>
</package>