@joebigelow / wix-1 / commits / d07a45c1

Add ScriptFile path to CustomActionTuple

Rob Mensching committed Jun 22, 2020 at 23:29 UTC d07a45c15127fbcb25ec87dbc356f98b6629fa21
1 file changed +9 -1
src/WixToolset.Data/Tuples/CustomActionTuple.cs
+9 -1
@@ -22,6 +22,7 @@ namespace WixToolset.Data
22 new IntermediateFieldDefinition(nameof(CustomActionTupleFields.PatchUninstall), IntermediateFieldType.Bool),
23 new IntermediateFieldDefinition(nameof(CustomActionTupleFields.TSAware), IntermediateFieldType.Bool),
24 new IntermediateFieldDefinition(nameof(CustomActionTupleFields.Win64), IntermediateFieldType.Bool),
25 + new IntermediateFieldDefinition(nameof(CustomActionTupleFields.ScriptFile), IntermediateFieldType.Path),
26 },
27 typeof(CustomActionTuple));
28 }
@@ -43,6 +44,7 @@ namespace WixToolset.Data.Tuples
44 PatchUninstall,
45 TSAware,
46 Win64,
47 + ScriptFile
48 }
49
50 public enum CustomActionExecutionType
@@ -156,5 +158,11 @@ namespace WixToolset.Data.Tuples
158 get => this.Fields[(int)CustomActionTupleFields.Win64].AsBool();
159 set => this.Set((int)CustomActionTupleFields.Win64, value);
160 }
161 +
162 + public IntermediateFieldPathValue ScriptFile
163 + {
164 + get => this.Fields[(int)CustomActionTupleFields.ScriptFile].AsPath();
165 + set => this.Set((int)CustomActionTupleFields.ScriptFile, value);
166 + }
167 }
160 -}
\ No newline at end of file
168 +}