[DllImport("msi.dll", CharSet = CharSet.Auto)] public static extern int MsiEvaluateCondition( IntPtr hInstall, [MarshalAs(UnmanagedType.LPTStr)] string szCondition );
Microsoft documentation: Link
Last updated 1 year ago