Microsoft KB Archive/232955

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

Article ID: 232955

Article Last Modified on 1/24/2007

-

APPLIES TO


 * Microsoft Windows NT 4.0
 * Microsoft Office 2000 Premium Edition
 * Microsoft Office 2000 Professional Edition
 * Microsoft Office 2000 Standard Edition
 * Microsoft Office 2000 Small Business Edition
 * Microsoft Office 2000 Developer Edition
 * Microsoft Access 2000 Standard Edition
 * Microsoft Excel 2000 Standard Edition
 * Microsoft FrontPage 2000 Standard Edition
 * Microsoft Outlook 2000 Standard Edition
 * Microsoft PowerPoint 2000 Standard Edition
 * Microsoft Word 2000 Standard Edition

-



This article was previously published under Q232955



SYMPTOMS
When you run Office setup using the /ju command-line switch, Office is not advertised for only the user running setup, instead, any user who logs on to the computer can use the Office programs.



CAUSE
When the /ju switch is used, 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
There are two workarounds for this issue.

Method 1: Pass the ALLUSERS Property on the Command-line
This method can be used to create a per-user installation, however, it cannot be used in conjunction with the /ju switch. You will also see the complete setup interface when you use this method.

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

 \Setup.exe ALLUSERS="" where is the path to the installation point.

 Click OK. Choose your setup options in the setup dialog boxes. Click Yes to the prompt to restart at the end of setup.</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 log in as another user, you will not have access to the Office programs.

NOTE: If another member of the Administrators group follows the above steps after you have already installed Office using ALLUSERS="", they 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
If you do not have the Windows Desktop Update installed, then use Method 1.

This method can be used 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.

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

For more information about the /j switch ignoring other command-line switches and properties, see the following article in the Microsoft Knowledge Base:

217609 OFF2000: Some Switches and Properties Are Ignored When Using the /j Switch

To use a transform, follow these steps: <ol> Start the Custom Installation Wizard (CIW).</li> Locate and select Data1.msi from the root of your Office installation source. Click Next.</li> In Step 2 of the CIW, select the Do not open an existing MST file and click Next.</li> In Step 3 of the CIW, provide a path and name for your transform file (.mst), and click Next.</li> Make any other settings to the transform.</li> In Step 16 of the CIW, double-click ALLUSERS in the list of Properties.</li> Click the Value list and select Clear property. Click OK.</li> Click Finish.</li> Note the command-line provided in the last dialog box of the CIW. You will use a modified version of this to run setup.</li> Click Exit in the last CIW dialog box.</li> As a member of the Administrators group, run setup using the following command-line:

<pre class="fixed_text"> \Setup.exe /ju Data1.msi /t \ .mst

</li> If you have the Windows Desktop Update installed, then 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 Data1.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="moreinformation_section">

MORE INFORMATION
For more information about the Custom Installation Wizard, please see the Microsoft Office 2000 Resource Kit at:

http://www.microsoft.com/office/ork

Additional query words: XL2000 OFF2000

Keywords: kbprb KB232955

-

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

© Microsoft Corporation. All rights reserved.