Posts by this author

Nov 26, 2007
Post comments count0
Post likes count0

Microsoft .NET Framework 2.0 Service Pack 1, and How to Detect It

No doubt you've heard the Microsoft .NET Framework 3.5 was released. Aaron Stebner has posted a list of links to 3.5, as well as 2.0 Service Pack 1 (SP1) and 3.0 SP1. It's important to note that if you install 3.5 you're actually getting 2.0 SP1 and 3.0 SP1 both.The .NET Framework 3.5 consists of the following: While 2.0 SP1 and 3.0 SP1 are actua...

InstallationVisual StudioWiX
Nov 20, 2007
Post comments count0
Post likes count0

How to Install TFC without PPE

Microsoft Visual Studio 2008, now available for MSDN subscribers and Express editions freely available to everyone, is a huge application. It takes a while to install and, in the case of Visual Studio 2005 Service Pack 1, a long time to patch. Installing or patching multiple copies of shared components can be time-consuming. So if you've installed ...

InstallationVisual StudioNews
Nov 6, 2007
Post comments count0
Post likes count0

AppCompat in Windows Installer

The Application Compatibility (AppCompat) platform in Windows is a powerful feature that allows for fixes on practically any program or package to be loaded on Windows. Windows Installer takes advantage of a protected database full of fixes in the form of transforms and custom action shims.While looking in a verbose Windows Installer log, you will ...

InstallationLoggingUAC
Nov 6, 2007
Post comments count0
Post likes count0

Sequencing before Versioning

File versions in Windows Installer and properties like REINSTALL and REINSTALLMODE determine what files are copied to their destination. But before files versions are even a factor, any patches being installed or already installed are sequenced first.A Windows Installer patch file, a .msp file, contains a set of transforms for one or more target pr...

Installation
Nov 3, 2007
Post comments count0
Post likes count0

Shim Database to XML

Extracts data as XML from a shim database used for application compatibility. Please leave feedback on the tool here on this page. This was developed using what little public documentation is available on MSDN as well as some experimentation at other functions that were exported from apphelp.dll, such as which I reasoned follows the same signature...

DevelopmentPages
Nov 1, 2007
Post comments count0
Post likes count0

Windows Installer Properties and Conditions

In many languages, some variables can take a value of different types but with the same meaning. Variants in script, for example, can take 0 or false; or they can take any non-zero value and true. The following JScript example prints "Same".The same is not true of Windows Installer however, and conditions must acknowledge this. Setting a property t...

InstallationScriptARPSYSTEMCOMPONENT
Oct 25, 2007
Post comments count0
Post likes count0

ResolveSource Requires Source

It might be tempting to schedule the ResolveSource action, but ResolveSource actually requires that the original installation source is available whenever it is called. If your installer package is authored correctly, source must only be resolve in cases where the original RTM files are missing or during some patch uninstall scenarios. To decrease ...

InstallationLoggingCustom Actions
Oct 24, 2007
Post comments count0
Post likes count0

EXE Custom Actions are Bad

Windows Installer custom actions that launch executables (base custom action type msidbCustomActionTypeExe, 0x2) are typically bad and should be avoided. How are they bad? Let the Windows Installer team count the ways.During internal audits we question any EXE custom actions (CAs) but inevitably some make it into the product. Typically these EXE CA...

InstallationDevelopmentLogging
Oct 18, 2007
Post comments count0
Post likes count0

Progress for New Patches

You asked. We answered. One source of problems for Visual Studio 2005 Service Pack 1 was that VS 2005 SP1 targeted multiple products, and if you had multiple target products installed - most commonly Visual Studio 2005 and SQL Server 2005 that uses our IDE - multiple instances of dialogs would spawn. Some people thought SP1 was installing again and...

InstallationVisual StudioVS2005SP1
Sep 14, 2007
Post comments count0
Post likes count0

Detection Logic fixed for KB937061 (MS07-052)

Customers have been offered KB937061 for Visual Studio 2005 Service Pack 1 from Microsoft Update when they have already installed it. The Microsoft Security Response Center blog has more information about the problem and what they have done to fix it.I wanted to add that because patches are cached according to their package code, you do not have mu...

Visual StudioDevelopmentNews