diff options
Diffstat (limited to 'src/wixext/HttpCompiler.cs')
| -rw-r--r-- | src/wixext/HttpCompiler.cs | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/src/wixext/HttpCompiler.cs b/src/wixext/HttpCompiler.cs index bc64add2..a8c1bca8 100644 --- a/src/wixext/HttpCompiler.cs +++ b/src/wixext/HttpCompiler.cs | |||
| @@ -7,6 +7,7 @@ namespace WixToolset.Http | |||
| 7 | using System.Xml.Linq; | 7 | using System.Xml.Linq; |
| 8 | using WixToolset.Data; | 8 | using WixToolset.Data; |
| 9 | using WixToolset.Extensibility; | 9 | using WixToolset.Extensibility; |
| 10 | using WixToolset.Extensibility.Data; | ||
| 10 | using WixToolset.Http.Symbols; | 11 | using WixToolset.Http.Symbols; |
| 11 | 12 | ||
| 12 | /// <summary> | 13 | /// <summary> |
| @@ -177,18 +178,8 @@ namespace WixToolset.Http | |||
| 177 | ComponentRef = componentId, | 178 | ComponentRef = componentId, |
| 178 | }); | 179 | }); |
| 179 | 180 | ||
| 180 | if (this.Context.Platform == Platform.ARM) | 181 | this.ParseHelper.CreateCustomActionReference(sourceLineNumbers, section, "SchedHttpUrlReservationsInstall", this.Context.Platform, CustomActionPlatforms.X86 | CustomActionPlatforms.X64 | CustomActionPlatforms.ARM | CustomActionPlatforms.ARM64); |
| 181 | { | 182 | this.ParseHelper.CreateCustomActionReference(sourceLineNumbers, section, "SchedHttpUrlReservationsUninstall", this.Context.Platform, CustomActionPlatforms.X86 | CustomActionPlatforms.X64 | CustomActionPlatforms.ARM | CustomActionPlatforms.ARM64); |
| 182 | // Ensure ARM version of the CA is referenced. | ||
| 183 | this.ParseHelper.CreateSimpleReference(section, sourceLineNumbers, SymbolDefinitions.CustomAction, "WixSchedHttpUrlReservationsInstall_ARM"); | ||
| 184 | this.ParseHelper.CreateSimpleReference(section, sourceLineNumbers, SymbolDefinitions.CustomAction, "WixSchedHttpUrlReservationsUninstall_ARM"); | ||
| 185 | } | ||
| 186 | else | ||
| 187 | { | ||
| 188 | // All other supported platforms use x86. | ||
| 189 | this.ParseHelper.CreateSimpleReference(section, sourceLineNumbers, SymbolDefinitions.CustomAction, "WixSchedHttpUrlReservationsInstall"); | ||
| 190 | this.ParseHelper.CreateSimpleReference(section, sourceLineNumbers, SymbolDefinitions.CustomAction, "WixSchedHttpUrlReservationsUninstall"); | ||
| 191 | } | ||
| 192 | } | 183 | } |
| 193 | } | 184 | } |
| 194 | 185 | ||
