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

This article was previously published under Q298031
This article has been archived. It is offered "as is" and will no longer be updated.

For a Microsoft Office 2000 version of this article, see 232955.
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.
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.
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:
  1. Log on as a member of the Administrators group.
  2. On the Windows Start menu, click Run.
  3. In the Open box, type the following command line
    path\Setup.exe ALLUSERS=""
    where path is the path to the installation point.
  4. Click OK.
  5. Choose your setup options in the Setup dialog boxes.
  6. If you are prompted to restart Windows after Setup has finished, click Yes.
  7. After the computer has restarted, log in as the same user.
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="" 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="" 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:
  1. Start the Custom Installation Wizard.
  2. Locate and select the Package Name.msi file where Package Name 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.
  3. In Step 3 of the wizard, select the Create a new MST file option, and click Next.
  4. In Step 4 of the wizard, type a path and file name for your transform file (.mst), and click Next.
  5. 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.
  6. In the Value list, click Clear property. Click OK.
  7. Click Finish.
  8. Note the command line provided in the last dialog box of the wizard. You will use a modified version of this to run setup.
  9. On the last page of the wizard, click Exit.
  10. As a member of the Administrators group, run setup using the following command line:
    path\Setup.exe /ju Package Name.msi /t path to transform\transform name.mst
  11. 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.
NOTE: If you saved your transform in the same folder as package name.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.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
More information
For more information about the Custom Installation Wizard, please see the following Microsoft Web site:

Article ID: 298031 - Last Review: 02/27/2014 21:08:32 - Revision: 3.0

  • Microsoft Office XP Professional Edition
  • Microsoft Office XP Small Business Edition
  • Microsoft Office XP Standard Edition
  • 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
  • kbnosurvey kbarchive kbbug kbnofix KB298031