コード例 #1
0
        public void VerifyInstalledWithVersion(bool installed)
        {
            var     productCode = this.GetProperty("ProductCode");
            Version prodVersion = new Version(this.GetProperty("ProductVersion"));

            Assert.Equal(installed, MsiUtilities.IsProductInstalledWithVersion(productCode, prodVersion));
        }
コード例 #2
0
        public void VerifyInstalled(bool installed)
        {
            var productCode = this.GetProperty("ProductCode");

            Assert.Equal(installed, MsiUtilities.IsProductInstalled(productCode));
        }