Visio2002: Running Setup with /ju Switch Advertises Visio for All Users (304886)



The information in this article applies to:

  • Microsoft Visio 2002 Standard, when used with:
    • the operating system: Microsoft Windows 2000
    • the operating system: Microsoft Windows NT 4.0
  • Microsoft Visio 2002 Professional, when used with:
    • the operating system: Microsoft Windows 2000
    • the operating system: Microsoft Windows NT 4.0

This article was previously published under Q304886

SYMPTOMS

When you run Microsoft Visio 2002 setup by using the /ju command-line switch, Visio is advertised for any user who logs on to the computer rather than only for the user running Setup.

CAUSE

When you use the /ju switch, the default setting passed to the Windows Installer is ALLUSERS=2. This creates a per-machine installation using folders in the All Users profile.

RESOLUTION

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 on as the same user.
Visio 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 Visio programs.

NOTE: If another member of the Administrators group follows this procedure after you install Visio, 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 installed the Windows Desktop Update prior to running Setup, this method installs Visio as if you had chosen Installed on First Use for the entire Microsoft Visio feature set.

NOTE: You cannot use the /ju switch and the ALLUSERS="" property on the commmand line together because the /j switch ignores most switches and properties that are also on the command line. However, because the /j switch does not ignore the /t switch, you can use this method that 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, Visio.msi) and then click Next.

    NOTE: This file is typically located in the root folder of your Visio installation source.
  3. In the third step of the wizard, select the Create a new MST file option and click Next.
  4. In the fourth step 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 by using the following command line:

    path\Setup.exe /ju Package Name.msi /t path to transform\transform name.mst

  11. If you installed the Windows Desktop Update, point to Programs on the Windows Start menu, and then click Microsoft Visio.

    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 in your Visio 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.

STATUS

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 deploying Visio 2002 in an enterprise environment, please see the following Microsoft Web site:

Modification Type:MinorLast Reviewed:7/27/2006
Keywords:kbbug kbnofix KB304886