Microsoft KB Archive/304886

= Visio2002: Running Setup with /ju Switch Advertises Visio for All Users =

Article ID: 304886

Article Last Modified on 7/27/2006

-

APPLIES TO

 Microsoft Visio 2002 Standard Edition, when used with:  Microsoft Windows 2000 Standard Edition

 Microsoft Windows NT 4.0  Microsoft Visio 2002 Professional Edition, when used with:  Microsoft Windows 2000 Standard Edition

 Microsoft Windows NT 4.0</li></ul> </li></ul>

-

<div class="notice_section">

This article was previously published under Q304886

<div class="notice_section">

<div class="symptoms_section">

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.

<div class="cause_section">

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.

<div class="resolution_section">

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: <ol> Log on as a member of the Administrators group.</li> On the Windows Start menu, click Run.</li> In the Open box, type the following command line

\Setup.exe ALLUSERS=&quot;&quot;

where  is the path to the installation point.</li> Click OK.</li> Choose your setup options in the Setup dialog boxes.</li> If you are prompted to restart Windows after Setup has finished, click Yes.</li> After the computer has restarted, log on as the same user.</li></ol>

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=&quot;&quot; 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: <ol> Start the Custom Installation Wizard.</li> Locate and select the .msi file where   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.</li> In the third step of the wizard, select the Create a new MST file option and click Next.</li> In the fourth step of the wizard, type a path and file name for your transform file (.mst) and click Next.</li> 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.</li> In the Value list, click Clear property. Click OK.</li> Click Finish.</li> <li>Note the command line provided in the last dialog box of the wizard. You will use a modified version of this to run setup.</li> <li>On the last page of the wizard, click Exit.</li> <li>As a member of the Administrators group, run Setup by using the following command line:

\Setup.exe /ju .msi /t  \ .mst

</li> <li>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.</li></ol>

NOTE: If you saved your transform in the same folder as .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.

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

<div class="moreinformation_section">

MORE INFORMATION
For more information about deploying Visio 2002 in an enterprise environment, please see the following Microsoft Web site:

http://www.microsoft.com/office/visio/techinfo/resourcekit.htm

Additional query words: profile

Keywords: kbbug kbnofix KB304886

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.