Microsoft KB Archive/298031

= OFFXP: Running Setup with /ju Switch Advertises Office for All Users =

Article ID: 298031

Article Last Modified on 12/4/2007

-

APPLIES TO


 * Microsoft Windows NT 4.0
 * Microsoft Windows 2000 Standard Edition
 * 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 Q298031



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



SYMPTOMS
When you run Office setup by using the /ju command-line switch, Office is advertised for any user who logs on to the computer rather than for the user running Setup.



CAUSE
When you use the /ju switch, the default setting passed to the Windows Installer is ALLUSERS=2. This will create a per-machine installation using folders in the All Users profile.



WORKAROUND
To work around this problem, use either of the following methods.

Method 1: Pass the ALLUSERS Property on the Command Line
Use this method to create a per-user installation. You cannot use this method in conjunction with the /ju switch. You will see the complete setup interface when you use this method.

To use the ALLUSERS property on the command line, follow these steps:  Log on as a member of the Administrators group. On the Windows Start menu, click Run. In the Open box, type the following command line

\Setup.exe ALLUSERS=&quot;&quot;

where  is the path to the installation point. Click OK. Choose your setup options in the Setup dialog boxes. If you are prompted to restart Windows after Setup has finished, click Yes.</li> After the computer has restarted, log in as the same user.</li></ol>

Office will be installed with the options you chose. If you log off and then log back on as another user, you will not have access to the Office programs.

NOTE: If another member of the Administrators group follows this procedure after you installed Office by using the ALLUSERS=&quot;&quot; property, he/she will not be able to choose an install folder different from the folder you selected.

Method 2: Use a Transform that Includes the ALLUSERS Property
NOTE: If the Windows Desktop Update is not installed, use Method 1.

Use this method in conjunction with the /ju switch. You will not see any Setup interface with this method. If you have the Windows Desktop Update installed prior to running Setup, then this method installs Office as if you had chosen Installed on First Use for the entire Microsoft Office feature set.

NOTE: You cannot use the /ju switch and the ALLUSERS=&quot;&quot; property on the commmand line together because the /j switch will ignore most switches and properties that are also on the command line. However, this does not include the /t switch, which is why this method uses a transform.

To use a transform, follow these steps: <ol> Start the Custom Installation Wizard.</li> Locate and select the .msi file where   is the name of the Windows Installer .msi package (for example, Proplus.msi) and then click Next.

NOTE: This file is typically located in the root folder of your Office installation source.</li> In Step 3 of the wizard, select the Create a new MST file option, and click Next.</li> In Step 4 of the wizard, type a path and file name for your transform file (.mst), and click Next.</li> Proceed through the remaining steps of the wizard, setting any other options you want. In Step 21 of the wizard, in the Properties list, double-click ALLUSERS.</li> In the Value list, click Clear property. Click OK.</li> Click Finish.</li> Note the command line provided in the last dialog box of the wizard. You will use a modified version of this to run setup.</li> On the last page of the wizard, click Exit.</li> As a member of the Administrators group, run setup using the following command line:

\Setup.exe /ju .msi /t  \ .mst

</li> If you have the Windows Desktop Update installed, click any of the Office shortcuts on the Programs menu. The Windows Installer will start and finish the installation of the program you started.</li></ol>

NOTE: If you saved your transform in the same folder as .msi on your Office source location, then you do not have to specify a path to the transform in the above command line. Just provide the name of the transform after the /t switch.

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

<div class="moreinformation_section">

MORE INFORMATION
For more information about the Custom Installation Wizard, please see the following Microsoft Web site:

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

Additional query words: OFFXP

Keywords: kbbug kbnofix KB298031

-

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

© Microsoft Corporation. All rights reserved.