aboutsummaryrefslogtreecommitdiff
path: root/src/wixext
diff options
context:
space:
mode:
authorBob Arnson <bob@firegiant.com>2020-07-06 12:34:48 -0400
committerBob Arnson <bob@firegiant.com>2020-07-06 12:39:18 -0400
commitc134594328bd63fb19b88239694523f04108030e (patch)
tree7196012533c8497b0e1f2081b3ddb284367482ba /src/wixext
parente761a7cb8dff5ceba9d91eae85c53867950f6819 (diff)
downloadwix-c134594328bd63fb19b88239694523f04108030e.tar.gz
wix-c134594328bd63fb19b88239694523f04108030e.tar.bz2
wix-c134594328bd63fb19b88239694523f04108030e.zip
Add per-platform custom action support.
Diffstat (limited to 'src/wixext')
-rw-r--r--src/wixext/SqlCompiler.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wixext/SqlCompiler.cs b/src/wixext/SqlCompiler.cs
index 2c0f914a..bbcdc87d 100644
--- a/src/wixext/SqlCompiler.cs
+++ b/src/wixext/SqlCompiler.cs
@@ -7,6 +7,7 @@ namespace WixToolset.Sql
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.Sql.Symbols; 11 using WixToolset.Sql.Symbols;
11 12
12 /// <summary> 13 /// <summary>
@@ -797,8 +798,8 @@ namespace WixToolset.Sql
797 798
798 private void AddReferenceToInstallSqlData(IntermediateSection section, SourceLineNumber sourceLineNumbers) 799 private void AddReferenceToInstallSqlData(IntermediateSection section, SourceLineNumber sourceLineNumbers)
799 { 800 {
800 this.ParseHelper.CreateSimpleReference(section, sourceLineNumbers, SymbolDefinitions.CustomAction, "InstallSqlData"); 801 this.ParseHelper.CreateCustomActionReference(sourceLineNumbers, section, "InstallSqlData", this.Context.Platform, CustomActionPlatforms.X86 | CustomActionPlatforms.X64 | CustomActionPlatforms.ARM | CustomActionPlatforms.ARM64);
801 this.ParseHelper.CreateSimpleReference(section, sourceLineNumbers, SymbolDefinitions.CustomAction, "UninstallSqlData"); 802 this.ParseHelper.CreateCustomActionReference(sourceLineNumbers, section, "UninstallSqlData", this.Context.Platform, CustomActionPlatforms.X86 | CustomActionPlatforms.X64 | CustomActionPlatforms.ARM | CustomActionPlatforms.ARM64);
802 } 803 }
803 } 804 }
804} 805}