Integration Hurdles for EXE Custom Actions

A while back, two sets of engineers were arguing whether simply calling an EXE custom action would be good enough for Windows Installer based package.  The first team with the EXE didn’t want to do the work to move to Windows Installer but they really wanted the second team to take a dependency.  The team…

11

A starting point for Windows Installer 4.5 embedded UI?

A few questions have come in asking for a starting point for building a Windows Installer 4.5 Embedded UI. Feature Design As we put together the ideas behind the Embedded UI features, we aspired to provide a simple extension off the preexisting features in the Windows Installer platform. Simple Starting Idea When we started designing…

1

Arbitrary labels used as Primary keys must not be changed between versions

Summary Msi Editing tools that write auto generated references inside installer tables may cause unnecessary content to be included inside a patch.  ‘Patching’ components with unchanged content may cause them to be uninstalled when the patch is removed thereby breaking the original application.   Scenario  “I create a small patch for my product.   When I selectively…

10

Windows Installer and Restart Manager: MSI Files-In-Use V2

Introduction Files-In-Use functionality is among the countless services that Windows Installer exposes for setup authors to leverage for their application install/maintenance. This functionality lets setup authors display the processes that hold on to files that would be updated by this install. The user would want to shut those processes before continuing with the install to…

8

Restart Manager video available on Channel 9

Hello everyone — As many of you know, one of the great new features Windows Installer supports on Windows Vista is Restart Manager. I just ran across a video on Channel 9 that provides a lot of good information on how to make your application “Restart Manager Aware.” Good viewing if you are planning on supporting…

1

Check out the UAC video on Channel 9

Channel 9 did an interview with Steve Hiskey and Jon Schwartz on the UAC team. Check out the video here if you want to learn more about UAC. [Author: Tyler Robinson] This posting is provided “AS IS” with no warranties, and confers no rights. Use of included script samples are subject to the terms specified…

1

Windows Installer Troubleshooting Tips from First Week of November

Question 1 What is the correct way to find whether a certain product (msi based setup) is installed on the machine? Answer 1 Searching for Existing Applications, Files, Registry Entries or .ini File Entries [Windows Installer] lists the built-in detect methods. In this case, the CompLocator Table [Windows Installer] is intended to have the needed…

2

Windows Installer Troubleshooting Tips From Halloween

Question 1In my lab automation that silently installs Windows Installer packages. This automation is inconsistently getting Error 1618 from its msiexec calls. Please help unblock this scenario as it’s inhibiting our push to ship. Troubleshooting 1First, start with the MSDN Library and run a search for “windows installer” 1618. This query (when I click it) turns…

7

Authoring to Windows Installer 4.0 Features mentioned at PDC 2005

As Tyler recently mentioned, you can find the Professional Developers Conference 2005 session and presentation of the Windows Installer 4.0. Here’s a preliminary view of how to author to these features. Note: This documentation is preliminary and is subject to change. Restart Manager Support As Tyler presented in the slide titled “Windows Installer 4.0: Fewer…

5

How do I get the Escape key to work on a Windows Installer dialog?

Question How do I get the Escape key to work on a Windows Installer dialog? Answer Edit the Dialog table, go to the record that contains the dialog and enter your No/Cancel button’s key (Name field in Control table) into the Control_Cancel field. [Author: Robert Flaming] This posting is provided “AS IS” with no warranties,…

0