Microsoft KB Archive/297898

= OFFXP: Some Switches and Properties Are Ignored When Using the /j Switch =

Article ID: 297898

Article Last Modified on 12/4/2007

-

APPLIES TO


 * Microsoft Office XP Professional Edition
 * Microsoft Office XP Small Business Edition
 * Microsoft Office XP Standard Edition
 * Microsoft Office XP Standard Edition for Students and Teachers
 * Microsoft Office XP Developer Edition
 * Microsoft Access 2002 Standard Edition
 * Microsoft Excel 2002 Standard Edition
 * Microsoft FrontPage 2002 Standard Edition
 * Microsoft Outlook 2002 Standard Edition
 * Microsoft PowerPoint 2002 Standard Edition
 * Microsoft Word 2002 Standard Edition

-



This article was previously published under Q297898



For a Microsoft Office 2000 version of this article, see 217609.



SYMPTOMS
When you run Office Setup by using a command line that includes the /j switch (/jm or /ju), some command-line properties or switches are ignored. For example, some switches are ignored if you use the following command line to start Setup

\Setup.exe /jm .msi companyname=&quot;My Company&quot; /le c:\Officelog.txt

where  is the location of the installation point and  .mst is the name of the Windows Installer .msi package (for example, Proplus.msi).

When you first start an Office program a dialog box appears showing you user information. The Organization name box will not contain the company name you specified on the command line (for example, My Company). However, the Officelog.txt file will be created on the root of the C: drive.

NOTE: You will not see any notification that the switches or properties are being ignored.



CAUSE
When you run Setup using the /j switch, only a few command-line switches are applied during Setup. The following table lists the switches that are not ignored when you use the /j switch:   Switch           Function ---  /wait            Setup.exe waits for Msiexec.exe to complete before terminating.

/settings       Used to specify an alternative file to the default Setup.ini file.

/l              Used to specify logging options. Must also include a                    path to the log file.

/q              Used to run Setup in Quiet mode.

/autorun        Used to indicate that Windows runs Setup automatically when you insert the Office CD into the CD-ROM or                    DVD-ROM drive.



MORE INFORMATION
For a complete description of the command-line switches and properties for Office, see the following Microsoft Web site:

http://www.microsoft.com/office/ork/xp/default.htm

You can also download supplemental information (Orkdocs.exe) from the following Microsoft Web site:

http://www.microsoft.com/office/ork/xp/appndx/appa17.htm

After you download the Orkdocs.exe file, double-click it to extract the files. The Setupref.doc file comtains a complete list of the Setup command-line switches and properties.

Additional query words: prb OFFXP

Keywords: kbprb KB297898

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.