Difference between revisions of "Microsoft Office Visio Viewer 2007 with SP2"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Undo revision 7450 by 202.37.54.11 (Talk))
(REDIRECT)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
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.
+
#REDIRECT [[MS Visio Viewer]]
 
+
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]]
+

Latest revision as of 20:23, 14 May 2020

Redirect to: