Showing results for Installation Archives - Page 21 of 25 - Visual Studio Setup

Jan 23, 2006
Post comments count0
Post likes count0

Suppressing Console Windows for Custom Actions

Heath Stewart
Heath Stewart

If you have authored a custom action into your installer package and are annoyed by the console window that always pops up when the custom action runs, it's because the custom action executable is running under the console subsystem.When you link your object files with the VC++ linker you can specify the subsystem using the /SUBSYSTEM switch. If y...

Installation
Jan 23, 2006
Post comments count0
Post likes count0

Waiting to Install

Heath Stewart
Heath Stewart

If you've ever tried to install a Windows Installer package and had returned (1618) it's because the Windows Installer execution server is already processing another install, administrative install, or advertisement action. That is, Windows Installer is processing the InstallExecuteSequence table, the AdminExecuteSequence table, or the AdvtExecute...

Installation
Jan 18, 2006
Post comments count0
Post likes count0

Error 2262: Not Necessarily a Fatal Error

Heath Stewart
Heath Stewart

Someone wondered if the following found in a Windows Installer log was indeed an error:MSI (c) (A8:A0) [14:38:51:427]: Transforming table Error.MSI (c) (A8:A0) [14:38:51:427]: Note: 1: 2262 2: Error 3: -2147287038Recall from Diagnosing Installation Errors that field 1 in the second line indicates the Windows Installer error. If you look that up in ...

InstallationLoggingDiagnosing
Dec 14, 2005
Post comments count0
Post likes count0

Diagnosing Installation Errors

Heath Stewart
Heath Stewart

When problems occur when installing, repairing or patching, or uninstalling a product using Windows Installer technology, you need to be able to figure out what happened and why it happened. Dialogs that occur when the user interface is displayed can be helpful sometimes, but many times you need to look at a log to determine the exact cause of the ...

InstallationLoggingDiagnosing
Dec 2, 2005
Post comments count0
Post likes count0

Resolving Prompts for Source

Heath Stewart
Heath Stewart

When discussing the Windows Installer cache, I mentioned how cabinet streams are stripped from the .msi file when the Windows Installer package is cached, and how this is a contributing factor to prompts for source. A prompt for source will occur when repairing or patching a product if the source for a file to reinstalled is not present. This resul...

Installation
Nov 29, 2005
Post comments count0
Post likes count0

Windows Installer Cache

Heath Stewart
Heath Stewart

Windows Installer packages may contain streams identified in the Media table if the Cabinet column value begins with the number sign #, as documented for the Cabinet data type. This cabinet is embedded as a stream within the .msi file and contains files referenced in the File table using their File key column value. When packages are installed, how...

Installation
Nov 15, 2005
Post comments count1
Post likes count0

Waiting for msiexec.exe to Finish

Heath Stewart
Heath Stewart

Since Windows Installer 1.0 was first released, msiexec.exe has always run in the Windows subsystem. That means that when it is executed from the console or by a batch script control returns to the console or script immediately. If you depend upon the variable being set accordingly it won't be. In this scenario I like to use from the command line...

Installation
Nov 15, 2005
Post comments count0
Post likes count0

Windows Installer Supportability

Heath Stewart
Heath Stewart

Because newer versions of Windows Installer are released with new functionality dependent on operating system features, and older versions of Windows reach the end of their support lifecycle, different versions of Windows Installer are supported on different versions of Windows. Below is the supportability matrix for what versions of Windows Instal...

Installation
Nov 15, 2005
Post comments count0
Post likes count0

Setup Troubleshooting Guide Applicable for Patches, Too

Heath Stewart
Heath Stewart

Aaron Stebner has posted a compilation of links to many great posts about troubleshooting setup issues regarding, primarily, Visual Studio 2005 and the .NET Framework 2.0. It's important to note that much of this is relevant to patch issues, too; though, I suspect you'll see far fewer of these than with previous releases because of the many changes...

InstallationLoggingDiagnosing
Nov 10, 2005
Post comments count0
Post likes count0

Save Time when Installing Patches

Heath Stewart
Heath Stewart

Beginning with Windows Installer 3.0 you can install multiple patches at once, i.e. in a single install transaction. To do this you pass a semicolon-delimited list of fully-qualified paths to patches to the property. Windows Installer 2.0-style patches are sequenced first in the ordered specified, but then 3.0-style patches are sequenced according...

Installation64-bit