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 854c12f0..859656ad 100644
--- a/src/WixTestTools/BundleInstaller.cs
+++ b/src/WixTestTools/BundleInstaller.cs
@@ -37,6 +37,18 @@ namespace WixTestTools
37 } 37 }
38 38
39 /// <summary> 39 /// <summary>
40 /// Installs the bundle with optional arguments.
41 /// </summary>
42 /// <param name="bundlePath">This should be the bundle in the package cache.</param>
43 /// <param name="expectedExitCode">Expected exit code, defaults to success.</param>
44 /// <param name="arguments">Optional arguments to pass to the tool.</param>
45 /// <returns>Path to the generated log file.</returns>
46 public string Install(string bundlePath, int expectedExitCode = (int)MSIExec.MSIExecReturnCode.SUCCESS, params string[] arguments)
47 {
48 return this.RunBundleWithArguments(expectedExitCode, MSIExec.MSIExecMode.Install, arguments, bundlePath: bundlePath);
49 }
50
51 /// <summary>
40 /// Modify the bundle with optional arguments. 52 /// Modify the bundle with optional arguments.
41 /// </summary> 53 /// </summary>
42 /// <param name="expectedExitCode">Expected exit code, defaults to success.</param> 54 /// <param name="expectedExitCode">Expected exit code, defaults to success.</param>