aboutsummaryrefslogtreecommitdiff
path: root/src/WixTestTools/BundleInstaller.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixTestTools/BundleInstaller.cs')
-rw-r--r--src/WixTestTools/BundleInstaller.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/WixTestTools/BundleInstaller.cs b/src/WixTestTools/BundleInstaller.cs
index 34661651..a49c4024 100644
--- a/src/WixTestTools/BundleInstaller.cs
+++ b/src/WixTestTools/BundleInstaller.cs
@@ -85,6 +85,18 @@ namespace WixTestTools
85 } 85 }
86 86
87 /// <summary> 87 /// <summary>
88 /// Modify the bundle with optional arguments.
89 /// </summary>
90 /// <param name="bundlePath">This should be the bundle in the package cache.</param>
91 /// <param name="expectedExitCode">Expected exit code, defaults to success.</param>
92 /// <param name="arguments">Optional arguments to pass to the tool.</param>
93 /// <returns>Path to the generated log file.</returns>
94 public string Modify(string bundlePath, int expectedExitCode = (int)MSIExec.MSIExecReturnCode.SUCCESS, params string[] arguments)
95 {
96 return this.RunBundleWithArguments(expectedExitCode, MSIExec.MSIExecMode.Modify, arguments, bundlePath: bundlePath);
97 }
98
99 /// <summary>
88 /// Repairs the bundle with optional arguments. 100 /// Repairs the bundle with optional arguments.
89 /// </summary> 101 /// </summary>
90 /// <param name="expectedExitCode">Expected exit code, defaults to success.</param> 102 /// <param name="expectedExitCode">Expected exit code, defaults to success.</param>