OFF95: Setup Switches for Office 7.0

ID: Q137391


The information in this article applies to:
  • Microsoft Office for Windows 95, version 7.0


SUMMARY

There are a number of switches that you can use with the Microsoft Office for Windows 95 Setup to accomplish different tasks.


MORE INFORMATION

The following table lists each of the Microsoft Office Setup switches and describes how the switch alters the Setup program's behavior. The arguments used with these switches are not case sensitive.


This switch           Instructs Setup to do this
--------------------------------------------------------------------------

/A                    Run in administrative mode. This switch is only
                      available from original media (that is, not from an
                      /A image).

                      NOTE: The /A and /Q flags are mutually exclusive.
--------------------------------------------------------------------------

/B<type_num>          Always suppress AppMainDlg by selecting one big
                      button list in the data field of the AppMainDlg
                      object. There should not be space after the B.

                         Invalid digit == noop.

                      The <type_num> argument refers to the type of Setup
                      that you want to perform.

                         1 = Typical

                         2 = Compact

                         3 = Custom

                         4 = Workstation/Run from CD-ROM
--------------------------------------------------------------------------

/C "<COA>"            Enter and validate the 20-character Product ID from
                      the OEM Certificate of Authorization, and replace
                      the user dialog box.

                      NOTE: The product ID is case-sensitive and you should 
                      omit the hyphens when entering the number. 
-------------------------------------------------------------------------

/F                    This performs an administrative installation using
                      short file names (ideally for Novell servers that do
                      handle long file names). This switch specifies setup
                      to only use short file names (8.3) for all file names
                      and directories. Also it needs to be separate from
                      other switches.
--------------------------------------------------------------------------

/G[#] <filename>      Generate the log file that provides details of the
                      installation. This switch needs a space between the
                      # and the file name with no quotation marks for the 
                      file name.

                      Debug only: Use /G# to dump all error messages to
                      a log. 

--------------------------------------------------------------------------

/K "<CD key>"         Enter and validate the 10-digit key from the CD-ROM
                      sticker, and replace the user dialog box that would
                      appear without this validation. This switch needs a
                      space before the "CD key" and the key in quotes
                      with no hyphen. 

--------------------------------------------------------------------------

/M#                   Specify the licensing information needed to activate
                      MLP. Setup increments the multilicense count on the
                      floppy disk by the number you specify. 

--------------------------------------------------------------------------

/N ""                 Use Win.ini Copy Disincentive Name if it exists,
                      otherwise prompt the user.

                      NOTE: This switch is not useful with /A.
--------------------------------------------------------------------------

/N "<name>"           Use Win.ini Copy Disincentive Org if it exists,
                      otherwise use the <name> value.

                      NOTE: This switch is not useful with /A.
--------------------------------------------------------------------------

/O ""                 Use Win.ini Copy Disincentive Org if it exists,
                      otherwise prompt the user. This switch needs a space
                      after the O.
--------------------------------------------------------------------------

/O <org>              Use Win.ini Copy Disincentive Org if it exists,
                      otherwise use the <org> value. This switch needs a
                      space after the O. 

--------------------------------------------------------------------------

/Q [0|1|T]            Run in quiet installation mode (batch mode—no UI).
                      Normally the Exit dialog box is still displayed (/Q
                      or /Q0).

                         /Q1 will suppress the Exit dialog box.

                         /QT will suppress all UI including the
                         background frame window and the copy gauge.

                      Assert failures will still show up in debug mode,
                      however.

                      NOTE: An administrator can modify the check box
                      state fields in the .STF file to generate a
                      customized batch mode setup.

                      NOTE: the /A and /Q flags are mutually exclusive.
--------------------------------------------------------------------------

/R                    Re-install the program.

                      NOTE: The /R and /U flags are mutually exclusive and
                      only make sense if you are running Setup in
                      maintenance mode. 

--------------------------------------------------------------------------

/T <table file>        Use a particular setup table file (STF). The default
                      is <filename>.STF, where <filename> is the eight-
                      letter file name of the executable file
                      (<filename>.exe). This switch needs a space between
                      the T and the table file. The full path of the .stf
                      file is recommended, especially in cases where the
                      .stf is not in the same directory as the setup.exe
                      program, as when installing from a CD-ROM.
--------------------------------------------------------------------------

/U[A]                 Uninstall the program. If /Q is also specified, the
                      user will not be prompted about removing shared
                      components by default. /UA will always remove shared
                      components without prompting the user.

                      NOTE: The /R and /U flags are mutually exclusive and
                      only make sense if you are running Setup in
                      maintenance mode.
--------------------------------------------------------------------------

/Y                    Do not copy files. This switch is useful when you
                      are trying to track down problems that occur after
                      the (time-consuming) step of copying the files.
--------------------------------------------------------------------------

/Z                    Optional UI hook DLL for replacement dialog boxes
                      (Consumer). 

--------------------------------------------------------------------------

/?                    Display a usage message.
-------------------------------------------------------------------------- 

Additional query words: compliance checking ccp setup format drive volume serial multiple prompt word7 word95

Keywords : offwin offwinsetup
Version : WINDOWS:7.0
Platform : WINDOWS
Issue type : kbinfo


Last Reviewed: June 21, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.