Where can I find the msi parser

I am looking for a library or utility that can analyze msi startup conditions. Basically I want to accept these statements and translate them into our own langauge, but before I do this, I need to parse it.

I can already derive the list conditions from MSI, for example:

NOT VersionNT OR (VersionNT = 501 AND ServicePackLevel >= 2) OR (VersionNT > 501)

But I was hoping that there was already something that could break it down into a more interpretable format.

An additional question, what is called this language? I can understand how to contact him or look for him.

Greetings

+3
source share
2 answers

Cm:

Conditional Statement Syntax

Windows Installer provides a Win32 function and an automation method for evaluating conditions.

MsiEvaluateCondition Function

Session.EvaluateCondition Method

+4

Source: https://habr.com/ru/post/1792639/


All Articles