OFFXP: Running Setup with /ju Switch Advertises Office for All Users
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
pathSetup.exe ALLUSERS=”"
where path 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.
- 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:
- Start the Custom Installation Wizard.
- 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.
- In Step 3 of the wizard, select the Create a new MST file option, and click Next.
- In Step 4 of the wizard, type a path and file name for your transform file (.mst), and click Next.
- 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.
- In the Value list, click Clear property. Click OK.
- Click Finish.
- Note the command line provided in the last dialog box of the wizard. You will use a modified version of this to run setup.
- On the last page of the wizard, click Exit.
- As a member of the Administrators group, run setup using the following command line:
pathSetup.exe /ju Package Name.msi /t path to transformtransform name.mst
- 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.
Article ID: 298031 – Last Review: July 19, 2012 – Revision: 3.0
Applies to
- 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
Read this article:
OFFXP: Running Setup with /ju Switch Advertises Office for All Users
Recent Comments