IValidate::Validate method (evalcom2.h)

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

Syntax

HRESULT Validate(
  [in, optional] const WCHAR *wzICEs
);

Parameters

[in, optional] wzICEs

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

This method can return one of these values.

Return code Description
S_OK
The method succeeded.
S_PENDING
The method failed.
E_FAIL
The method failed.

Requirements

Requirement Value
Minimum supported client Evalcom2.dll version 3.0.3790.371 or later
Target Platform Windows
Header evalcom2.h
DLL Evalcom2.dll

See also

IValidate

Using Evalcom2

Validation Callback Functions