OFF95: Setup Switches for Office 7.0

Last reviewed: January 28, 1998
Article 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 can be used 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.

/F                    This performs an administrative installation using
                      short filenames (ideally for Novell servers that do
                      handle long filenames). This switch specifies setup
                      to only use short filenames (8.3) for all filenames
                      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 filename with no quotes for the filename.

                      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
                      before the "CD key".

/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 filename 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: 7.00 compliance checking ccp setup format drive
volume serial multiple prompt word7 word95

Keywords : offwin OffWinSetup kbsetup kbusage
Version : 7.0
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 28, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.