Ejemplo n.º 1
0
        public static WixExpression OsType(WixComparativeExpressionOperator @operator, MsiNTProductType productType)
        {
            if (@operator is null)
            {
                throw new ArgumentNullException(nameof(@operator));
            }

            return(new WixExpression($"MsiNTProductType {@operator} {(int)productType}"));
        }
Ejemplo n.º 2
0
        public static WixExpression OsVersion(WixComparativeExpressionOperator @operator, VersionNT osVersion)
        {
            if (@operator is null)
            {
                throw new ArgumentNullException(nameof(@operator));
            }

            return(new WixExpression($"VersionNT {@operator} {(int)osVersion}"));
        }