Setup "Illegal Function Call" if Manually Delete Existing File

ID Number: Q75412

1.00

WINDOWS

Summary:

If the Microsoft Visual Basic Setup program detects an existing copy

of Visual Basic already on the disk during installation, Setup will

ask whether or not you want to "Overwrite existing files?". At this

point, if you manually delete the existing files using a separate

process in Windows and then attempt to continue with the Setup, Setup

will give an "Illegal function call" error message and end without

installing Visual Basic.

Microsoft has confirmed this to be a problem with the Microsoft Visual

Basic programming system version 1.0 for Windows. We are researching

this problem and will post new information here as it becomes

available.

To work around the problem, let Setup overwrite the existing files.

More Information:

Steps to Reproduce Problem

--------------------------

1. Have an installation of Visual Basic in the \VB subdirectory of

your hard disk.

2. Run the Visual Basic SETUP.EXE program.

3. When the subdirectory path to install Visual Basic is displayed,

make sure it points to the VB subdirectory where the files already

exist. Click on Continue.

4. Do not reply to the following message:

"A previous installation of Visual Basic has been found in this

directory. Overwrite existing files?"

5. Go to the File Manager in Windows and delete the existing Visual

Basic files.

6. Return to the Visual Basic Setup and click Yes in reply to the

message.

When you reply OK to the "Illegal function call" message that appears,

Setup ends without installing Visual Basic. To work around this

behavior when Visual Basic files already exist prior to installation,

either delete those files before starting Setup or let Setup overwrite

the existing files.