From d07a45c15127fbcb25ec87dbc356f98b6629fa21 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Mon, 22 Jun 2020 23:29:09 -0700 Subject: Add ScriptFile path to CustomActionTuple --- src/WixToolset.Data/Tuples/CustomActionTuple.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/WixToolset.Data/Tuples/CustomActionTuple.cs b/src/WixToolset.Data/Tuples/CustomActionTuple.cs index fbda67fa..b2b34df0 100644 --- a/src/WixToolset.Data/Tuples/CustomActionTuple.cs +++ b/src/WixToolset.Data/Tuples/CustomActionTuple.cs @@ -22,6 +22,7 @@ namespace WixToolset.Data new IntermediateFieldDefinition(nameof(CustomActionTupleFields.PatchUninstall), IntermediateFieldType.Bool), new IntermediateFieldDefinition(nameof(CustomActionTupleFields.TSAware), IntermediateFieldType.Bool), new IntermediateFieldDefinition(nameof(CustomActionTupleFields.Win64), IntermediateFieldType.Bool), + new IntermediateFieldDefinition(nameof(CustomActionTupleFields.ScriptFile), IntermediateFieldType.Path), }, typeof(CustomActionTuple)); } @@ -43,6 +44,7 @@ namespace WixToolset.Data.Tuples PatchUninstall, TSAware, Win64, + ScriptFile } public enum CustomActionExecutionType @@ -156,5 +158,11 @@ namespace WixToolset.Data.Tuples get => this.Fields[(int)CustomActionTupleFields.Win64].AsBool(); set => this.Set((int)CustomActionTupleFields.Win64, value); } + + public IntermediateFieldPathValue ScriptFile + { + get => this.Fields[(int)CustomActionTupleFields.ScriptFile].AsPath(); + set => this.Set((int)CustomActionTupleFields.ScriptFile, value); + } } -} \ No newline at end of file +} -- cgit v1.2.3-55-g6feb