MORE INFORMATION
Important Notes
- Switches are not case-sensitive; for example, /V is the same as /v.
- When you are using multiple switches, separate them with a blank space.
The following table lists the Setup switches:
Switch Description Usage
------- ------------- -----
/autorun Runs the Autorun.inf setup.exe /autorun
/a Initiates an administrative setup.exe /a
installation
/j [u|m]Package Advertises a product. This setup.exe /j
option ignores any property Visio10.msi
values entered on the command
line
/g LanguageID u - Advertise to the current setup.exe /j[u|m]
user Visio10.msi /t
m - Advertise to all users of
machine
g - Language ID
t - Applies transform to
advertised package
/i Specifies the .msi file that setup.exe /i Visio10
Setup.exe is to install. If .msi /t ProgramMgmt
the /i option is not included, .mst
Setup.exe uses the Visio10.msi
file.
/PIDKEY Sets properties in the .msi file. setup.exe PIDKEY=
Setup.exe passes these to 12345-12345-12345-12
msiexec as written. 345-12345
/q Set the UI level at the setup.exe /q
installation. /q - no UI
(/qn - for msiexec.)
/qb Basic UI setup.exe /qb
/qr Reduced UI setup.exe /qr
/settings Enables administrators to setup.exe /settings
specify an .ini file containing mysettings.ini
all of the customized settings to
be passed during Visio 2002 setup.
See the description of the .ini
file below.
/Resume Skip system pack detection and setup.exe /resume
just continue with Visio
Using the .ini File
Creating an initialization file may be easier than creating a long command line. Using the
/settings option, Setup.exe reads the specified .ini file and constructs a command line to pass to the Msiexec.exe application. Only properties supported on the command line are supported in the .ini file. If a property or value is found in both the .ini file and on the command line, the command line settings override the .ini file settings.
The format of the .ini file is:
[msi]
[mst]
[options]
[Display]
The [msi] section of the .ini file specifies the path to the installation package for the installation. This corresponds to the
/i option on the command line.
The [mst] section of the .ini file specifies the path to transforms used with this installation. This corresponds to the
/j option on the command line. Multiple transforms are each indicated on a different line, using MST1 - MST(N). When parsed into the command line, the list in the .ini file is turned from left to right. Note that the number associated with the MST(N) title is present only to maintain unique identifiers and has no programmatic meaning.
The [options] section allows network administrators to set and override properties in the .msi or .mst files. Options set in the .ini file are added to the command line using the
/o option. Each option in the option section must have a property name and a value.
The [Display] section is used to set the user interface level used during setup. This corresponds to the
/q option on the command line. Valid values are - none, basic, reduced, and full.
For more information about using a long file name with embedded spaces in the path, click the following article number to view the article in the Microsoft Knowledge Base:
139427
Using long filenames with the Run command
For more information about how to deploy Visio 2002, see the Microsoft Visio 2002 Resource Kit. To view the Visio 2002 Resource Kit, visit the following Microsoft Web site: