Changes

MS Visio Viewer

3,556 bytes added, 20:23, 14 May 2020
Init version
== Visio Viewer 2013 ==

This is a silent installer and deinstaller for Microsoft Office Visio Viewer 2007.
Download [https://www.microsoft.com/de-de/download/details.aspx?id=35811] from microsoft, unpack it using winzip (or similar software). Save vviewer.msi and vviewer.cab in your software directory.

<source lang="xml">
<package id="visiovwr2k13" name="Microsoft Visio Viewer 2007" revision="1" reboot="false" priority="0">

<check type="logical" condition="or">
<check type="uninstall" condition="exists" path="Microsoft Office Visio Viewer 2013" />
<check type="uninstall" condition="exists" path="Microsoft Office Visio Professional 2013" />
<check type="uninstall" condition="exists" path="Microsoft Office Visio Professional 2010" />
</check>

<install cmd='msiexec /qb /i "\\bunoteca\wpkg\packages\microsoft\visiovwr2k13\vviewer.msi"'/>
<remove cmd='msiexec /qn /x "\\bunoteca\wpkg\packages\microsoft\visiovwr2k13\vviewer.msi"' />
</package>
</source>

== Visio Viewer 2007 SP2 ==

This is the silent installer for Microsoft Office 2007 Visio Viewer. As it's name says - it allows you to view Microsoft Visio's files without having the full Version of Visio installed.

First you need to download the setup file from:
[http://www.microsoft.com/downloads/details.aspx?FamilyId=D88E4542-B174-4198-AE31-6884E9EDD524 Microsoft's download page (link here - click)]. You'll find an .exe file which needs to be unpacked using an application like the excellent 7zip, you'll find five files inside:
vviewer.cab
files12.cat
vviewer.msi
EULA
eula.txt

Copy them to your WPKG installation share, in my case it is ''%SOFTWARE%\Microsoft\visiovwr2k7''

Next download the Visio Viewer 2007 Service Pack 2 file from [http://www.microsoft.com/downloads/details.aspx?FamilyId=9733A0B0-E0F4-477C-B682-B11BDA63CD19&displaylang=en here]. You will have a compressed executable called visioviewer2007sp2-kb953335-fullfile-en-us.exe. Once again use 7zip to extract the contents.

You will end up with four files, one called '''VViewersp2-en-us''' which should be about 10,001KB in size, rename this file to '''VViewersp2-en-us.msp''' and copy to your install location as above.



Now edit the package xml to look something like this:

<source lang="xml">
<package
id="visiovwr2k7"
name="Microsoft Visio Viewer 2007"
revision="1"
reboot="false"
priority="0">

<check type="logical" condition="or">
<check type="uninstall" condition="exists" path="Microsoft Office Visio Viewer 2007" />
<check type="uninstall" condition="exists" path="Microsoft Office Visio Professional 2003" />
<check type="uninstall" condition="exists" path="Microsoft Office Visio Professional 2007" />
</check>

<install cmd='msiexec /i "%SOFTWARE%\Microsoft\visiovwr2k7\vviewer.msi" PATCH="%SOFTWARE%\Microsoft\visiovwr2k7\VViewersp2-en-us.msp" /qb-'/>

<remove cmd='msiexec /x "%SOFTWARE%\Microsoft\visiovwr2k7\vviewer.msi /qn' />

</package>
</source>

The checks mean Visio Viewer won't be installed if you already have the full Visio installed including Visio Prof 2003 (as you should have the file format converter installed if so).

The install cmd patches Visio Viewer 2007 to service Pack 2 during the install, I couldn't find a way to pre-patch the MSI but this works well.

And don't forget to update your profiles. Set your package priority to lower than that of your full Visio pacakages so this isn't installed unnecessarily.

[[category:Silent Installers]]
[[Category:Microsoft Office]]
74
edits