Microsoft KB Archive/302760

= &quot;Settings file \Setup.INI is missing or invalid&quot; error message when you try to run the Visio 2002 Setup program =

Article ID: 302760

Article Last Modified on 7/27/2006

-

APPLIES TO


 * Microsoft Visio 2002 Standard Edition
 * Microsoft Visio 2002 Professional Edition

-



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 \Setup.INI is missing or invalid. Please ensure this file exists and is accessible.

In this example,  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=&quot;&quot;

to:

[Options]

SHORTFILENAMES=

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



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

[Options]

SHORTFILENAMES=

 Type &quot;&quot; at the end of the SHORTFILENAMES= line to change the entry to the following:

[Options]

SHORTFILENAMES=&quot;&quot;

 Click Save on the File menu, and then quit Notepad.</li> Run Visio Setup.</li></ol>

<div class="moreinformation_section">

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:

http://www.microsoft.com/office/ork/xp/appndx/appc00.htm

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:

http://www.microsoft.com/office/ork/xp/default.htm

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:

http://www.microsoft.com/downloads/details.aspx?FamilyID=789f348a-1cf1-4794-9f45-43d1ad4eb219&amp;DisplayLang=en

Additional query words: prb

Keywords: kbsetup kbtshoot kbbug kberrmsg kbnofix KB302760

-

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

© Microsoft Corporation. All rights reserved.