Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
OFFXP: Running Setup with /ju Switch Advertises Office for All Users
Article ID: 298031 - View products that this article applies to.
This article was previously published under Q298031
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 LineUse 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:
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 PropertyNOTE: 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:
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
For more information about the Custom Installation Wizard, please see the following Microsoft Web site:
Microsoft Office Resource Kit
Article ID: 298031 - Last Review: July 19, 2012 - Revision: 3.0