OFF2000: Running Setup with /ju Switch Advertises Office for All Users
ID: Q232955
|
The information in this article applies to:
-
Microsoft Office 2000
-
Microsoft Windows NT Workstation version 4.0
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
<path>\Setup.exe ALLUSERS=""
where <path> 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.
- 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:
- Start the Custom Installation Wizard (CIW).
- Locate and select Data1.msi from the root of your Office installation source. Click Next.
- In Step 2 of the CIW, select the Do not open an existing MST file and click Next.
- In Step 3 of the CIW, provide a path and name for your transform file (.mst), and click Next.
- Make any other settings to the transform.
- In Step 16 of the CIW, double-click ALLUSERS in the list of Properties.
- Click the Value list and select Clear property. Click OK.
- Click Finish.
- Note the command-line provided in the last dialog box of the CIW. You will use a modified version of this to run setup.
- Click Exit in the last CIW dialog box.
- As a member of the Administrators group, run setup using the following command-line:
<path>\Setup.exe /ju Data1.msi /t <path to transform>\<transform name>.mst
- 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