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

ID: Q232955


The information in this article applies to:


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:
  1. Log on as a member of the Administrators group.


  2. click Start, and click Run.


  3. In the Open box type the following command-line


  4. 
    <path>\Setup.exe ALLUSERS="" 
    where <path> is the path to the installation point.
  5. Click OK.


  6. Choose your setup options in the setup dialog boxes.


  7. Click Yes to the prompt to restart at the end of setup.


  8. 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 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:
Q217609 OFF2000: Some Switches and Properties Are Ignored When Using the /j Switch
To use a transform, follow these steps:
  1. Start the Custom Installation Wizard (CIW).


  2. Locate and select Data1.msi from the root of your Office installation source. Click Next.


  3. In Step 2 of the CIW, select the Do not open an existing MST file and click Next.


  4. In Step 3 of the CIW, provide a path and name for your transform file (.mst), and click Next.


  5. Make any other settings to the transform.


  6. In Step 16 of the CIW, double-click ALLUSERS in the list of Properties.


  7. Click the Value list and select Clear property. Click OK.


  8. Click Finish.


  9. Note the command-line provided in the last dialog box of the CIW. You will use a modified version of this to run setup.


  10. Click Exit in the last CIW dialog box.


  11. As a member of the Administrators group, run setup using the following command-line:


  12. 
    <path>\Setup.exe /ju Data1.msi /t <path to transform>\<transform name>.mst 
  13. 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.


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.


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          : 
Version           : WINDOWS:2000; winnt:4.0
Platform          : WINDOWS winnt 
Issue type        : kbprb 

Last Reviewed: August 3, 1999