Difference between revisions of "Microsoft Office Word Viewer 2007"
From WPKG | Open Source Software Deployment and Distribution
m (add cat) |
m |
||
Line 9: | Line 9: | ||
id="wordviewer" | id="wordviewer" | ||
name="Microsoft Office Word Viewer 2007" | name="Microsoft Office Word Viewer 2007" | ||
− | revision=" | + | revision="%PKG_VERSION%" |
reboot="false" | reboot="false" | ||
priority="10"> | priority="10"> | ||
+ | |||
+ | <variable name="PKG_VERSION" value="2007" /> | ||
+ | <variable name="PKG_EXE_VERSION" value="11.0.8169.0" /> | ||
+ | <variable name="PKG_SOURCE" value="%SOFTWARE%\MicrosoftOfficeViewer\WordViewer.exe"/> | ||
+ | <variable name="PKG_DESTINATION" value="%ProgramFiles%\Microsoft Office\Office11\wordVIEW.EXE" architecture="x86"/> | ||
+ | <variable name="PKG_DESTINATION" value="%ProgramFiles(x86)%\Microsoft Office\Office11\wordVIEW.EXE" architecture="x64"/> | ||
− | + | <check type="logical" condition="and"> | |
− | + | <check type="file" condition="versiongreaterorequal" path="%PKG_DESTINATION%" value="%PKG_EXE_VERSION%" /> | |
− | + | <!-- Word Viewer for Word 2007 is Word Viewer 2003 with Update --> | |
+ | <check type="uninstall" condition="exists" path="Microsoft Office Word Viewer 2003" /> | ||
+ | </check> | ||
+ | |||
<install cmd='%SOFTWARE%\MicrosoftOfficeViewer\wordview_en-us.exe /quiet /passive /norestart' /> | <install cmd='%SOFTWARE%\MicrosoftOfficeViewer\wordview_en-us.exe /quiet /passive /norestart' /> | ||
− | + | ||
− | <upgrade | + | <upgrade include='install' /> |
− | + | ||
<remove cmd='msiexec /qb /x{90850409-6000-11D3-8CFE-0150048383C9}' /> | <remove cmd='msiexec /qb /x{90850409-6000-11D3-8CFE-0150048383C9}' /> | ||
</package> | </package> |
Latest revision as of 12:18, 29 August 2012
This silent installation allows you to install Microsoft Word Viewer 2007.
As Word Viewer 2007 is Word Viewer 2003 with an update, it appears as Word Viewer 2003 in the uninstall dialog.
Download MS Office Word Viewer 2007
<package
id="wordviewer"
name="Microsoft Office Word Viewer 2007"
revision="%PKG_VERSION%"
reboot="false"
priority="10">
<variable name="PKG_VERSION" value="2007" />
<variable name="PKG_EXE_VERSION" value="11.0.8169.0" />
<variable name="PKG_SOURCE" value="%SOFTWARE%\MicrosoftOfficeViewer\WordViewer.exe"/>
<variable name="PKG_DESTINATION" value="%ProgramFiles%\Microsoft Office\Office11\wordVIEW.EXE" architecture="x86"/>
<variable name="PKG_DESTINATION" value="%ProgramFiles(x86)%\Microsoft Office\Office11\wordVIEW.EXE" architecture="x64"/>
<check type="logical" condition="and">
<check type="file" condition="versiongreaterorequal" path="%PKG_DESTINATION%" value="%PKG_EXE_VERSION%" />
<!-- Word Viewer for Word 2007 is Word Viewer 2003 with Update -->
<check type="uninstall" condition="exists" path="Microsoft Office Word Viewer 2003" />
</check>
<install cmd='%SOFTWARE%\MicrosoftOfficeViewer\wordview_en-us.exe /quiet /passive /norestart' />
<upgrade include='install' />
<remove cmd='msiexec /qb /x{90850409-6000-11D3-8CFE-0150048383C9}' />
</package>