"VC Package not available or not registered"
This behavior can occur even after what appears to be a successful installatio
n.
CAUSE
This behavior seems to occur because the Windows Installer does not register T
LBs and DLLs if the installer finds that these items already exist. In most ca
ses, a previous version of Visual Studio .NET causes this behavior, even if th
e previous installation was under a different operating system.
RESOLUTION
To resolve the problem, run the Visual Studio .NET repair. A repair is more ef
fective for fixing this issue because the repair process forces registration o
f items that are not re-registered during an install.
To run the repair, follow these steps:
On the Start menu, point to Settings, click Control Panel, and then click Add/
Remove Programs.
On the list of installed programs, click Visual Studio .NET, and then click Ch
ange.
Click the second item in the 1 2 3 Visual Studio Setup dialog box.
Click Repair/Re-install, and then follow the onscreen instructions.
MORE INFORMATION
Steps to Reproduce the Behavior
To reproduce the problem, it is best to have two operating systems installed o
n separate partitions. Two installations of Windows XP Professional will work.
Install Visual Studio .NET under one operating system.
Install Visual Studio .NET under the other operating system; change the defaul
t location to match the installation location of the first installation.
Both installs report as successful.
Start the copy of Visual Studio .NET that you installed in step 2.
This type of installation is never recommended. Even if the installation selec
tions are exactly the same, and you can save disk space by performing this typ
e of installation, the potential for problems is high. If one installation cha
nges files and registry entries, these changes are not recorded by the other i
nstallation, which creates a substantial risk for unexpected results.
The information in this article applies to:
Microsoft Visual Studio .NET (2002), Professional Edition
Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
Microsoft Visual Studio .NET (2002), Academic Edition
Microsoft Visual C++ .NET (2002)
Microsoft Visual Basic .NET (2002)
Microsoft Visual C# .NET (2002)
Microsoft Visual J# .NET (2002)