microsoft.com Home  
Microsoft
http://www.microsoft.com/office/ork  
Microsoft Office 2000 Resource Kit Home
 Deploying Office 2000
 Installing Office 2000 in Your Organization
 Installing Special Configurations of Office 2000
Deploying Office in a Multinational Setting
Supporting Users Who Travel Between Computers
Deploying Outlook 2000
Installing PhotoDraw with Office
 Customizing Your Office 2000 Installation
 Behind the Scenes - Office 2000 Installation Tools
 Overview of Tools and Utilities
Glossary
Index
Installing PhotoDraw with Office

Using Command-Line Options with Acme Setup

You can run the Microsoft PhotoDraw Setup program from a command line. If you run Setup from a command line, you can add parameters that allow you to specify certain options. For example, you can use a command-line option to limit the amount of interaction that users have with Setup when they install PhotoDraw.

To run Setup from a command line

  1. On the Start menu, click Run.
  2. Type the location from which you are installing, and then type setup. For example:

    E:\Photodrw\Setup

If you want to add a command-line option, type it after the command. For example, to run Setup in administrative mode, type the following command line:

E:\Photodrw\Setup /a

Top

Definitions of Acme Setup command-line options

The following list shows the command-line options recognized by the PhotoDraw Acme Setup program.

/a   Creates an administrative installation point.

/b "number"   Bypasses the Microsoft PhotoDraw Setup dialog box by preselecting the type of installation.

Option Description
1 Typical
2 Custom

/g[+] "file"   Generates a log file that records details of the Setup process. When you specify a plus sign (+), Setup appends new information to the log file instead of overwriting it.

/gc[+] "file"   Does the same as /g, except all calls and returns from custom actions are also logged, which can make the log file very large.

/k "number"   Bypasses the Setup panel for entering and validating the 10-digit CD key from the CD-ROM sticker by entering the number you specify.

/n ""   Prompts for a user name if no default user name exists in the Windows registry.

/n "name"   Specifies the user name if no default user name exists in the Windows registry.

/o ""   Prompts for an organization name if no default organization name exists in the Windows registry.

/o "organization"   Specifies the organization name if no organization name exists in the Windows registry.

/q[option]   Specifies the level of user interaction for batch mode installation:

Option Description
0 Suppresses all Setup panels except the final one. Using 0 is the same as using no argument.
1 Suppresses all Setup panels, including the final one.
t Suppresses all Setup user interface elements.

/qn[option]   Does the same as /q, except that the system is not rebooted and 0 is not a valid value. To suppress all dialog boxes except the final one, use /qn with no argument.

/r   Reinstalls PhotoDraw. Use in maintenance mode only.

/s "folder"   Overrides the default source (the folder containing Setup.exe or the source specified in the maintenance mode STF file) with the specified folder.

/u[a]   Removes PhotoDraw. If a is specified, shared components are removed without prompting the user; otherwise, the user is prompted before removing shared components. Use in maintenance mode only.

/x "file"   Creates a network installation log file for tracking the number of installations made from an administrative installation point.

/y   Proceeds normally, including setting registry entries, but does not copy any files to the user’s disk. Use this option to restore registry values or to track down processing problems.

Note   If you enter any invalid parameter, Setup displays a partial list of valid command-line options.

The following are special considerations when combining options on the same command line:

  • The /a and /q options are mutually exclusive; using both results in an error message.
  • The /n option is ignored if /a is used.
  • The /u and /r options are mutually exclusive; using both results in an error message.
  • The prompt elicited by the /u option is suppressed if /q is used, and the shared components are not removed.
  • If you use the /q option during administrative Setup, you must also use the /k option.

Top

ERRORLEVEL values

In Microsoft Windows 95/98, Setup returns one of the following values as the MS-DOS ERRORLEVEL value used to control batch file processing.

This ERRORLEVEL value Indicates this condition
0 Success
1 User quit
2 Parsing Command Line error
3 Default user or organization name error
4 External error
5 Internal error
6 Out of memory
7 Partly installed
8 Restart failed
9 Failed to run Acmeseup.exe

Topic Contents
Previous

Topic Contents   |   Previous   |   Top

  Friday, March 5, 1999
© 1999 Microsoft Corporation. All rights reserved. Terms of use.

License