"Settings file <path>\Setup.INI is missing or invalid" error message when you try to run the Visio 2002 Setup program (302760)



The information in this article applies to:

  • Microsoft Visio 2002 Standard
  • Microsoft Visio 2002 Professional

This article was previously published under Q302760

SYMPTOMS

When you try to run Microsoft Visio Setup, you may receive the following error message:
Microsoft Visio Setup

Settings file path\Setup.INI is missing or invalid. Please ensure this file exists and is accessible.
In this example, path is the path to the location of the Visio Setup.ini file.

CAUSE

This behavior occurs if you install Visio from an administrative installation point, and the Setup INI Customization Wizard in the Microsoft Office XP Office Resource Kit (ORK) was used to customize the Visio Setup.ini file when the administrative installation point was created. When you customize the installation process by using the wizard to rename the original Setup.ini file, make changes to the file, and then save the resulting file as Setup.ini, the wizard does not modify the Setup.ini file as expected.

This error message occurs because the Setup INI Customization Wizard incorrectly modifies the following entry in the Visio Setup.ini file

from:

[Options]
SHORTFILENAMES=""

to:

[Options]
SHORTFILENAMES=

Note that the double quotes ("") are removed from the SHORTFILENAMES="" line. When the double quotes ("") are missing, the value changes from "null" to "invalid." As a result, Visio Setup interprets this as an invalid setting, and you receive the error message described in the "Symptoms" section of this article.

RESOLUTION

To resolve this issue, use Notepad to correct the Setup.ini file. To do this, follow these steps:
  1. Click Start, point to Programs, point to Accessories, and then click Notepad.
  2. On the File menu, click Open.
  3. Browse to the Visio Setup.ini file that you customized, and then click Open.
  4. Locate the following entry:

    [Options]
    SHORTFILENAMES=

  5. Type "" at the end of the SHORTFILENAMES= line to change the entry to the following:

    [Options]
    SHORTFILENAMES=""

  6. Click Save on the File menu, and then quit Notepad.
  7. Run Visio Setup.

MORE INFORMATION

The Setup INI Customization Wizard is installed by default when you run the Microsoft Office XP Resource Kit Setup program.

To download the Microsoft Office XP Resource Kit Toolbox, browse to the following Microsoft Web site: Setup.exe reads the Setup.ini file, and then writes tasks to the Windows registry based on the information contained in the file. You can use the Setup INI Customization Wizard to customize Setup.ini or create your own custom INI files to control many aspects of the installation process. Setup.ini is located in the Files\Setup folder of the administrative installation point. When you use the Setup INI Customization Wizard to specify your modifications, the wizard automatically writes the information to the appropriate sections of the .ini file. The wizard provides an easy method of adding information to the Setup.ini file. If necessary, you can then make any final customizations by using a text editor, such as Notepad.

For more information about using the Setup INI Customization Wizard, refer to the Microsoft Office XP Resource Kit (ORK), available at the following Microsoft Web site: For more information about deploying Visio, refer to the Microsoft Visio 2002 Resource Kit (VRK). The VRK is available for download from the following Microsoft Web site:

Modification Type:MinorLast Reviewed:7/27/2006
Keywords:kbsetup kbtshoot kbbug kberrmsg kbnofix KB302760