The AppSearch action incorrectly truncates a REG_MULTI_SZ value that contains a null value in Windows Installer (897026)



The information in this article applies to:

  • Microsoft Windows Installer, when used with:
    • Microsoft Windows Installer 1.0
    • Microsoft Windows Installer 1.1
    • Microsoft Windows Installer 1.2
    • Microsoft Windows Installer 2.0
    • Microsoft Windows Installer 3.0

SYMPTOMS

In Microsoft Windows Installer, when your package uses the AppSearch action and the RegLocator table to search for a REG_MULTI_SZ value, the AppSearch action incorrectly truncates the REG_MULTI_SZ value. This problem occurs if the REG_MULTI_SZ value contains a null value.

CAUSE

This problem occurs when you run the installation in the full UI mode. In the full UI mode, the value that is passed from the client to the service is incorrectly truncated if it contains a null value.

WORKAROUND

To work around this problem, use one of the following methods:
  • Do not use the AppSearch action to search for a REG_MULTI_SZ value that may contain a null value. Instead, use a custom action.
  • Run the installation in the limited UI mode or in the basic UI mode by using the following /qb switch at a command prompt:

    msiexec.exe /i package.msi /qb


Modification Type:MajorLast Reviewed:4/11/2005
Keywords:kbinfo kbprb KB897026 kbAudDeveloper