summaryrefslogtreecommitdiff
path: root/src/test/burn/TestBA/TestBA.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/burn/TestBA/TestBA.cs')
-rw-r--r--src/test/burn/TestBA/TestBA.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/burn/TestBA/TestBA.cs b/src/test/burn/TestBA/TestBA.cs
index 09378bc5..5c70253d 100644
--- a/src/test/burn/TestBA/TestBA.cs
+++ b/src/test/burn/TestBA/TestBA.cs
@@ -74,8 +74,6 @@ namespace WixToolset.Test.BA
74 return; 74 return;
75 } 75 }
76 76
77 base.OnStartup(args);
78
79 this.action = this.Command.Action; 77 this.action = this.Command.Action;
80 this.TestVariables(); 78 this.TestVariables();
81 79
@@ -84,7 +82,7 @@ namespace WixToolset.Test.BA
84 82
85 List<string> verifyArguments = this.ReadVerifyArguments(); 83 List<string> verifyArguments = this.ReadVerifyArguments();
86 84
87 foreach (string arg in this.Command.CommandLineArgs) 85 foreach (string arg in BootstrapperCommand.ParseCommandLineToArgs(this.Command.CommandLine))
88 { 86 {
89 // If we're not in the update already, process the updatebundle. 87 // If we're not in the update already, process the updatebundle.
90 if (this.Command.Relation != RelationType.Update && arg.StartsWith("-updatebundle:", StringComparison.OrdinalIgnoreCase)) 88 if (this.Command.Relation != RelationType.Update && arg.StartsWith("-updatebundle:", StringComparison.OrdinalIgnoreCase))
@@ -116,6 +114,8 @@ namespace WixToolset.Test.BA
116 return; 114 return;
117 } 115 }
118 116
117 base.OnStartup(args);
118
119 int redetectCount; 119 int redetectCount;
120 string redetect = this.ReadPackageAction(null, "RedetectCount"); 120 string redetect = this.ReadPackageAction(null, "RedetectCount");
121 if (String.IsNullOrEmpty(redetect) || !Int32.TryParse(redetect, out redetectCount)) 121 if (String.IsNullOrEmpty(redetect) || !Int32.TryParse(redetect, out redetectCount))