Visual Studio Setup

Installation and containerization of the Visual Studio family of products

Workaround for Error 2902 with Microsoft Visual Studio 2005 Tools for the Microsoft Office System

When installing Visual Studio 2005 Service Pack 1 on Microsoft Visual Studio 2005 Tools for the Microsoft Office System, you might see an error that reads, The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2902. The arguments are: ixoRegAddValue, , You ...

How to Safely Delete Orphaned Patches

If Visual Studio 2005 Service Pack 1 fails to install, you might find additional .msp files under %WINDIR%\Installer for each failed attempt. You should not simply delete these patches, however, because if one of the patches was applied successfully to one target product, deleting that patch will cause future maintenance installs – including...

The Patch Cache and Freeing Space

When you install a patch using Windows Installer, the .msp file is cached in the %WINDIR%\Installer directory. This accounts for some of the space required by Visual Studio 2005 Service Pack 1. A single patch is cached only once regardless to how many products the patch applies. Starting with Windows Installer 3.0, any patches that contain ...

Known Issues with Visual Studio 2005 Service Pack 1

There are several known issues when installing Visual Studio 2005 Service Pack 1. I've documented these below and, when possible, have included workarounds and status on any pending fixes. Contents Error 1718.File '...' was rejected by digital signature policy Install Rolls Back and Breaks Applications like Live Messenger Visual Studio 2005 ...

Workaround for Error 1718

When installing Visual Studio 2005 Service Pack 1, you may see an error like the following (file name will vary): Error 1718.File D:WINDOWSInstaller50baad.msp was rejected by digital signature policy. Knowledge Base article 925336 had originally documented instructions using the Local Security Policy UI to work around this issue based on my ...

Uninstall Visual Studio 2005 Service Pack 1 Beta before Installing the Release

Before installing the release of Visual Studio 2005 Service Pack 1, you must uninstall the Service Pack 1 Beta. If you do not uninstall the beta first, you will receive the following message localized appropriately for Windows, "The upgrade patch cannot be installed by the Windows Installer service because the program to be upgraded may be ...

Detecting Visual Studio 2005 Service Pack 1

Now that Visual Studio 2005 Service Pack 1 is released, it can be detected programmatically in various ways. Registry detection is recommended for ease and is less impacted by future changes to the product installation. Because there are many different Visual Studio 2005 editions and service pack 1 patch packages, you may need to perform ...

Slipstreaming Visual Studio 2005 Service Pack 1

Now that Visual Studio 2005 Service Pack 1 is released, some are wondering how to slipstream the patch so they can install Visual Studio 2005 with SP1 already applied. Much of this process is standard practice for Windows Installer packages. Please note this will require a lot of disk space, as you’re unpacking around 3 GB – and ...

Save Time and Space for VS 2005 SP1 by Disabling the Patch Cache

The upcoming Visual Studio 2005 Service Pack 1 can take a while to install and can require a lot of disk installed, and even more disk space while installing the patch. You can save a little of both by disabling the Windows Installer patch caching feature. Before doing so, understand that this patch cache contains copies of the files that were...