Difference between revisions of "MS Visio 2007"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m (XML file for WPKG)
m (Requirements)
Line 5: Line 5:
 
== Requirements ==
 
== Requirements ==
  
You have to install [[Windows Installer|Windows Installer 3.1]] before installing MS Visio 2007. It is not provided by default with with Windows XP.
+
You have to install [[Windows Installer|Windows Installer 3.1]] before installing MS Visio 2007. It is not provided by default with with Windows XP SP2; it is provided with Windows XP SP3 or as a separate install.
 
+
  
 
== Creating a .MSP file ==
 
== Creating a .MSP file ==

Revision as of 08:14, 22 August 2008

Installing MS Visio 2007 silently can be a bit of pain if you only have an .EXE installer.

The whole procedure involves a couple of steps:

Requirements

You have to install Windows Installer 3.1 before installing MS Visio 2007. It is not provided by default with with Windows XP SP2; it is provided with Windows XP SP3 or as a separate install.

Creating a .MSP file

First, you need to create a .MSP file to be used by SETUP.EXE. To do it, run:

SETUP.EXE /admin

Make sure you set up the following things:

  • enter license key,
  • accept license key,
  • disable "completion notice",
  • enable "suppress modals".

Depending on your language version, these things will be called differently.


Creating a config.xml file

Creating a .MSP file is not enough to perform a silent installation. You need to create a config.xml file with settings as well - without it, user will be prompted to choose the type of installation.

The config file can look like below - it disables the prompt and disables the automatic reboot.

<Configuration Product="VisPro">

 <Display Level="none" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" />
 <Setting Id="SETUP_REBOOT" Value="Never" />

</Configuration>

For more config.xml options, see http://technet.microsoft.com/en-us/library/cc179195.aspx (that's for Office, but is also valid for Visio).


XML file for WPKG

Finally, XML file for WPKG:

<packages>
<package 
	id="visio"
	name="Microsoft Office Visio 2007" 
	revision="20071" 
	reboot="false">

	<check type="uninstall" condition="exists" path="Microsoft Office Visio Standard 2007" />

	<install cmd='"%SOFTWARE%\visio2007\SETUP.EXE" /adminfile "%SOFTWARE%\visio2007\visio.MSP" /config "%SOFTWARE%\visio2007\config.xml"' />

</package>
</packages>