Showing results for Custom Actions Archives - Page 2 of 2 - Visual Studio Setup

Jul 12, 2007
0
0

Installing to TARGETDIR

Heath Stewart
Heath Stewart

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, this is the only root directory on the file system. The directory structure in the Directory tabl...

InstallationCustom Actions
Jul 12, 2007
0
0

Immediate Custom Actions Always Impersonate

Heath Stewart
Heath Stewart

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 credentials. This means, of course, that in over-the-shoulder elevation when administrative cred...

InstallationCustom ActionsUAC
May 31, 2007
0
0

Windows Installer Errors 2738 and 2739 with Script Custom Actions

Heath Stewart
Heath Stewart

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, which read: As some people have found, re-registering the runtime libraries vbscript.dll and jsc...

InstallationCustom ActionsScript
Apr 20, 2007
0
0

Custom Action Guidelines

Heath Stewart
Heath Stewart

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): How do you know what's natively supported? Those who know me already know what I'm going to say: read the docs. The Windows Installer SDK has some information if you look for it, and ...

InstallationDevelopmentLogging
Dec 21, 2006
0
0

Installation Guidelines for User-editable Configuration

Heath Stewart
Heath Stewart

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 during repair. Windows Installer is a data-driven installation technology. Installing a patch on...

InstallationDevelopmentCustom Actions