Difference between revisions of "Powerpoint Viewer"
From WPKG | Open Source Software Deployment and Distribution
Line 7: | Line 7: | ||
Unpack the exe (eg with 7-zip) to get the .cab and .msi | Unpack the exe (eg with 7-zip) to get the .cab and .msi | ||
− | + | <source lang="xml"> | |
<!-- Powerpoint Viewer install ; for 32-bit and 64-bit hosts --> | <!-- Powerpoint Viewer install ; for 32-bit and 64-bit hosts --> | ||
<package | <package | ||
id="pptviewer" | id="pptviewer" | ||
name="Powerpoint Viewer" | name="Powerpoint Viewer" | ||
− | revision="14.0. | + | revision="14.0.4763.1000-20111017" |
reboot="false" | reboot="false" | ||
priority="0"> | 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 | <install | ||
cmd='msiexec /qb /package "%SOFTWARE%\PowerpointViewer\2010\ppviewer.msi"' /> | cmd='msiexec /qb /package "%SOFTWARE%\PowerpointViewer\2010\ppviewer.msi"' /> | ||
<!-- not tested | <!-- not tested | ||
− | remove | + | remove cmd="MsiExec.exe /X{95140000-00AF-0409-0000-0000000FF1CE}" /--> |
− | + | ||
</package> | </package> | ||
+ | </source> | ||
Latest revision as of 11:13, 17 October 2011
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>