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

Article translations Article translations
Article ID: 897026 - View products that this article applies to.
Expand all | Collapse all

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

Properties

Article ID: 897026 - Last Review: April 11, 2005 - Revision: 1.0
APPLIES TO
  • Microsoft Windows Installer 2.0, 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
Keywords: 
kbinfo kbprb KB897026

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com