diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2022-05-13 15:39:40 -0500 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2022-05-14 11:12:31 -0500 |
| commit | d5985a1688bc878e42ffd3ce3939fa52303cab16 (patch) | |
| tree | 0c283fe5454659c569317b37840a040474cfa032 /src/test/burn/WixTestTools | |
| parent | 6a6974a15deb6edf593736cdb8043bfb93064782 (diff) | |
| download | wix-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')
| -rw-r--r-- | src/test/burn/WixTestTools/BundleInstaller.cs | 14 |
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> |
