Wednesday, October 28, 2009

Troubleshoot Installshield installs

You can use Windows Installer logging to figure out what's going on with that pesky InstallShield installation.

  1. Open/run regedit and navigate to the following path:
    HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer
  2. Add the following string value to the Installer directory: Logging
  3. Add the following data/value to the Logging string value: voicewarmup

    The letters in the value field can be in any order. Each letter turns on a different logging mode. Each letter's actual function is as follows for MSI version 1.1:
    v - Verbose output
    o - Out-of-disk-space messages
    i - Status messages
    c - Initial UI parameters
    e - All error messages
    w - Non-fatal warnings
    a - Start up of actions
    r - Action-specific records
    m - Out-of-memory or fatal exit information
    u - User requests
    p - Terminal properties
    + - Append to existing file
    ! - Flush each line to the log

Once the registry change is made your new installer logging will show up in your Temp directory (temp is defined by the temp system variable). The log in the directory will have a name that starts with the letters MSI and will be followed a random number.

No comments: