<package id="msvc2017" name="%NAME% Runtimes 2017" group="Standard Programme" priority="10">
    <variable name="NAME" value="Visual C++" />
	<variable name="VER_2K17" value="14.13.23020.0" />
	
	<check type="os" condition=">" value="5.1.2600.5510" />
	<check type="file" condition="<" path="%windir%\system32\vcamp140.dll" value="%VER_2K17%" />
	<check type="file" condition="<" path="%windir%\system32\mfc140u.dll" value="%VER_2K17%" />
		
	<install>
		<cmd name="%NAME% 2017 Uninstall" path="uninstall.bat" />
		<cmd name="%NAME% 2017" path="msvc_17_x86.exe" param="/q /norestart">
			<check type="file" arch="x64" condition="<" path="%windir%\syswow64\vcamp140.dll" value="%VER_2K17%" />
			<check type="file" arch="x64" condition="<" path="%windir%\syswow64\mfc140u.dll" value="%VER_2K17%" />
		</cmd>
		<cmd name="%NAME% 2017 x64" path="msvc_17_x64.exe" param="/q /norestart" arch="x64" />
	</install>
</package>