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.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/burn/WixTestTools/BundleInstaller.cs b/src/test/burn/WixTestTools/BundleInstaller.cs
index 5551d3c0..0f2cfa8f 100644
--- a/src/test/burn/WixTestTools/BundleInstaller.cs
+++ b/src/test/burn/WixTestTools/BundleInstaller.cs
@@ -28,6 +28,8 @@ namespace WixTestTools
28 28
29 public int? AlternateExitCode { get; set; } 29 public int? AlternateExitCode { get; set; }
30 30
31 public string LogDirectory { get; set; }
32
31 public int? LastExitCode { get; set; } 33 public int? LastExitCode { get; set; }
32 34
33 /// <summary> 35 /// <summary>
@@ -194,7 +196,7 @@ namespace WixTestTools
194 sb.Append(" -quiet"); 196 sb.Append(" -quiet");
195 197
196 // Generate the log file name. 198 // Generate the log file name.
197 string logFile = Path.Combine(Path.GetTempPath(), String.Format("{0}_{1}_{2:yyyyMMddhhmmss}_{4}_{3}.log", this.TestGroupName, this.TestName, DateTime.UtcNow, Path.GetFileNameWithoutExtension(this.Bundle), mode)); 199 string logFile = Path.Combine(this.LogDirectory ?? Path.GetTempPath(), String.Format("{0}_{1}_{2:yyyyMMddhhmmss}_{4}_{3}.log", this.TestGroupName, this.TestName, DateTime.UtcNow, Path.GetFileNameWithoutExtension(this.Bundle), mode));
198 sb.AppendFormat(" -log \"{0}\"", logFile); 200 sb.AppendFormat(" -log \"{0}\"", logFile);
199 201
200 // Set operation. 202 // Set operation.