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

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
m
Line 14: Line 14:
 
     <check type="uninstall" condition="exists" path="Microsoft Office Visio Viewer 2007" />
 
     <check type="uninstall" condition="exists" path="Microsoft Office Visio Viewer 2007" />
 
     <install cmd='cmd /c msiexec /qn /i "%SOFTWARE%\Microsoft\visioviewer\vviewer.msi" ACCEPTEULA=1 ASSOCIATE=1 RESTART=0' />
 
     <install cmd='cmd /c msiexec /qn /i "%SOFTWARE%\Microsoft\visioviewer\vviewer.msi" ACCEPTEULA=1 ASSOCIATE=1 RESTART=0' />
     <upgrade cmd='cmd /c msiexec /qn /i &quot;%SOFTWARE%\Microsoft\visioviewer\vviewer.msi" ACCEPTEULA=1 ASSOCIATE=1 RESTART=0' />
+
     <upgrade cmd='cmd /c msiexec /qn /i "%SOFTWARE%\Microsoft\visioviewer\vviewer.msi" ACCEPTEULA=1 ASSOCIATE=1 RESTART=0' />
 
     <remove cmd='cmd /c msiexec /q /x{95120000-0052-0415-0000-0000000FF1CE}' />
 
     <remove cmd='cmd /c msiexec /q /x{95120000-0052-0415-0000-0000000FF1CE}' />
 
</package>
 
</package>

Revision as of 16:27, 11 March 2008

This is the silent installer for Microsoft Office 2007 Visio Viewer. As it's name says - it allows to view Microsoft Visio's files without having full Version of Visio installed. First you need to download setup file from: Microsoft's download page (link here - click). You'll find a .exe file which needs to be unpacked using some unzip application (eg. great 7zip or any other), you'll find five files inside:

vviewer.cab
files12.cat
vviewer.msi
EULA
eula.txt

Put them to some available location, in my case it is %SOFTWARE%\Microsoft\visioviewer\, of course you can use other, just remember to edit package command path. It should look somehow like that:

<package id="visioviewer" name="Microsoft Office Visio Viewer 2007" revision="1" reboot="false" priority="10">
    <check type="uninstall" condition="exists" path="Microsoft Office Visio Viewer 2007" />
    <install cmd='cmd /c msiexec /qn /i "%SOFTWARE%\Microsoft\visioviewer\vviewer.msi" ACCEPTEULA=1 ASSOCIATE=1 RESTART=0' />
    <upgrade cmd='cmd /c msiexec /qn /i "%SOFTWARE%\Microsoft\visioviewer\vviewer.msi" ACCEPTEULA=1 ASSOCIATE=1 RESTART=0' />
    <remove cmd='cmd /c msiexec /q /x{95120000-0052-0415-0000-0000000FF1CE}' />
</package>

And don't forget to add a line to your profiles.xml. Priority should not be important here since package doesn't have any dependencies.