IValidate::Validate Method

Windows Installer

IValidate::Validate Method

The Validate method performs validation of the installation package or merge module using the specified internal consistency evaluator file.

Syntax

C++HRESULT Validate(
  [in, optional]  LPCWSTR szICEs
);

Parameters

szICEs [in, optional]

Optional parameter that specifies which Internal Consistency Evaluators (ICE) should run. You can specify the ICEs in a delimited list or in a custom table.

When providing a delimited list of ICEs to be run, separate the ICEs in the list by colons (:), for example, "ICE01:ICE03:ICE08".

When providing the name of a custom sequence table, the ICEs to be run can be entered in the custom table.

If the value of szICEs is NULL, all ICEs in the _ICESequence table are run. The _ICESequence table is the default table provided with orca.msi and msival2.msi.

Return Value

The method can return one of the following values.

Return code Description
S_OK

The method succeeded.

S_PENDING

The method failed.

E_FAIL

The method failed.

 

Requirements

VersionEvalcom2.dll version 3.0.3790.371 or later
HeaderEvalcom2.h
DLLEvalcom2.dll
IIDIID_IValidate is defined as E482E5C6-E31E-4143-A2E6-DBC3D8E4B8D3

See Also

IValidate
Using Evalcom2
Validation Callback Functions

Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.