Changes

Jump to: navigation, search

MS Visio 2007

1,640 bytes added, 08:20, 19 August 2008
m
New page: Installing MS Visio 2007 silently can be a pain if you only have an .EXE installer. The whole procedure involves a couple of steps: == Creating a .MSP file == First, you need to create ...
Installing MS Visio 2007 silently can be a pain if you only have an .EXE installer.

The whole procedure involves a couple of steps:

== 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.

<source lang="xml">
<Configuration Product="VisPro">

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

</Configuration>
</source>

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:

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

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

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

</package>
</packages>
</source>


[[category:Silent Installers]]

Navigation menu