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)
Line 1: Line 1:
Silent Install for Excel 2007 Viewer, needs uninstall section not done yet.
+
This silent installation allows you to install Microsoft Excel Viewer 2007, then patch with Service Pack 2 automatically.
  
<source lang="xml">
+
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.
<package
+
id="xlviewer"
+
name="Microsoft Office Excel Viewer 2007"
+
revision="4"
+
reboot="false"
+
priority="10">
+
  
<check type="uninstall" condition="exists" path="Microsoft Office Excel Viewer" />
+
Download [http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=1cd6acf9-ce06-4e1c-8dcf-f33f669dbc3a MS Excel Viewer 2007] & [http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=d68d2719-c6d5-4c5f-9eac-b23417ec5088 MS Excel Viewer 2007 SP2]
<install cmd='"%SOFTWARE%\Excel Viewer 2007\ExcelViewer.exe" /quiet /passive /norestart' />
+
 
<upgrade cmd='"%SOFTWARE%\Excel Viewer 2007\ExcelViewer.exe" /quiet /passive /norestart' />
+
Extracting from the .exe file is '''not''' necessary.
<remove cmd='' /> <!-- to be done -->  
+
 
 +
<source lang="xml">
 +
<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>
 
</package>
 
</source>
 
</source>
  
 
[[Category:Silent Installers]]
 
[[Category:Silent Installers]]

Revision as of 12:43, 6 October 2009

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>