private static XmlNodeList GetPatchTargetCodes(WixTest.BundleBuilder bundle) { string path = Path.Combine(bundle.Disassemble(), @"UX\manifest.xml"); XmlDocument doc = new XmlDocument(); doc.Load(path); XmlNamespaceManager nsmgr = new XmlNamespaceManager(doc.NameTable); nsmgr.AddNamespace("w", "http://schemas.microsoft.com/wix/2008/Burn"); return(doc.SelectNodes("/w:BurnManifest/w:PatchTargetCode", nsmgr)); }
private WixTest.BundleBuilder GetBundleB(Dictionary <string, string> bindPaths = null) { if (null == bindPaths) { string packageAPath = Path.GetDirectoryName(this.GetPackageB().Output); bindPaths = new Dictionary <string, string>() { { "packageB", packageAPath } }; } return((null != this.bundleB) ? this.bundleB : this.bundleB = new BundleBuilder(this, "BundleB") { BindPaths = bindPaths, Extensions = Extensions }.Build()); }
private WixTest.BundleBuilder GetBundleA(Dictionary <string, string> bindPaths = null) { if (null == bindPaths) { string packageAPath = this.GetPackageA().Output; bindPaths = new Dictionary <string, string>() { { "packageA", packageAPath } }; } return((null != this.bundleA) ? this.bundleA : this.bundleA = new BundleBuilder(this, "BundleA") { BindPaths = bindPaths, Extensions = Extensions }.Build()); }
private WixTest.BundleBuilder GetBundleOnlyPatchA() { if (null == this.bundleOnlyPatchA) { string patchAPath = this.GetPatchA().Output; Dictionary <string, string> bindPaths = new Dictionary <string, string>() { { "patchA", patchAPath } }; this.bundleOnlyPatchA = new BundleBuilder(this, "BundleOnlyPatchA") { BindPaths = bindPaths, Extensions = Extensions }.Build(); } return(this.bundleOnlyPatchA); }
private WixTest.BundleBuilder GetBundleAv2(Dictionary <string, string> bindPaths = null) { if (null == bindPaths) { string packageAPath = this.GetPackageAv2().Output; bindPaths = new Dictionary <string, string>() { { "packageA", packageAPath } }; } return((null != this.bundleAv2) ? this.bundleAv2 : this.bundleAv2 = new BundleBuilder(this, "BundleA") { BindPaths = bindPaths, Extensions = Extensions, PreprocessorVariables = new Dictionary <string, string>() { { "Version", V2 } } }.Build()); }
private WixTest.BundleBuilder GetBundleAReverse() { if (null == this.bundleAReverse) { string packageAPath = this.GetPackageA().Output; string patchAPath = this.GetPatchA().Output; Dictionary <string, string> bindPaths = new Dictionary <string, string>() { { "packageA", packageAPath }, { "patchA", patchAPath } }; this.bundleAReverse = new BundleBuilder(this, "BundleAReverse") { BindPaths = bindPaths, Extensions = Extensions }.Build(); } return(this.bundleAReverse); }
private WixTest.BundleBuilder GetBundleD(Dictionary <string, string> bindPaths = null) { if (null == bindPaths) { string packageDPath = this.GetPackageD().Output; bindPaths = new Dictionary <string, string>() { { "packageD", packageDPath } }; } if (null == this.bundleD) { this.bundleD = new BundleBuilder(this, "BundleD") { BindPaths = bindPaths, Extensions = Extensions }.Build(); } return(this.bundleD); }
private WixTest.BundleBuilder GetBundleOnlyPatchA() { if (null == this.bundleOnlyPatchA) { string patchAPath = this.GetPatchA().Output; Dictionary<string, string> bindPaths = new Dictionary<string, string>() { { "patchA", patchAPath } }; this.bundleOnlyPatchA = new BundleBuilder(this, "BundleOnlyPatchA") { BindPaths = bindPaths, Extensions = Extensions }.Build(); } return this.bundleOnlyPatchA; }
private WixTest.BundleBuilder GetBundleAReverse() { if (null == this.bundleAReverse) { string packageAPath = this.GetPackageA().Output; string patchAPath = this.GetPatchA().Output; Dictionary<string, string> bindPaths = new Dictionary<string, string>() { { "packageA", packageAPath }, { "patchA", patchAPath } }; this.bundleAReverse = new BundleBuilder(this, "BundleAReverse") { BindPaths = bindPaths, Extensions = Extensions }.Build(); } return this.bundleAReverse; }
private WixTest.BundleBuilder GetBundleAv2(Dictionary<string, string> bindPaths = null) { if (null == bindPaths) { string packageAPath = this.GetPackageAv2().Output; bindPaths = new Dictionary<string, string>() { { "packageA", packageAPath } }; } return (null != this.bundleAv2) ? this.bundleAv2 : this.bundleAv2 = new BundleBuilder(this, "BundleA") { BindPaths = bindPaths, Extensions = Extensions, PreprocessorVariables = new Dictionary<string, string>() { { "Version", V2 } } }.Build(); }
private WixTest.BundleBuilder GetBundleA(Dictionary<string, string> bindPaths = null) { if (null == bindPaths) { string packageAPath = this.GetPackageA().Output; bindPaths = new Dictionary<string, string>() { { "packageA", packageAPath } }; } return (null != this.bundleA) ? this.bundleA : this.bundleA = new BundleBuilder(this, "BundleA") { BindPaths = bindPaths, Extensions = Extensions }.Build(); }
private WixTest.BundleBuilder GetBundleC(Dictionary<string, string> bindPaths = null) { if (null == bindPaths) { string packageCPath = this.GetPackageC().Output; bindPaths = new Dictionary<string, string>() { { "packageC", packageCPath } }; } if (null == this.bundleC) { this.bundleC = new BundleBuilder(this, "BundleC") { BindPaths = bindPaths, Extensions = Extensions }.Build(); } return this.bundleC; }