Microsoft Office PowerPoint Viewer 2007 with SP2

This silent installation allows you to install Microsoft PowerPoint Viewer 2007, then patch with Service Pack 2 automatically.

The file version check is to ensure computers with PPT Viewer 2007 that don't have the SP2 will fail the installation check so that the update is installed.

Download MS PowerPoint Viewer 2007 & MS PowerPoint Viewer 2007 SP2

Extracting from the .exe file is not necessary.

<package id="pptviewer"
	name="PowerPoint Viewer"
	revision="2007.2"
	priority="1" 
	reboot="false">
	
	<check type="logical" condition="and">
		<check type="logical" condition="or">
			<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\Microsoft Office\Office12\PPTVIEW.EXE" value="12.0.6502.5000" />
			<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES(X86)%\Microsoft Office\Office12\PPTVIEW.EXE" value="12.0.6502.5000" />
		</check>
		<check type="uninstall" condition="exists" path="Microsoft Office PowerPoint Viewer 2007 (English)" />
	</check>
	
	<install cmd='%SOFTWARE%\MicrosoftOfficeViewer\PowerPointViewer.exe /quiet /passive /norestart' />
	<install cmd='%SOFTWARE%\MicrosoftOfficeViewer\powerpointviewer2007sp2-kb953332-fullfile-en-us.exe /quiet /passive /norestart' />
	
	<upgrade cmd='%SOFTWARE%\MicrosoftOfficeViewer\PowerPointViewer.exe /quiet /passive /norestart' />
	<upgrade cmd='%SOFTWARE%\MicrosoftOfficeViewer\powerpointviewer2007sp2-kb953332-fullfile-en-us.exe /quiet /passive /norestart' />
	
	<remove cmd='msiexec /qn /x{95120000-00AF-0409-0000-0000000FF1CE}' />
</package>