summaryrefslogtreecommitdiff
path: root/src/test/burn/WixTestTools/BundleInstaller.cs
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2022-05-13 15:39:40 -0500
committerSean Hall <r.sean.hall@gmail.com>2022-05-14 11:12:31 -0500
commitd5985a1688bc878e42ffd3ce3939fa52303cab16 (patch)
tree0c283fe5454659c569317b37840a040474cfa032 /src/test/burn/WixTestTools/BundleInstaller.cs
parent6a6974a15deb6edf593736cdb8043bfb93064782 (diff)
downloadwix-d5985a1688bc878e42ffd3ce3939fa52303cab16.tar.gz
wix-d5985a1688bc878e42ffd3ce3939fa52303cab16.tar.bz2
wix-d5985a1688bc878e42ffd3ce3939fa52303cab16.zip
Add option to hosts to always install prereqs.
Add PrereqPackage to BundlePackage Implements 4718
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>