Difference between revisions of "Microsoft Office Excel Viewer 2007 with SP2"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(SP2 included)
m (add cat)
Line 31: Line 31:
 
</package>
 
</package>
 
</source>
 
</source>
 +
  
 
[[Category:Silent Installers]]
 
[[Category:Silent Installers]]
 +
[[Category:Microsoft Office]]

Revision as of 08:42, 1 April 2011

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

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

Download MS Excel Viewer 2007 & MS Excel Viewer 2007 SP2

Extracting from the .exe file is not necessary.

<package id="excelviewer"
	name="Microsoft Office Excel Viewer 2007 with SP2"
	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\XLVIEW.EXE" value="12.0.6502.5000" />
			<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES(X86)%\Microsoft Office\Office12\XLVIEW.EXE" value="12.0.6502.5000" />
		</check>
		<check type="uninstall" condition="exists" path="Microsoft Office Excel Viewer" />
	</check>
	
	<install cmd='%SOFTWARE%\MicrosoftOfficeViewer\ExcelViewer.exe /quiet /passive /norestart' />
	<install cmd='%SOFTWARE%\MicrosoftOfficeViewer\excelviewer2007sp2-kb953336-fullfile-en-us.exe /quiet /passive /norestart' />
	
	<upgrade cmd='%SOFTWARE%\MicrosoftOfficeViewer\ExcelViewer.exe /quiet /passive /norestart' />
	<upgrade cmd='%SOFTWARE%\MicrosoftOfficeViewer\excelviewer2007sp2-kb953336-fullfile-en-us.exe /quiet /passive /norestart' />
	
	<remove cmd='msiexec /qb /x{95120000-003F-0409-0000-0000000FF1CE}' />
</package>