summaryrefslogtreecommitdiff
path: root/src/test/burn/WixTestTools/BundleInstaller.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/burn/WixTestTools/BundleInstaller.cs')
-rw-r--r--src/test/burn/WixTestTools/BundleInstaller.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/burn/WixTestTools/BundleInstaller.cs b/src/test/burn/WixTestTools/BundleInstaller.cs
index 2b449ebf..0ab02d1b 100644
--- a/src/test/burn/WixTestTools/BundleInstaller.cs
+++ b/src/test/burn/WixTestTools/BundleInstaller.cs
@@ -27,6 +27,20 @@ namespace WixTestTools
27 public string TestName { get; } 27 public string TestName { get; }
28 28
29 /// <summary> 29 /// <summary>
30 /// Runs the bundle asking for help.
31 /// </summary>
32 /// <param name="expectedExitCode">Expected exit code, defaults to success.</param>
33 /// <param name="arguments">Optional arguments to pass to the tool.</param>
34 /// <returns>Path to the generated log file.</returns>
35 public string Help(int expectedExitCode = (int)MSIExec.MSIExecReturnCode.SUCCESS, params string[] arguments)
36 {
37 var newArgumentList = new List<string>();
38 newArgumentList.Add("-help");
39 newArgumentList.AddRange(arguments);
40 return this.RunBundleWithArguments(expectedExitCode, MSIExec.MSIExecMode.Custom, newArgumentList.ToArray());
41 }
42
43 /// <summary>
30 /// Installs the bundle with optional arguments. 44 /// Installs the bundle with optional arguments.
31 /// </summary> 45 /// </summary>
32 /// <param name="expectedExitCode">Expected exit code, defaults to success.</param> 46 /// <param name="expectedExitCode">Expected exit code, defaults to success.</param>