diff options
Diffstat (limited to 'src/WixToolset.Core/Compiler.cs')
| -rw-r--r-- | src/WixToolset.Core/Compiler.cs | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/src/WixToolset.Core/Compiler.cs b/src/WixToolset.Core/Compiler.cs index 8eff4aac..48e22f6d 100644 --- a/src/WixToolset.Core/Compiler.cs +++ b/src/WixToolset.Core/Compiler.cs | |||
| @@ -7284,34 +7284,28 @@ namespace WixToolset.Core | |||
| 7284 | } | 7284 | } |
| 7285 | 7285 | ||
| 7286 | // finally, schedule RemoveExistingProducts | 7286 | // finally, schedule RemoveExistingProducts |
| 7287 | var actionTuple = new WixActionTuple(sourceLineNumbers, new Identifier(AccessModifier.Public, "InstallExecuteSequence", "RemoveExistingProducts")) | 7287 | string after = null; |
| 7288 | { | ||
| 7289 | SequenceTable = SequenceTable.InstallExecuteSequence, | ||
| 7290 | Action = "RemoveExistingProducts", | ||
| 7291 | Overridable = false, | ||
| 7292 | }; | ||
| 7293 | |||
| 7294 | switch (schedule) | 7288 | switch (schedule) |
| 7295 | { | 7289 | { |
| 7296 | case null: | 7290 | case null: |
| 7297 | case "afterInstallValidate": | 7291 | case "afterInstallValidate": |
| 7298 | actionTuple.After = "InstallValidate"; | 7292 | after = "InstallValidate"; |
| 7299 | break; | 7293 | break; |
| 7300 | case "afterInstallInitialize": | 7294 | case "afterInstallInitialize": |
| 7301 | actionTuple.After = "InstallInitialize"; | 7295 | after = "InstallInitialize"; |
| 7302 | break; | 7296 | break; |
| 7303 | case "afterInstallExecute": | 7297 | case "afterInstallExecute": |
| 7304 | actionTuple.After = "InstallExecute"; | 7298 | after = "InstallExecute"; |
| 7305 | break; | 7299 | break; |
| 7306 | case "afterInstallExecuteAgain": | 7300 | case "afterInstallExecuteAgain": |
| 7307 | actionTuple.After = "InstallExecuteAgain"; | 7301 | after = "InstallExecuteAgain"; |
| 7308 | break; | 7302 | break; |
| 7309 | case "afterInstallFinalize": | 7303 | case "afterInstallFinalize": |
| 7310 | actionTuple.After = "InstallFinalize"; | 7304 | after = "InstallFinalize"; |
| 7311 | break; | 7305 | break; |
| 7312 | } | 7306 | } |
| 7313 | 7307 | ||
| 7314 | this.Core.AddTuple(actionTuple); | 7308 | this.Core.ScheduleActionTuple(sourceLineNumbers, AccessModifier.Public, SequenceTable.InstallExecuteSequence, "RemoveExistingProducts", afterAction: after); |
| 7315 | } | 7309 | } |
| 7316 | } | 7310 | } |
| 7317 | 7311 | ||
