Visual Studio Setup

Installation and containerization of the Visual Studio family of products

Deploying Crystal Reports with your Managed Application

A common problem I see in various developer forums is trying to build an installation package with the Crystal Reports merge modules or running an application with Crystal Reports on another machine is that the registration code is often forgotten. You may see an error like the following on another machine where Crystal Reports has not been ...

The Dangers of ARPSYSTEMCOMPONENT

Back in March I wrote about the dangers of using the and registry keys. This is another post to help you avoid some other pitfalls.The property in Windows Installer does not actually do anything directly to your installation — Windows Installer doesn't even check for it. What does happen, however, is that the Add/Remove Programs (ARP...

Compact Your VHD Files

Many times it's necessary to debug solutions on other machines so that you don't corrupt your developer machine, because of different platform requirements, or to attach a debugger without changing the state of the machine. Testing Windows Installer patches is no different. We test on daily target builds using daily upgrade builds. Installing ...

Answers to Windows Installer Issues

A few weeks ago the Windows Installer team started blogging. Over the course of last week Robert Flaming — now a PM for the Windows Installer team — posted a number of helpful troubleshooting tips that are generated in part from an internal discussion alias. Most teams within Microsoft use Windows Installer so the internal ...

Latest Runtime Loaded when Hosting Managed Controls in IE

I previously mentioned how I worked on a project that deploys managed applications via the Internet or an intranet. Some of my initial research was into hosting managed controls in Internet Explorer. The .NET Framework 1.0 originally granted no permissions to the Internet_Zone code group so we had to deploy a small setup that used a custom ...

The INSERT/UPDATE Problem for Transforms in MSI

QA uncovered a problem when testing our patches for .NET Framework 1.0 and 1.1 lately that will ship with an updated binary that now runs as a service under Windows NT platforms. The file version was incremented but in the log file we saw the following:MSI (s) (3F:2B): Executing op: FileCopy(SourceName=netfxupd.exe|netfxupdate.exe, ...

Updating Assemblies In-place with MSI

A frequently-asked question is how to install an assembly into the Global Assembly Cache (GAC) and overwrite the old assembly that has the same strong name. This is known as in-place updating.The first answer is "don't". Besides being a trusted global store for managed assemblies that is intrinsic to assembly resolution, the GAC also...

Windows Installer 3.1 Redux

Last night the Windows Installer 3.1 redistributable was uploaded back onto the Microsoft Download Center. Version 2 of the redistributable addresses the issue where Windows Installer 3.1 would fail when trying to silently update a file under Windows File Protection...