Visual Studio Setup

Installation and containerization of the Visual Studio family of products

Blank Dialogs for .NET Framework 2.0 Patches

When you download a patch for .NET Framework 2.0 and double-click to install it, you'll find that the dialog is missing some text as in the example below. (image) This is due, in part, to a bug in Windows Installer when the ProductLanguage property is 0 in the Property table. Windows Installer contains localized string tables for some ...

Biggest Donation in History

I normally try to refrain from posting content not related to the topics covered by this blog, but this news is too wonderful to pass up.Warren Buffett - second richest person in the world after Bill Gates - is giving roughly 83% of his stock in Berkshire, which is currently about $31 billion, to the Bill and Melinda Gates ...

Windows Installer SDK Tools and UAC Prompts

When using the tools from the Windows Installer SDK you might see the following dialog on Windows Vista. (image) Windows Installer tools like msidb.exe shown here, msicert.exe, msifiler.exe, msiinfo.exe, msimerg.exe, msimsp.exe, msistuff.exe, msitran.exe, and wilogutl.exe use Windows Installer file functions. Msizap.exe is the only tool that ...

Find the Product

The Windows SDK Team instructs users how to uninstall older Platform SDK installations without the original source installation media. As part of their instructions, they write, RemoveProgram FilesMicrosoft SDK folder This is the painful part: Find all .msi that are releated to the February 2003 release in %windir%installer from the cmd ...

Cumulative Service Packs with MinorUpdateTargetRTM

Microsoft has had a long-standing policy of providing cumulative service packs - service packs that can be installed for a product whether a previous service pack for that product has been installed or not. Prior to the release of Windows Installer 3.1, minor upgrades which typically serve as service packs had to contain a pair of transforms...

Be Careful or Even Avoid Using Type 35 Custom Actions

My blog was pretty quiet for a while because of a problem we ran into regarding Windows Installer type 35 custom actions. These custom actions change the target location for a directory.Developer Division uses type 35 custom actions for vertical integration with other editions of our Visual Studio products, so that installing products with ...

Always use Unique Package Codes

It's well documented and understood that package codes should be unique for product and patch packages. The package code, also referred to as a patch code for .msp files, is a unique identifier for that package. For patches, the patch code may also be used for obsolescence, where patch codes for patches to be obsolesced are entered into the ...

Run ICE Validation and Fix Errors

Windows Installer is a powerful yet complex technology. There are a lot of rules that have to be followed to be able to successfully install, maintain, and uninstall your product and to retain the functionality and tidy clean-up capabilities of Windows Installer. To this end, Internal Consistency Evaluators (ICEs) exist to aid in validating ...