Powerpoint Viewer

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search

This is a silent installer and uninstaller for Powerpoint Viewer.


Powerpoint Viewer 2010

Powerpoint Viewer 2010 can be downloaded from Microsoft.

Unpack the exe (eg with 7-zip) to get the .cab and .msi

<!-- Powerpoint Viewer install ; for 32-bit and 64-bit hosts -->
<package
	id="pptviewer" 
	name="Powerpoint Viewer" 
	revision="14.0.4763.1000-20111017"
	reboot="false" 
	priority="0">
 
  <!-- doesn't work: failed to find uninstall entry
  check type="uninstall" condition="versiongreaterorequal" path="Microsoft Powerpoint Viewer" value="14.0.4763.1000" /-->
  <check type="logical" condition="or">
      <check type="file" condition="exists" path="%PROGRAMFILES%\Microsoft Office\Office14\PPTVIEW.exe" />
      <check type="file" condition="exists" path="%PROGRAMFILES(x86)%\Microsoft Office\Office14\PPTVIEW.exe" />
    </check>
	<install
		cmd='msiexec /qb /package "%SOFTWARE%\PowerpointViewer\2010\ppviewer.msi"' />
  
	<!-- not tested 
    remove cmd="MsiExec.exe /X{95140000-00AF-0409-0000-0000000FF1CE}" /-->
</package>


Powerpoint Viewer 2007

Powerpoint Viewer 2007 can be downloaded from Microsoft.

Powerpoint Viewer 2003

First, you need to extract the .msi package from the .exe installer.

<package
        id="ppviewer"
        name="Powerpoint Viewer"
        revision="1"
        priority="1">
        <check type="uninstall" condition="exists" path="Microsoft Office PowerPoint Viewer 2003" />
        <install cmd="msiexec.exe /qn /i %SOFTWARE%\ppviewer\ppviewer.msi" />
        <remove cmd="msiexec.exe /qn /x %SOFTWARE%\ppviewer\ppviewer.msi" />
</package>