Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Custom Actions   (RSS)

Why Windows Installer May Require so much Disk Space

Windows Installer is an engine for performing transactional installations. When installing a product for the fist time, most often few or no files to be installed are already present on the machine. But when upgrading or patching a product, most often

Windows Installer 4.5 Beta 2 Available

The Windows Installer team released Windows Installer 4.5 Beta 2 recently. While not a lot has visibly changed since the first beta for which I provided an overview , it's important to note that a new column was added to the CustomAction table since changes

Debugging Custom Actions: Leaked Handles

Debugging custom actions isn't exactly the easiest action to do; Windows Installer spawns separate processes - remoting servers - to run in-process custom actions. Any opportunity to diagnose issues without debugging can be helpful. For example, an issue

Different Packages are Required for Different Processor Architectures

A common question is how to create a Windows Installer package that installs 32-bit binaries on 32-bit platforms, and both 32- and 64-bit binaries on 64-bit platforms. If you're actually trying to install 64-bit binaries to appropriate directories and

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

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

What's New in Windows Installer 4.5: Overview

The What's New section of the Windows Installer 4.5 CHM available in the downloads section of the Windows Installer 4.5 Beta Connect site has technical details of new functionality and changes as usual, but now that we can talk about Windows Installer

Installing to TARGETDIR

The TARGETDIR property , paired with the SourceDir property in the Directory table , determines the root directory into which all files are copied unless otherwise located. During an administrative installation when all files are extracted the TARGETDIR,

Immediate Custom Actions Always Impersonate

Windows Installer is a client/server application. When you install a package using msiexec.exe - which is executed by default in response to shell verbs such as Install - or APIs like MsiInstallProduct the package is initially processed under the user's

Windows Installer Errors 2738 and 2739 with Script Custom Actions

Windows Script custom actions should be avoided . They are difficult to debug, get blocked by virus scanners, and are far more susceptible to machine state than native custom actions. That is indicated by Windows Installer error messages 2738 and 2739,

Custom Action Guidelines

Rob Mensching, father of Windows Installer XML (WiX), blogs about why managed custom actions are a bad idea . Aaron Stebner follows up by saying (and has said before ): "Avoid custom actions entirely if at all possible. "Investigate the WiX build-in custom

Installation Guidelines for User-editable Configuration

A common problem with installations is user-editable files and registry keys. Configuration of this nature is a problem for every installer technology, but here are some guidelines to help developers overcome problems like users' preferences being reset
 
Page view tracker