aboutsummaryrefslogtreecommitdiff
path: root/src/wixext/Tuples
diff options
context:
space:
mode:
Diffstat (limited to 'src/wixext/Tuples')
-rw-r--r--src/wixext/Tuples/EventManifestTuple.cs55
-rw-r--r--src/wixext/Tuples/FileSharePermissionsTuple.cs63
-rw-r--r--src/wixext/Tuples/FileShareTuple.cs95
-rw-r--r--src/wixext/Tuples/GroupTuple.cs71
-rw-r--r--src/wixext/Tuples/PerfmonManifestTuple.cs63
-rw-r--r--src/wixext/Tuples/PerfmonTuple.cs63
-rw-r--r--src/wixext/Tuples/PerformanceCategoryTuple.cs79
-rw-r--r--src/wixext/Tuples/SecureObjectsTuple.cs87
-rw-r--r--src/wixext/Tuples/ServiceConfigTuple.cs119
-rw-r--r--src/wixext/Tuples/UserGroupTuple.cs55
-rw-r--r--src/wixext/Tuples/UserTuple.cs87
-rw-r--r--src/wixext/Tuples/UtilTupleDefinitions.cs111
-rw-r--r--src/wixext/Tuples/WixCloseApplicationTuple.cs111
-rw-r--r--src/wixext/Tuples/WixFormatFilesTuple.cs55
-rw-r--r--src/wixext/Tuples/WixInternetShortcutTuple.cs103
-rw-r--r--src/wixext/Tuples/WixRemoveFolderExTuple.cs71
-rw-r--r--src/wixext/Tuples/WixRestartResourceTuple.cs71
-rw-r--r--src/wixext/Tuples/WixTouchFileTuple.cs71
-rw-r--r--src/wixext/Tuples/XmlConfigTuple.cs111
-rw-r--r--src/wixext/Tuples/XmlFileTuple.cs103
20 files changed, 1644 insertions, 0 deletions
diff --git a/src/wixext/Tuples/EventManifestTuple.cs b/src/wixext/Tuples/EventManifestTuple.cs
new file mode 100644
index 00000000..b74d2d59
--- /dev/null
+++ b/src/wixext/Tuples/EventManifestTuple.cs
@@ -0,0 +1,55 @@
1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3namespace WixToolset.Util
4{
5 using WixToolset.Data;
6 using WixToolset.Util.Tuples;
7
8 public static partial class UtilTupleDefinitions
9 {
10 public static readonly IntermediateTupleDefinition EventManifest = new IntermediateTupleDefinition(
11 UtilTupleDefinitionType.EventManifest.ToString(),
12 new[]
13 {
14 new IntermediateFieldDefinition(nameof(EventManifestTupleFields.Component_), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(EventManifestTupleFields.File), IntermediateFieldType.String),
16 },
17 typeof(EventManifestTuple));
18 }
19}
20
21namespace WixToolset.Util.Tuples
22{
23 using WixToolset.Data;
24
25 public enum EventManifestTupleFields
26 {
27 Component_,
28 File,
29 }
30
31 public class EventManifestTuple : IntermediateTuple
32 {
33 public EventManifestTuple() : base(UtilTupleDefinitions.EventManifest, null, null)
34 {
35 }
36
37 public EventManifestTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(UtilTupleDefinitions.EventManifest, sourceLineNumber, id)
38 {
39 }
40
41 public IntermediateField this[EventManifestTupleFields index] => this.Fields[(int)index];
42
43 public string Component_
44 {
45 get => this.Fields[(int)EventManifestTupleFields.Component_].AsString();
46 set => this.Set((int)EventManifestTupleFields.Component_, value);
47 }
48
49 public string File
50 {
51 get => this.Fields[(int)EventManifestTupleFields.File].AsString();
52 set => this.Set((int)EventManifestTupleFields.File, value);
53 }
54 }
55} \ No newline at end of file
diff --git a/src/wixext/Tuples/FileSharePermissionsTuple.cs b/src/wixext/Tuples/FileSharePermissionsTuple.cs
new file mode 100644
index 00000000..3f037e0e
--- /dev/null
+++ b/src/wixext/Tuples/FileSharePermissionsTuple.cs
@@ -0,0 +1,63 @@
1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3namespace WixToolset.Util
4{
5 using WixToolset.Data;
6 using WixToolset.Util.Tuples;
7
8 public static partial class UtilTupleDefinitions
9 {
10 public static readonly IntermediateTupleDefinition FileSharePermissions = new IntermediateTupleDefinition(
11 UtilTupleDefinitionType.FileSharePermissions.ToString(),
12 new[]
13 {
14 new IntermediateFieldDefinition(nameof(FileSharePermissionsTupleFields.FileShare_), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(FileSharePermissionsTupleFields.User_), IntermediateFieldType.String),
16 new IntermediateFieldDefinition(nameof(FileSharePermissionsTupleFields.Permissions), IntermediateFieldType.Number),
17 },
18 typeof(FileSharePermissionsTuple));
19 }
20}
21
22namespace WixToolset.Util.Tuples
23{
24 using WixToolset.Data;
25
26 public enum FileSharePermissionsTupleFields
27 {
28 FileShare_,
29 User_,
30 Permissions,
31 }
32
33 public class FileSharePermissionsTuple : IntermediateTuple
34 {
35 public FileSharePermissionsTuple() : base(UtilTupleDefinitions.FileSharePermissions, null, null)
36 {
37 }
38
39 public FileSharePermissionsTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(UtilTupleDefinitions.FileSharePermissions, sourceLineNumber, id)
40 {
41 }
42
43 public IntermediateField this[FileSharePermissionsTupleFields index] => this.Fields[(int)index];
44
45 public string FileShare_
46 {
47 get => this.Fields[(int)FileSharePermissionsTupleFields.FileShare_].AsString();
48 set => this.Set((int)FileSharePermissionsTupleFields.FileShare_, value);
49 }
50
51 public string User_
52 {
53 get => this.Fields[(int)FileSharePermissionsTupleFields.User_].AsString();
54 set => this.Set((int)FileSharePermissionsTupleFields.User_, value);
55 }
56
57 public int Permissions
58 {
59 get => this.Fields[(int)FileSharePermissionsTupleFields.Permissions].AsNumber();
60 set => this.Set((int)FileSharePermissionsTupleFields.Permissions, value);
61 }
62 }
63} \ No newline at end of file
diff --git a/src/wixext/Tuples/FileShareTuple.cs b/src/wixext/Tuples/FileShareTuple.cs
new file mode 100644
index 00000000..043f24bd
--- /dev/null
+++ b/src/wixext/Tuples/FileShareTuple.cs
@@ -0,0 +1,95 @@
1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3namespace WixToolset.Util
4{
5 using WixToolset.Data;
6 using WixToolset.Util.Tuples;
7
8 public static partial class UtilTupleDefinitions
9 {
10 public static readonly IntermediateTupleDefinition FileShare = new IntermediateTupleDefinition(
11 UtilTupleDefinitionType.FileShare.ToString(),
12 new[]
13 {
14 new IntermediateFieldDefinition(nameof(FileShareTupleFields.FileShare), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(FileShareTupleFields.ShareName), IntermediateFieldType.String),
16 new IntermediateFieldDefinition(nameof(FileShareTupleFields.Component_), IntermediateFieldType.String),
17 new IntermediateFieldDefinition(nameof(FileShareTupleFields.Description), IntermediateFieldType.String),
18 new IntermediateFieldDefinition(nameof(FileShareTupleFields.Directory_), IntermediateFieldType.String),
19 new IntermediateFieldDefinition(nameof(FileShareTupleFields.User_), IntermediateFieldType.String),
20 new IntermediateFieldDefinition(nameof(FileShareTupleFields.Permissions), IntermediateFieldType.Number),
21 },
22 typeof(FileShareTuple));
23 }
24}
25
26namespace WixToolset.Util.Tuples
27{
28 using WixToolset.Data;
29
30 public enum FileShareTupleFields
31 {
32 FileShare,
33 ShareName,
34 Component_,
35 Description,
36 Directory_,
37 User_,
38 Permissions,
39 }
40
41 public class FileShareTuple : IntermediateTuple
42 {
43 public FileShareTuple() : base(UtilTupleDefinitions.FileShare, null, null)
44 {
45 }
46
47 public FileShareTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(UtilTupleDefinitions.FileShare, sourceLineNumber, id)
48 {
49 }
50
51 public IntermediateField this[FileShareTupleFields index] => this.Fields[(int)index];
52
53 public string FileShare
54 {
55 get => this.Fields[(int)FileShareTupleFields.FileShare].AsString();
56 set => this.Set((int)FileShareTupleFields.FileShare, value);
57 }
58
59 public string ShareName
60 {
61 get => this.Fields[(int)FileShareTupleFields.ShareName].AsString();
62 set => this.Set((int)FileShareTupleFields.ShareName, value);
63 }
64
65 public string Component_
66 {
67 get => this.Fields[(int)FileShareTupleFields.Component_].AsString();
68 set => this.Set((int)FileShareTupleFields.Component_, value);
69 }
70
71 public string Description
72 {
73 get => this.Fields[(int)FileShareTupleFields.Description].AsString();
74 set => this.Set((int)FileShareTupleFields.Description, value);
75 }
76
77 public string Directory_
78 {
79 get => this.Fields[(int)FileShareTupleFields.Directory_].AsString();
80 set => this.Set((int)FileShareTupleFields.Directory_, value);
81 }
82
83 public string User_
84 {
85 get => this.Fields[(int)FileShareTupleFields.User_].AsString();
86 set => this.Set((int)FileShareTupleFields.User_, value);
87 }
88
89 public int Permissions
90 {
91 get => this.Fields[(int)FileShareTupleFields.Permissions].AsNumber();
92 set => this.Set((int)FileShareTupleFields.Permissions, value);
93 }
94 }
95} \ No newline at end of file
diff --git a/src/wixext/Tuples/GroupTuple.cs b/src/wixext/Tuples/GroupTuple.cs
new file mode 100644
index 00000000..97335714
--- /dev/null
+++ b/src/wixext/Tuples/GroupTuple.cs
@@ -0,0 +1,71 @@
1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3namespace WixToolset.Util
4{
5 using WixToolset.Data;
6 using WixToolset.Util.Tuples;
7
8 public static partial class UtilTupleDefinitions
9 {
10 public static readonly IntermediateTupleDefinition Group = new IntermediateTupleDefinition(
11 UtilTupleDefinitionType.Group.ToString(),
12 new[]
13 {
14 new IntermediateFieldDefinition(nameof(GroupTupleFields.Group), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(GroupTupleFields.Component_), IntermediateFieldType.String),
16 new IntermediateFieldDefinition(nameof(GroupTupleFields.Name), IntermediateFieldType.String),
17 new IntermediateFieldDefinition(nameof(GroupTupleFields.Domain), IntermediateFieldType.String),
18 },
19 typeof(GroupTuple));
20 }
21}
22
23namespace WixToolset.Util.Tuples
24{
25 using WixToolset.Data;
26
27 public enum GroupTupleFields
28 {
29 Group,
30 Component_,
31 Name,
32 Domain,
33 }
34
35 public class GroupTuple : IntermediateTuple
36 {
37 public GroupTuple() : base(UtilTupleDefinitions.Group, null, null)
38 {
39 }
40
41 public GroupTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(UtilTupleDefinitions.Group, sourceLineNumber, id)
42 {
43 }
44
45 public IntermediateField this[GroupTupleFields index] => this.Fields[(int)index];
46
47 public string Group
48 {
49 get => this.Fields[(int)GroupTupleFields.Group].AsString();
50 set => this.Set((int)GroupTupleFields.Group, value);
51 }
52
53 public string Component_
54 {
55 get => this.Fields[(int)GroupTupleFields.Component_].AsString();
56 set => this.Set((int)GroupTupleFields.Component_, value);
57 }
58
59 public string Name
60 {
61 get => this.Fields[(int)GroupTupleFields.Name].AsString();
62 set => this.Set((int)GroupTupleFields.Name, value);
63 }
64
65 public string Domain
66 {
67 get => this.Fields[(int)GroupTupleFields.Domain].AsString();
68 set => this.Set((int)GroupTupleFields.Domain, value);
69 }
70 }
71} \ No newline at end of file
diff --git a/src/wixext/Tuples/PerfmonManifestTuple.cs b/src/wixext/Tuples/PerfmonManifestTuple.cs
new file mode 100644
index 00000000..3f6cb8cc
--- /dev/null
+++ b/src/wixext/Tuples/PerfmonManifestTuple.cs
@@ -0,0 +1,63 @@
1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3namespace WixToolset.Util
4{
5 using WixToolset.Data;
6 using WixToolset.Util.Tuples;
7
8 public static partial class UtilTupleDefinitions
9 {
10 public static readonly IntermediateTupleDefinition PerfmonManifest = new IntermediateTupleDefinition(
11 UtilTupleDefinitionType.PerfmonManifest.ToString(),
12 new[]
13 {
14 new IntermediateFieldDefinition(nameof(PerfmonManifestTupleFields.Component_), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(PerfmonManifestTupleFields.File), IntermediateFieldType.String),
16 new IntermediateFieldDefinition(nameof(PerfmonManifestTupleFields.ResourceFileDirectory), IntermediateFieldType.String),
17 },
18 typeof(PerfmonManifestTuple));
19 }
20}
21
22namespace WixToolset.Util.Tuples
23{
24 using WixToolset.Data;
25
26 public enum PerfmonManifestTupleFields
27 {
28 Component_,
29 File,
30 ResourceFileDirectory,
31 }
32
33 public class PerfmonManifestTuple : IntermediateTuple
34 {
35 public PerfmonManifestTuple() : base(UtilTupleDefinitions.PerfmonManifest, null, null)
36 {
37 }
38
39 public PerfmonManifestTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(UtilTupleDefinitions.PerfmonManifest, sourceLineNumber, id)
40 {
41 }
42
43 public IntermediateField this[PerfmonManifestTupleFields index] => this.Fields[(int)index];
44
45 public string Component_
46 {
47 get => this.Fields[(int)PerfmonManifestTupleFields.Component_].AsString();
48 set => this.Set((int)PerfmonManifestTupleFields.Component_, value);
49 }
50
51 public string File
52 {
53 get => this.Fields[(int)PerfmonManifestTupleFields.File].AsString();
54 set => this.Set((int)PerfmonManifestTupleFields.File, value);
55 }
56
57 public string ResourceFileDirectory
58 {
59 get => this.Fields[(int)PerfmonManifestTupleFields.ResourceFileDirectory].AsString();
60 set => this.Set((int)PerfmonManifestTupleFields.ResourceFileDirectory, value);
61 }
62 }
63} \ No newline at end of file
diff --git a/src/wixext/Tuples/PerfmonTuple.cs b/src/wixext/Tuples/PerfmonTuple.cs
new file mode 100644
index 00000000..00ea818b
--- /dev/null
+++ b/src/wixext/Tuples/PerfmonTuple.cs
@@ -0,0 +1,63 @@
1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3namespace WixToolset.Util
4{
5 using WixToolset.Data;
6 using WixToolset.Util.Tuples;
7
8 public static partial class UtilTupleDefinitions
9 {
10 public static readonly IntermediateTupleDefinition Perfmon = new IntermediateTupleDefinition(
11 UtilTupleDefinitionType.Perfmon.ToString(),
12 new[]
13 {
14 new IntermediateFieldDefinition(nameof(PerfmonTupleFields.Component_), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(PerfmonTupleFields.File), IntermediateFieldType.String),
16 new IntermediateFieldDefinition(nameof(PerfmonTupleFields.Name), IntermediateFieldType.String),
17 },
18 typeof(PerfmonTuple));
19 }
20}
21
22namespace WixToolset.Util.Tuples
23{
24 using WixToolset.Data;
25
26 public enum PerfmonTupleFields
27 {
28 Component_,
29 File,
30 Name,
31 }
32
33 public class PerfmonTuple : IntermediateTuple
34 {
35 public PerfmonTuple() : base(UtilTupleDefinitions.Perfmon, null, null)
36 {
37 }
38
39 public PerfmonTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(UtilTupleDefinitions.Perfmon, sourceLineNumber, id)
40 {
41 }
42
43 public IntermediateField this[PerfmonTupleFields index] => this.Fields[(int)index];
44
45 public string Component_
46 {
47 get => this.Fields[(int)PerfmonTupleFields.Component_].AsString();
48 set => this.Set((int)PerfmonTupleFields.Component_, value);
49 }
50
51 public string File
52 {
53 get => this.Fields[(int)PerfmonTupleFields.File].AsString();
54 set => this.Set((int)PerfmonTupleFields.File, value);
55 }
56
57 public string Name
58 {
59 get => this.Fields[(int)PerfmonTupleFields.Name].AsString();
60 set => this.Set((int)PerfmonTupleFields.Name, value);
61 }
62 }
63} \ No newline at end of file
diff --git a/src/wixext/Tuples/PerformanceCategoryTuple.cs b/src/wixext/Tuples/PerformanceCategoryTuple.cs
new file mode 100644
index 00000000..ec2ba73d
--- /dev/null
+++ b/src/wixext/Tuples/PerformanceCategoryTuple.cs
@@ -0,0 +1,79 @@
1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3namespace WixToolset.Util
4{
5 using WixToolset.Data;
6 using WixToolset.Util.Tuples;
7
8 public static partial class UtilTupleDefinitions
9 {
10 public static readonly IntermediateTupleDefinition PerformanceCategory = new IntermediateTupleDefinition(
11 UtilTupleDefinitionType.PerformanceCategory.ToString(),
12 new[]
13 {
14 new IntermediateFieldDefinition(nameof(PerformanceCategoryTupleFields.PerformanceCategory), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(PerformanceCategoryTupleFields.Component_), IntermediateFieldType.String),
16 new IntermediateFieldDefinition(nameof(PerformanceCategoryTupleFields.Name), IntermediateFieldType.String),
17 new IntermediateFieldDefinition(nameof(PerformanceCategoryTupleFields.IniData), IntermediateFieldType.String),
18 new IntermediateFieldDefinition(nameof(PerformanceCategoryTupleFields.ConstantData), IntermediateFieldType.String),
19 },
20 typeof(PerformanceCategoryTuple));
21 }
22}
23
24namespace WixToolset.Util.Tuples
25{
26 using WixToolset.Data;
27
28 public enum PerformanceCategoryTupleFields
29 {
30 PerformanceCategory,
31 Component_,
32 Name,
33 IniData,
34 ConstantData,
35 }
36
37 public class PerformanceCategoryTuple : IntermediateTuple
38 {
39 public PerformanceCategoryTuple() : base(UtilTupleDefinitions.PerformanceCategory, null, null)
40 {
41 }
42
43 public PerformanceCategoryTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(UtilTupleDefinitions.PerformanceCategory, sourceLineNumber, id)
44 {
45 }
46
47 public IntermediateField this[PerformanceCategoryTupleFields index] => this.Fields[(int)index];
48
49 public string PerformanceCategory
50 {
51 get => this.Fields[(int)PerformanceCategoryTupleFields.PerformanceCategory].AsString();
52 set => this.Set((int)PerformanceCategoryTupleFields.PerformanceCategory, value);
53 }
54
55 public string Component_
56 {
57 get => this.Fields[(int)PerformanceCategoryTupleFields.Component_].AsString();
58 set => this.Set((int)PerformanceCategoryTupleFields.Component_, value);
59 }
60
61 public string Name
62 {
63 get => this.Fields[(int)PerformanceCategoryTupleFields.Name].AsString();
64 set => this.Set((int)PerformanceCategoryTupleFields.Name, value);
65 }
66
67 public string IniData
68 {
69 get => this.Fields[(int)PerformanceCategoryTupleFields.IniData].AsString();
70 set => this.Set((int)PerformanceCategoryTupleFields.IniData, value);
71 }
72
73 public string ConstantData
74 {
75 get => this.Fields[(int)PerformanceCategoryTupleFields.ConstantData].AsString();
76 set => this.Set((int)PerformanceCategoryTupleFields.ConstantData, value);
77 }
78 }
79} \ No newline at end of file
diff --git a/src/wixext/Tuples/SecureObjectsTuple.cs b/src/wixext/Tuples/SecureObjectsTuple.cs
new file mode 100644
index 00000000..f54b23d8
--- /dev/null
+++ b/src/wixext/Tuples/SecureObjectsTuple.cs
@@ -0,0 +1,87 @@
1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3namespace WixToolset.Util
4{
5 using WixToolset.Data;
6 using WixToolset.Util.Tuples;
7
8 public static partial class UtilTupleDefinitions
9 {
10 public static readonly IntermediateTupleDefinition SecureObjects = new IntermediateTupleDefinition(
11 UtilTupleDefinitionType.SecureObjects.ToString(),
12 new[]
13 {
14 new IntermediateFieldDefinition(nameof(SecureObjectsTupleFields.SecureObject), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(SecureObjectsTupleFields.Table), IntermediateFieldType.String),
16 new IntermediateFieldDefinition(nameof(SecureObjectsTupleFields.Domain), IntermediateFieldType.String),
17 new IntermediateFieldDefinition(nameof(SecureObjectsTupleFields.User), IntermediateFieldType.String),
18 new IntermediateFieldDefinition(nameof(SecureObjectsTupleFields.Permission), IntermediateFieldType.Number),
19 new IntermediateFieldDefinition(nameof(SecureObjectsTupleFields.Component_), IntermediateFieldType.String),
20 },
21 typeof(SecureObjectsTuple));
22 }
23}
24
25namespace WixToolset.Util.Tuples
26{
27 using WixToolset.Data;
28
29 public enum SecureObjectsTupleFields
30 {
31 SecureObject,
32 Table,
33 Domain,
34 User,
35 Permission,
36 Component_,
37 }
38
39 public class SecureObjectsTuple : IntermediateTuple
40 {
41 public SecureObjectsTuple() : base(UtilTupleDefinitions.SecureObjects, null, null)
42 {
43 }
44
45 public SecureObjectsTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(UtilTupleDefinitions.SecureObjects, sourceLineNumber, id)
46 {
47 }
48
49 public IntermediateField this[SecureObjectsTupleFields index] => this.Fields[(int)index];
50
51 public string SecureObject
52 {
53 get => this.Fields[(int)SecureObjectsTupleFields.SecureObject].AsString();
54 set => this.Set((int)SecureObjectsTupleFields.SecureObject, value);
55 }
56
57 public string Table
58 {
59 get => this.Fields[(int)SecureObjectsTupleFields.Table].AsString();
60 set => this.Set((int)SecureObjectsTupleFields.Table, value);
61 }
62
63 public string Domain
64 {
65 get => this.Fields[(int)SecureObjectsTupleFields.Domain].AsString();
66 set => this.Set((int)SecureObjectsTupleFields.Domain, value);
67 }
68
69 public string User
70 {
71 get => this.Fields[(int)SecureObjectsTupleFields.User].AsString();
72 set => this.Set((int)SecureObjectsTupleFields.User, value);
73 }
74
75 public int Permission
76 {
77 get => this.Fields[(int)SecureObjectsTupleFields.Permission].AsNumber();
78 set => this.Set((int)SecureObjectsTupleFields.Permission, value);
79 }
80
81 public string Component_
82 {
83 get => this.Fields[(int)SecureObjectsTupleFields.Component_].AsString();
84 set => this.Set((int)SecureObjectsTupleFields.Component_, value);
85 }
86 }
87} \ No newline at end of file
diff --git a/src/wixext/Tuples/ServiceConfigTuple.cs b/src/wixext/Tuples/ServiceConfigTuple.cs
new file mode 100644
index 00000000..74d96bca
--- /dev/null
+++ b/src/wixext/Tuples/ServiceConfigTuple.cs
@@ -0,0 +1,119 @@
1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3namespace WixToolset.Util
4{
5 using WixToolset.Data;
6 using WixToolset.Util.Tuples;
7
8 public static partial class UtilTupleDefinitions
9 {
10 public static readonly IntermediateTupleDefinition ServiceConfig = new IntermediateTupleDefinition(
11 UtilTupleDefinitionType.ServiceConfig.ToString(),
12 new[]
13 {
14 new IntermediateFieldDefinition(nameof(ServiceConfigTupleFields.ServiceName), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(ServiceConfigTupleFields.Component_), IntermediateFieldType.String),
16 new IntermediateFieldDefinition(nameof(ServiceConfigTupleFields.NewService), IntermediateFieldType.Number),
17 new IntermediateFieldDefinition(nameof(ServiceConfigTupleFields.FirstFailureActionType), IntermediateFieldType.String),
18 new IntermediateFieldDefinition(nameof(ServiceConfigTupleFields.SecondFailureActionType), IntermediateFieldType.String),
19 new IntermediateFieldDefinition(nameof(ServiceConfigTupleFields.ThirdFailureActionType), IntermediateFieldType.String),
20 new IntermediateFieldDefinition(nameof(ServiceConfigTupleFields.ResetPeriodInDays), IntermediateFieldType.Number),
21 new IntermediateFieldDefinition(nameof(ServiceConfigTupleFields.RestartServiceDelayInSeconds), IntermediateFieldType.Number),
22 new IntermediateFieldDefinition(nameof(ServiceConfigTupleFields.ProgramCommandLine), IntermediateFieldType.String),
23 new IntermediateFieldDefinition(nameof(ServiceConfigTupleFields.RebootMessage), IntermediateFieldType.String),
24 },
25 typeof(ServiceConfigTuple));
26 }
27}
28
29namespace WixToolset.Util.Tuples
30{
31 using WixToolset.Data;
32
33 public enum ServiceConfigTupleFields
34 {
35 ServiceName,
36 Component_,
37 NewService,
38 FirstFailureActionType,
39 SecondFailureActionType,
40 ThirdFailureActionType,
41 ResetPeriodInDays,
42 RestartServiceDelayInSeconds,
43 ProgramCommandLine,
44 RebootMessage,
45 }
46
47 public class ServiceConfigTuple : IntermediateTuple
48 {
49 public ServiceConfigTuple() : base(UtilTupleDefinitions.ServiceConfig, null, null)
50 {
51 }
52
53 public ServiceConfigTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(UtilTupleDefinitions.ServiceConfig, sourceLineNumber, id)
54 {
55 }
56
57 public IntermediateField this[ServiceConfigTupleFields index] => this.Fields[(int)index];
58
59 public string ServiceName
60 {
61 get => this.Fields[(int)ServiceConfigTupleFields.ServiceName].AsString();
62 set => this.Set((int)ServiceConfigTupleFields.ServiceName, value);
63 }
64
65 public string Component_
66 {
67 get => this.Fields[(int)ServiceConfigTupleFields.Component_].AsString();
68 set => this.Set((int)ServiceConfigTupleFields.Component_, value);
69 }
70
71 public int NewService
72 {
73 get => this.Fields[(int)ServiceConfigTupleFields.NewService].AsNumber();
74 set => this.Set((int)ServiceConfigTupleFields.NewService, value);
75 }
76
77 public string FirstFailureActionType
78 {
79 get => this.Fields[(int)ServiceConfigTupleFields.FirstFailureActionType].AsString();
80 set => this.Set((int)ServiceConfigTupleFields.FirstFailureActionType, value);
81 }
82
83 public string SecondFailureActionType
84 {
85 get => this.Fields[(int)ServiceConfigTupleFields.SecondFailureActionType].AsString();
86 set => this.Set((int)ServiceConfigTupleFields.SecondFailureActionType, value);
87 }
88
89 public string ThirdFailureActionType
90 {
91 get => this.Fields[(int)ServiceConfigTupleFields.ThirdFailureActionType].AsString();
92 set => this.Set((int)ServiceConfigTupleFields.ThirdFailureActionType, value);
93 }
94
95 public int ResetPeriodInDays
96 {
97 get => this.Fields[(int)ServiceConfigTupleFields.ResetPeriodInDays].AsNumber();
98 set => this.Set((int)ServiceConfigTupleFields.ResetPeriodInDays, value);
99 }
100
101 public int RestartServiceDelayInSeconds
102 {
103 get => this.Fields[(int)ServiceConfigTupleFields.RestartServiceDelayInSeconds].AsNumber();
104 set => this.Set((int)ServiceConfigTupleFields.RestartServiceDelayInSeconds, value);
105 }
106
107 public string ProgramCommandLine
108 {
109 get => this.Fields[(int)ServiceConfigTupleFields.ProgramCommandLine].AsString();
110 set => this.Set((int)ServiceConfigTupleFields.ProgramCommandLine, value);
111 }
112
113 public string RebootMessage
114 {
115 get => this.Fields[(int)ServiceConfigTupleFields.RebootMessage].AsString();
116 set => this.Set((int)ServiceConfigTupleFields.RebootMessage, value);
117 }
118 }
119} \ No newline at end of file
diff --git a/src/wixext/Tuples/UserGroupTuple.cs b/src/wixext/Tuples/UserGroupTuple.cs
new file mode 100644
index 00000000..0386a26e
--- /dev/null
+++ b/src/wixext/Tuples/UserGroupTuple.cs
@@ -0,0 +1,55 @@
1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3namespace WixToolset.Util
4{
5 using WixToolset.Data;
6 using WixToolset.Util.Tuples;
7
8 public static partial class UtilTupleDefinitions
9 {
10 public static readonly IntermediateTupleDefinition UserGroup = new IntermediateTupleDefinition(
11 UtilTupleDefinitionType.UserGroup.ToString(),
12 new[]
13 {
14 new IntermediateFieldDefinition(nameof(UserGroupTupleFields.User_), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(UserGroupTupleFields.Group_), IntermediateFieldType.String),
16 },
17 typeof(UserGroupTuple));
18 }
19}
20
21namespace WixToolset.Util.Tuples
22{
23 using WixToolset.Data;
24
25 public enum UserGroupTupleFields
26 {
27 User_,
28 Group_,
29 }
30
31 public class UserGroupTuple : IntermediateTuple
32 {
33 public UserGroupTuple() : base(UtilTupleDefinitions.UserGroup, null, null)
34 {
35 }
36
37 public UserGroupTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(UtilTupleDefinitions.UserGroup, sourceLineNumber, id)
38 {
39 }
40
41 public IntermediateField this[UserGroupTupleFields index] => this.Fields[(int)index];
42
43 public string User_
44 {
45 get => this.Fields[(int)UserGroupTupleFields.User_].AsString();
46 set => this.Set((int)UserGroupTupleFields.User_, value);
47 }
48
49 public string Group_
50 {
51 get => this.Fields[(int)UserGroupTupleFields.Group_].AsString();
52 set => this.Set((int)UserGroupTupleFields.Group_, value);
53 }
54 }
55} \ No newline at end of file
diff --git a/src/wixext/Tuples/UserTuple.cs b/src/wixext/Tuples/UserTuple.cs
new file mode 100644
index 00000000..e8c5315c
--- /dev/null
+++ b/src/wixext/Tuples/UserTuple.cs
@@ -0,0 +1,87 @@
1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3namespace WixToolset.Util
4{
5 using WixToolset.Data;
6 using WixToolset.Util.Tuples;
7
8 public static partial class UtilTupleDefinitions
9 {
10 public static readonly IntermediateTupleDefinition User = new IntermediateTupleDefinition(
11 UtilTupleDefinitionType.User.ToString(),
12 new[]
13 {
14 new IntermediateFieldDefinition(nameof(UserTupleFields.User), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(UserTupleFields.Component_), IntermediateFieldType.String),
16 new IntermediateFieldDefinition(nameof(UserTupleFields.Name), IntermediateFieldType.String),
17 new IntermediateFieldDefinition(nameof(UserTupleFields.Domain), IntermediateFieldType.String),
18 new IntermediateFieldDefinition(nameof(UserTupleFields.Password), IntermediateFieldType.String),
19 new IntermediateFieldDefinition(nameof(UserTupleFields.Attributes), IntermediateFieldType.Number),
20 },
21 typeof(UserTuple));
22 }
23}
24
25namespace WixToolset.Util.Tuples
26{
27 using WixToolset.Data;
28
29 public enum UserTupleFields
30 {
31 User,
32 Component_,
33 Name,
34 Domain,
35 Password,
36 Attributes,
37 }
38
39 public class UserTuple : IntermediateTuple
40 {
41 public UserTuple() : base(UtilTupleDefinitions.User, null, null)
42 {
43 }
44
45 public UserTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(UtilTupleDefinitions.User, sourceLineNumber, id)
46 {
47 }
48
49 public IntermediateField this[UserTupleFields index] => this.Fields[(int)index];
50
51 public string User
52 {
53 get => this.Fields[(int)UserTupleFields.User].AsString();
54 set => this.Set((int)UserTupleFields.User, value);
55 }
56
57 public string Component_
58 {
59 get => this.Fields[(int)UserTupleFields.Component_].AsString();
60 set => this.Set((int)UserTupleFields.Component_, value);
61 }
62
63 public string Name
64 {
65 get => this.Fields[(int)UserTupleFields.Name].AsString();
66 set => this.Set((int)UserTupleFields.Name, value);
67 }
68
69 public string Domain
70 {
71 get => this.Fields[(int)UserTupleFields.Domain].AsString();
72 set => this.Set((int)UserTupleFields.Domain, value);
73 }
74
75 public string Password
76 {
77 get => this.Fields[(int)UserTupleFields.Password].AsString();
78 set => this.Set((int)UserTupleFields.Password, value);
79 }
80
81 public int Attributes
82 {
83 get => this.Fields[(int)UserTupleFields.Attributes].AsNumber();
84 set => this.Set((int)UserTupleFields.Attributes, value);
85 }
86 }
87} \ No newline at end of file
diff --git a/src/wixext/Tuples/UtilTupleDefinitions.cs b/src/wixext/Tuples/UtilTupleDefinitions.cs
new file mode 100644
index 00000000..00c98337
--- /dev/null
+++ b/src/wixext/Tuples/UtilTupleDefinitions.cs
@@ -0,0 +1,111 @@
1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3namespace WixToolset.Util
4{
5 using System;
6 using WixToolset.Data;
7
8 public enum UtilTupleDefinitionType
9 {
10 EventManifest,
11 FileShare,
12 FileSharePermissions,
13 Group,
14 Perfmon,
15 PerfmonManifest,
16 PerformanceCategory,
17 SecureObjects,
18 ServiceConfig,
19 User,
20 UserGroup,
21 WixCloseApplication,
22 WixFormatFiles,
23 WixInternetShortcut,
24 WixRemoveFolderEx,
25 WixRestartResource,
26 WixTouchFile,
27 XmlConfig,
28 XmlFile,
29 }
30
31 public static partial class UtilTupleDefinitions
32 {
33 public static readonly Version Version = new Version("4.0.0");
34
35 public static IntermediateTupleDefinition ByName(string name)
36 {
37 if (!Enum.TryParse(name, out UtilTupleDefinitionType type))
38 {
39 return null;
40 }
41
42 return ByType(type);
43 }
44
45 public static IntermediateTupleDefinition ByType(UtilTupleDefinitionType type)
46 {
47 switch (type)
48 {
49 case UtilTupleDefinitionType.EventManifest:
50 return UtilTupleDefinitions.EventManifest;
51
52 case UtilTupleDefinitionType.FileShare:
53 return UtilTupleDefinitions.FileShare;
54
55 case UtilTupleDefinitionType.FileSharePermissions:
56 return UtilTupleDefinitions.FileSharePermissions;
57
58 case UtilTupleDefinitionType.Group:
59 return UtilTupleDefinitions.Group;
60
61 case UtilTupleDefinitionType.Perfmon:
62 return UtilTupleDefinitions.Perfmon;
63
64 case UtilTupleDefinitionType.PerfmonManifest:
65 return UtilTupleDefinitions.PerfmonManifest;
66
67 case UtilTupleDefinitionType.PerformanceCategory:
68 return UtilTupleDefinitions.PerformanceCategory;
69
70 case UtilTupleDefinitionType.SecureObjects:
71 return UtilTupleDefinitions.SecureObjects;
72
73 case UtilTupleDefinitionType.ServiceConfig:
74 return UtilTupleDefinitions.ServiceConfig;
75
76 case UtilTupleDefinitionType.User:
77 return UtilTupleDefinitions.User;
78
79 case UtilTupleDefinitionType.UserGroup:
80 return UtilTupleDefinitions.UserGroup;
81
82 case UtilTupleDefinitionType.WixCloseApplication:
83 return UtilTupleDefinitions.WixCloseApplication;
84
85 case UtilTupleDefinitionType.WixFormatFiles:
86 return UtilTupleDefinitions.WixFormatFiles;
87
88 case UtilTupleDefinitionType.WixInternetShortcut:
89 return UtilTupleDefinitions.WixInternetShortcut;
90
91 case UtilTupleDefinitionType.WixRemoveFolderEx:
92 return UtilTupleDefinitions.WixRemoveFolderEx;
93
94 case UtilTupleDefinitionType.WixRestartResource:
95 return UtilTupleDefinitions.WixRestartResource;
96
97 case UtilTupleDefinitionType.WixTouchFile:
98 return UtilTupleDefinitions.WixTouchFile;
99
100 case UtilTupleDefinitionType.XmlConfig:
101 return UtilTupleDefinitions.XmlConfig;
102
103 case UtilTupleDefinitionType.XmlFile:
104 return UtilTupleDefinitions.XmlFile;
105
106 default:
107 throw new ArgumentOutOfRangeException(nameof(type));
108 }
109 }
110 }
111}
diff --git a/src/wixext/Tuples/WixCloseApplicationTuple.cs b/src/wixext/Tuples/WixCloseApplicationTuple.cs
new file mode 100644
index 00000000..c2095d93
--- /dev/null
+++ b/src/wixext/Tuples/WixCloseApplicationTuple.cs
@@ -0,0 +1,111 @@
1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3namespace WixToolset.Util
4{
5 using WixToolset.Data;
6 using WixToolset.Util.Tuples;
7
8 public static partial class UtilTupleDefinitions
9 {
10 public static readonly IntermediateTupleDefinition WixCloseApplication = new IntermediateTupleDefinition(
11 UtilTupleDefinitionType.WixCloseApplication.ToString(),
12 new[]
13 {
14 new IntermediateFieldDefinition(nameof(WixCloseApplicationTupleFields.WixCloseApplication), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(WixCloseApplicationTupleFields.Target), IntermediateFieldType.String),
16 new IntermediateFieldDefinition(nameof(WixCloseApplicationTupleFields.Description), IntermediateFieldType.String),
17 new IntermediateFieldDefinition(nameof(WixCloseApplicationTupleFields.Condition), IntermediateFieldType.String),
18 new IntermediateFieldDefinition(nameof(WixCloseApplicationTupleFields.Attributes), IntermediateFieldType.Number),
19 new IntermediateFieldDefinition(nameof(WixCloseApplicationTupleFields.Sequence), IntermediateFieldType.Number),
20 new IntermediateFieldDefinition(nameof(WixCloseApplicationTupleFields.Property), IntermediateFieldType.String),
21 new IntermediateFieldDefinition(nameof(WixCloseApplicationTupleFields.TerminateExitCode), IntermediateFieldType.Number),
22 new IntermediateFieldDefinition(nameof(WixCloseApplicationTupleFields.Timeout), IntermediateFieldType.Number),
23 },
24 typeof(WixCloseApplicationTuple));
25 }
26}
27
28namespace WixToolset.Util.Tuples
29{
30 using WixToolset.Data;
31
32 public enum WixCloseApplicationTupleFields
33 {
34 WixCloseApplication,
35 Target,
36 Description,
37 Condition,
38 Attributes,
39 Sequence,
40 Property,
41 TerminateExitCode,
42 Timeout,
43 }
44
45 public class WixCloseApplicationTuple : IntermediateTuple
46 {
47 public WixCloseApplicationTuple() : base(UtilTupleDefinitions.WixCloseApplication, null, null)
48 {
49 }
50
51 public WixCloseApplicationTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(UtilTupleDefinitions.WixCloseApplication, sourceLineNumber, id)
52 {
53 }
54
55 public IntermediateField this[WixCloseApplicationTupleFields index] => this.Fields[(int)index];
56
57 public string WixCloseApplication
58 {
59 get => this.Fields[(int)WixCloseApplicationTupleFields.WixCloseApplication].AsString();
60 set => this.Set((int)WixCloseApplicationTupleFields.WixCloseApplication, value);
61 }
62
63 public string Target
64 {
65 get => this.Fields[(int)WixCloseApplicationTupleFields.Target].AsString();
66 set => this.Set((int)WixCloseApplicationTupleFields.Target, value);
67 }
68
69 public string Description
70 {
71 get => this.Fields[(int)WixCloseApplicationTupleFields.Description].AsString();
72 set => this.Set((int)WixCloseApplicationTupleFields.Description, value);
73 }
74
75 public string Condition
76 {
77 get => this.Fields[(int)WixCloseApplicationTupleFields.Condition].AsString();
78 set => this.Set((int)WixCloseApplicationTupleFields.Condition, value);
79 }
80
81 public int Attributes
82 {
83 get => this.Fields[(int)WixCloseApplicationTupleFields.Attributes].AsNumber();
84 set => this.Set((int)WixCloseApplicationTupleFields.Attributes, value);
85 }
86
87 public int Sequence
88 {
89 get => this.Fields[(int)WixCloseApplicationTupleFields.Sequence].AsNumber();
90 set => this.Set((int)WixCloseApplicationTupleFields.Sequence, value);
91 }
92
93 public string Property
94 {
95 get => this.Fields[(int)WixCloseApplicationTupleFields.Property].AsString();
96 set => this.Set((int)WixCloseApplicationTupleFields.Property, value);
97 }
98
99 public int TerminateExitCode
100 {
101 get => this.Fields[(int)WixCloseApplicationTupleFields.TerminateExitCode].AsNumber();
102 set => this.Set((int)WixCloseApplicationTupleFields.TerminateExitCode, value);
103 }
104
105 public int Timeout
106 {
107 get => this.Fields[(int)WixCloseApplicationTupleFields.Timeout].AsNumber();
108 set => this.Set((int)WixCloseApplicationTupleFields.Timeout, value);
109 }
110 }
111} \ No newline at end of file
diff --git a/src/wixext/Tuples/WixFormatFilesTuple.cs b/src/wixext/Tuples/WixFormatFilesTuple.cs
new file mode 100644
index 00000000..7fc092b0
--- /dev/null
+++ b/src/wixext/Tuples/WixFormatFilesTuple.cs
@@ -0,0 +1,55 @@
1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3namespace WixToolset.Util
4{
5 using WixToolset.Data;
6 using WixToolset.Util.Tuples;
7
8 public static partial class UtilTupleDefinitions
9 {
10 public static readonly IntermediateTupleDefinition WixFormatFiles = new IntermediateTupleDefinition(
11 UtilTupleDefinitionType.WixFormatFiles.ToString(),
12 new[]
13 {
14 new IntermediateFieldDefinition(nameof(WixFormatFilesTupleFields.Binary_), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(WixFormatFilesTupleFields.File_), IntermediateFieldType.String),
16 },
17 typeof(WixFormatFilesTuple));
18 }
19}
20
21namespace WixToolset.Util.Tuples
22{
23 using WixToolset.Data;
24
25 public enum WixFormatFilesTupleFields
26 {
27 Binary_,
28 File_,
29 }
30
31 public class WixFormatFilesTuple : IntermediateTuple
32 {
33 public WixFormatFilesTuple() : base(UtilTupleDefinitions.WixFormatFiles, null, null)
34 {
35 }
36
37 public WixFormatFilesTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(UtilTupleDefinitions.WixFormatFiles, sourceLineNumber, id)
38 {
39 }
40
41 public IntermediateField this[WixFormatFilesTupleFields index] => this.Fields[(int)index];
42
43 public string Binary_
44 {
45 get => this.Fields[(int)WixFormatFilesTupleFields.Binary_].AsString();
46 set => this.Set((int)WixFormatFilesTupleFields.Binary_, value);
47 }
48
49 public string File_
50 {
51 get => this.Fields[(int)WixFormatFilesTupleFields.File_].AsString();
52 set => this.Set((int)WixFormatFilesTupleFields.File_, value);
53 }
54 }
55} \ No newline at end of file
diff --git a/src/wixext/Tuples/WixInternetShortcutTuple.cs b/src/wixext/Tuples/WixInternetShortcutTuple.cs
new file mode 100644
index 00000000..5c29cda6
--- /dev/null
+++ b/src/wixext/Tuples/WixInternetShortcutTuple.cs
@@ -0,0 +1,103 @@
1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3namespace WixToolset.Util
4{
5 using WixToolset.Data;
6 using WixToolset.Util.Tuples;
7
8 public static partial class UtilTupleDefinitions
9 {
10 public static readonly IntermediateTupleDefinition WixInternetShortcut = new IntermediateTupleDefinition(
11 UtilTupleDefinitionType.WixInternetShortcut.ToString(),
12 new[]
13 {
14 new IntermediateFieldDefinition(nameof(WixInternetShortcutTupleFields.WixInternetShortcut), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(WixInternetShortcutTupleFields.Component_), IntermediateFieldType.String),
16 new IntermediateFieldDefinition(nameof(WixInternetShortcutTupleFields.Directory_), IntermediateFieldType.String),
17 new IntermediateFieldDefinition(nameof(WixInternetShortcutTupleFields.Name), IntermediateFieldType.String),
18 new IntermediateFieldDefinition(nameof(WixInternetShortcutTupleFields.Target), IntermediateFieldType.String),
19 new IntermediateFieldDefinition(nameof(WixInternetShortcutTupleFields.Attributes), IntermediateFieldType.Number),
20 new IntermediateFieldDefinition(nameof(WixInternetShortcutTupleFields.IconFile), IntermediateFieldType.String),
21 new IntermediateFieldDefinition(nameof(WixInternetShortcutTupleFields.IconIndex), IntermediateFieldType.Number),
22 },
23 typeof(WixInternetShortcutTuple));
24 }
25}
26
27namespace WixToolset.Util.Tuples
28{
29 using WixToolset.Data;
30
31 public enum WixInternetShortcutTupleFields
32 {
33 WixInternetShortcut,
34 Component_,
35 Directory_,
36 Name,
37 Target,
38 Attributes,
39 IconFile,
40 IconIndex,
41 }
42
43 public class WixInternetShortcutTuple : IntermediateTuple
44 {
45 public WixInternetShortcutTuple() : base(UtilTupleDefinitions.WixInternetShortcut, null, null)
46 {
47 }
48
49 public WixInternetShortcutTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(UtilTupleDefinitions.WixInternetShortcut, sourceLineNumber, id)
50 {
51 }
52
53 public IntermediateField this[WixInternetShortcutTupleFields index] => this.Fields[(int)index];
54
55 public string WixInternetShortcut
56 {
57 get => this.Fields[(int)WixInternetShortcutTupleFields.WixInternetShortcut].AsString();
58 set => this.Set((int)WixInternetShortcutTupleFields.WixInternetShortcut, value);
59 }
60
61 public string Component_
62 {
63 get => this.Fields[(int)WixInternetShortcutTupleFields.Component_].AsString();
64 set => this.Set((int)WixInternetShortcutTupleFields.Component_, value);
65 }
66
67 public string Directory_
68 {
69 get => this.Fields[(int)WixInternetShortcutTupleFields.Directory_].AsString();
70 set => this.Set((int)WixInternetShortcutTupleFields.Directory_, value);
71 }
72
73 public string Name
74 {
75 get => this.Fields[(int)WixInternetShortcutTupleFields.Name].AsString();
76 set => this.Set((int)WixInternetShortcutTupleFields.Name, value);
77 }
78
79 public string Target
80 {
81 get => this.Fields[(int)WixInternetShortcutTupleFields.Target].AsString();
82 set => this.Set((int)WixInternetShortcutTupleFields.Target, value);
83 }
84
85 public int Attributes
86 {
87 get => this.Fields[(int)WixInternetShortcutTupleFields.Attributes].AsNumber();
88 set => this.Set((int)WixInternetShortcutTupleFields.Attributes, value);
89 }
90
91 public string IconFile
92 {
93 get => this.Fields[(int)WixInternetShortcutTupleFields.IconFile].AsString();
94 set => this.Set((int)WixInternetShortcutTupleFields.IconFile, value);
95 }
96
97 public int IconIndex
98 {
99 get => this.Fields[(int)WixInternetShortcutTupleFields.IconIndex].AsNumber();
100 set => this.Set((int)WixInternetShortcutTupleFields.IconIndex, value);
101 }
102 }
103} \ No newline at end of file
diff --git a/src/wixext/Tuples/WixRemoveFolderExTuple.cs b/src/wixext/Tuples/WixRemoveFolderExTuple.cs
new file mode 100644
index 00000000..35e22e2d
--- /dev/null
+++ b/src/wixext/Tuples/WixRemoveFolderExTuple.cs
@@ -0,0 +1,71 @@
1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3namespace WixToolset.Util
4{
5 using WixToolset.Data;
6 using WixToolset.Util.Tuples;
7
8 public static partial class UtilTupleDefinitions
9 {
10 public static readonly IntermediateTupleDefinition WixRemoveFolderEx = new IntermediateTupleDefinition(
11 UtilTupleDefinitionType.WixRemoveFolderEx.ToString(),
12 new[]
13 {
14 new IntermediateFieldDefinition(nameof(WixRemoveFolderExTupleFields.WixRemoveFolderEx), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(WixRemoveFolderExTupleFields.Component_), IntermediateFieldType.String),
16 new IntermediateFieldDefinition(nameof(WixRemoveFolderExTupleFields.Property), IntermediateFieldType.String),
17 new IntermediateFieldDefinition(nameof(WixRemoveFolderExTupleFields.InstallMode), IntermediateFieldType.Number),
18 },
19 typeof(WixRemoveFolderExTuple));
20 }
21}
22
23namespace WixToolset.Util.Tuples
24{
25 using WixToolset.Data;
26
27 public enum WixRemoveFolderExTupleFields
28 {
29 WixRemoveFolderEx,
30 Component_,
31 Property,
32 InstallMode,
33 }
34
35 public class WixRemoveFolderExTuple : IntermediateTuple
36 {
37 public WixRemoveFolderExTuple() : base(UtilTupleDefinitions.WixRemoveFolderEx, null, null)
38 {
39 }
40
41 public WixRemoveFolderExTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(UtilTupleDefinitions.WixRemoveFolderEx, sourceLineNumber, id)
42 {
43 }
44
45 public IntermediateField this[WixRemoveFolderExTupleFields index] => this.Fields[(int)index];
46
47 public string WixRemoveFolderEx
48 {
49 get => this.Fields[(int)WixRemoveFolderExTupleFields.WixRemoveFolderEx].AsString();
50 set => this.Set((int)WixRemoveFolderExTupleFields.WixRemoveFolderEx, value);
51 }
52
53 public string Component_
54 {
55 get => this.Fields[(int)WixRemoveFolderExTupleFields.Component_].AsString();
56 set => this.Set((int)WixRemoveFolderExTupleFields.Component_, value);
57 }
58
59 public string Property
60 {
61 get => this.Fields[(int)WixRemoveFolderExTupleFields.Property].AsString();
62 set => this.Set((int)WixRemoveFolderExTupleFields.Property, value);
63 }
64
65 public int InstallMode
66 {
67 get => this.Fields[(int)WixRemoveFolderExTupleFields.InstallMode].AsNumber();
68 set => this.Set((int)WixRemoveFolderExTupleFields.InstallMode, value);
69 }
70 }
71} \ No newline at end of file
diff --git a/src/wixext/Tuples/WixRestartResourceTuple.cs b/src/wixext/Tuples/WixRestartResourceTuple.cs
new file mode 100644
index 00000000..828d9d15
--- /dev/null
+++ b/src/wixext/Tuples/WixRestartResourceTuple.cs
@@ -0,0 +1,71 @@
1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3namespace WixToolset.Util
4{
5 using WixToolset.Data;
6 using WixToolset.Util.Tuples;
7
8 public static partial class UtilTupleDefinitions
9 {
10 public static readonly IntermediateTupleDefinition WixRestartResource = new IntermediateTupleDefinition(
11 UtilTupleDefinitionType.WixRestartResource.ToString(),
12 new[]
13 {
14 new IntermediateFieldDefinition(nameof(WixRestartResourceTupleFields.WixRestartResource), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(WixRestartResourceTupleFields.Component_), IntermediateFieldType.String),
16 new IntermediateFieldDefinition(nameof(WixRestartResourceTupleFields.Resource), IntermediateFieldType.String),
17 new IntermediateFieldDefinition(nameof(WixRestartResourceTupleFields.Attributes), IntermediateFieldType.Number),
18 },
19 typeof(WixRestartResourceTuple));
20 }
21}
22
23namespace WixToolset.Util.Tuples
24{
25 using WixToolset.Data;
26
27 public enum WixRestartResourceTupleFields
28 {
29 WixRestartResource,
30 Component_,
31 Resource,
32 Attributes,
33 }
34
35 public class WixRestartResourceTuple : IntermediateTuple
36 {
37 public WixRestartResourceTuple() : base(UtilTupleDefinitions.WixRestartResource, null, null)
38 {
39 }
40
41 public WixRestartResourceTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(UtilTupleDefinitions.WixRestartResource, sourceLineNumber, id)
42 {
43 }
44
45 public IntermediateField this[WixRestartResourceTupleFields index] => this.Fields[(int)index];
46
47 public string WixRestartResource
48 {
49 get => this.Fields[(int)WixRestartResourceTupleFields.WixRestartResource].AsString();
50 set => this.Set((int)WixRestartResourceTupleFields.WixRestartResource, value);
51 }
52
53 public string Component_
54 {
55 get => this.Fields[(int)WixRestartResourceTupleFields.Component_].AsString();
56 set => this.Set((int)WixRestartResourceTupleFields.Component_, value);
57 }
58
59 public string Resource
60 {
61 get => this.Fields[(int)WixRestartResourceTupleFields.Resource].AsString();
62 set => this.Set((int)WixRestartResourceTupleFields.Resource, value);
63 }
64
65 public int Attributes
66 {
67 get => this.Fields[(int)WixRestartResourceTupleFields.Attributes].AsNumber();
68 set => this.Set((int)WixRestartResourceTupleFields.Attributes, value);
69 }
70 }
71} \ No newline at end of file
diff --git a/src/wixext/Tuples/WixTouchFileTuple.cs b/src/wixext/Tuples/WixTouchFileTuple.cs
new file mode 100644
index 00000000..f87f396e
--- /dev/null
+++ b/src/wixext/Tuples/WixTouchFileTuple.cs
@@ -0,0 +1,71 @@
1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3namespace WixToolset.Util
4{
5 using WixToolset.Data;
6 using WixToolset.Util.Tuples;
7
8 public static partial class UtilTupleDefinitions
9 {
10 public static readonly IntermediateTupleDefinition WixTouchFile = new IntermediateTupleDefinition(
11 UtilTupleDefinitionType.WixTouchFile.ToString(),
12 new[]
13 {
14 new IntermediateFieldDefinition(nameof(WixTouchFileTupleFields.WixTouchFile), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(WixTouchFileTupleFields.Component_), IntermediateFieldType.String),
16 new IntermediateFieldDefinition(nameof(WixTouchFileTupleFields.Path), IntermediateFieldType.String),
17 new IntermediateFieldDefinition(nameof(WixTouchFileTupleFields.Attributes), IntermediateFieldType.Number),
18 },
19 typeof(WixTouchFileTuple));
20 }
21}
22
23namespace WixToolset.Util.Tuples
24{
25 using WixToolset.Data;
26
27 public enum WixTouchFileTupleFields
28 {
29 WixTouchFile,
30 Component_,
31 Path,
32 Attributes,
33 }
34
35 public class WixTouchFileTuple : IntermediateTuple
36 {
37 public WixTouchFileTuple() : base(UtilTupleDefinitions.WixTouchFile, null, null)
38 {
39 }
40
41 public WixTouchFileTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(UtilTupleDefinitions.WixTouchFile, sourceLineNumber, id)
42 {
43 }
44
45 public IntermediateField this[WixTouchFileTupleFields index] => this.Fields[(int)index];
46
47 public string WixTouchFile
48 {
49 get => this.Fields[(int)WixTouchFileTupleFields.WixTouchFile].AsString();
50 set => this.Set((int)WixTouchFileTupleFields.WixTouchFile, value);
51 }
52
53 public string Component_
54 {
55 get => this.Fields[(int)WixTouchFileTupleFields.Component_].AsString();
56 set => this.Set((int)WixTouchFileTupleFields.Component_, value);
57 }
58
59 public string Path
60 {
61 get => this.Fields[(int)WixTouchFileTupleFields.Path].AsString();
62 set => this.Set((int)WixTouchFileTupleFields.Path, value);
63 }
64
65 public int Attributes
66 {
67 get => this.Fields[(int)WixTouchFileTupleFields.Attributes].AsNumber();
68 set => this.Set((int)WixTouchFileTupleFields.Attributes, value);
69 }
70 }
71} \ No newline at end of file
diff --git a/src/wixext/Tuples/XmlConfigTuple.cs b/src/wixext/Tuples/XmlConfigTuple.cs
new file mode 100644
index 00000000..093299b2
--- /dev/null
+++ b/src/wixext/Tuples/XmlConfigTuple.cs
@@ -0,0 +1,111 @@
1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3namespace WixToolset.Util
4{
5 using WixToolset.Data;
6 using WixToolset.Util.Tuples;
7
8 public static partial class UtilTupleDefinitions
9 {
10 public static readonly IntermediateTupleDefinition XmlConfig = new IntermediateTupleDefinition(
11 UtilTupleDefinitionType.XmlConfig.ToString(),
12 new[]
13 {
14 new IntermediateFieldDefinition(nameof(XmlConfigTupleFields.XmlConfig), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(XmlConfigTupleFields.File), IntermediateFieldType.String),
16 new IntermediateFieldDefinition(nameof(XmlConfigTupleFields.ElementPath), IntermediateFieldType.String),
17 new IntermediateFieldDefinition(nameof(XmlConfigTupleFields.VerifyPath), IntermediateFieldType.String),
18 new IntermediateFieldDefinition(nameof(XmlConfigTupleFields.Name), IntermediateFieldType.String),
19 new IntermediateFieldDefinition(nameof(XmlConfigTupleFields.Value), IntermediateFieldType.String),
20 new IntermediateFieldDefinition(nameof(XmlConfigTupleFields.Flags), IntermediateFieldType.Number),
21 new IntermediateFieldDefinition(nameof(XmlConfigTupleFields.Component_), IntermediateFieldType.String),
22 new IntermediateFieldDefinition(nameof(XmlConfigTupleFields.Sequence), IntermediateFieldType.Number),
23 },
24 typeof(XmlConfigTuple));
25 }
26}
27
28namespace WixToolset.Util.Tuples
29{
30 using WixToolset.Data;
31
32 public enum XmlConfigTupleFields
33 {
34 XmlConfig,
35 File,
36 ElementPath,
37 VerifyPath,
38 Name,
39 Value,
40 Flags,
41 Component_,
42 Sequence,
43 }
44
45 public class XmlConfigTuple : IntermediateTuple
46 {
47 public XmlConfigTuple() : base(UtilTupleDefinitions.XmlConfig, null, null)
48 {
49 }
50
51 public XmlConfigTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(UtilTupleDefinitions.XmlConfig, sourceLineNumber, id)
52 {
53 }
54
55 public IntermediateField this[XmlConfigTupleFields index] => this.Fields[(int)index];
56
57 public string XmlConfig
58 {
59 get => this.Fields[(int)XmlConfigTupleFields.XmlConfig].AsString();
60 set => this.Set((int)XmlConfigTupleFields.XmlConfig, value);
61 }
62
63 public string File
64 {
65 get => this.Fields[(int)XmlConfigTupleFields.File].AsString();
66 set => this.Set((int)XmlConfigTupleFields.File, value);
67 }
68
69 public string ElementPath
70 {
71 get => this.Fields[(int)XmlConfigTupleFields.ElementPath].AsString();
72 set => this.Set((int)XmlConfigTupleFields.ElementPath, value);
73 }
74
75 public string VerifyPath
76 {
77 get => this.Fields[(int)XmlConfigTupleFields.VerifyPath].AsString();
78 set => this.Set((int)XmlConfigTupleFields.VerifyPath, value);
79 }
80
81 public string Name
82 {
83 get => this.Fields[(int)XmlConfigTupleFields.Name].AsString();
84 set => this.Set((int)XmlConfigTupleFields.Name, value);
85 }
86
87 public string Value
88 {
89 get => this.Fields[(int)XmlConfigTupleFields.Value].AsString();
90 set => this.Set((int)XmlConfigTupleFields.Value, value);
91 }
92
93 public int Flags
94 {
95 get => this.Fields[(int)XmlConfigTupleFields.Flags].AsNumber();
96 set => this.Set((int)XmlConfigTupleFields.Flags, value);
97 }
98
99 public string Component_
100 {
101 get => this.Fields[(int)XmlConfigTupleFields.Component_].AsString();
102 set => this.Set((int)XmlConfigTupleFields.Component_, value);
103 }
104
105 public int Sequence
106 {
107 get => this.Fields[(int)XmlConfigTupleFields.Sequence].AsNumber();
108 set => this.Set((int)XmlConfigTupleFields.Sequence, value);
109 }
110 }
111} \ No newline at end of file
diff --git a/src/wixext/Tuples/XmlFileTuple.cs b/src/wixext/Tuples/XmlFileTuple.cs
new file mode 100644
index 00000000..27ea7119
--- /dev/null
+++ b/src/wixext/Tuples/XmlFileTuple.cs
@@ -0,0 +1,103 @@
1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3namespace WixToolset.Util
4{
5 using WixToolset.Data;
6 using WixToolset.Util.Tuples;
7
8 public static partial class UtilTupleDefinitions
9 {
10 public static readonly IntermediateTupleDefinition XmlFile = new IntermediateTupleDefinition(
11 UtilTupleDefinitionType.XmlFile.ToString(),
12 new[]
13 {
14 new IntermediateFieldDefinition(nameof(XmlFileTupleFields.XmlFile), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(XmlFileTupleFields.File), IntermediateFieldType.String),
16 new IntermediateFieldDefinition(nameof(XmlFileTupleFields.ElementPath), IntermediateFieldType.String),
17 new IntermediateFieldDefinition(nameof(XmlFileTupleFields.Name), IntermediateFieldType.String),
18 new IntermediateFieldDefinition(nameof(XmlFileTupleFields.Value), IntermediateFieldType.String),
19 new IntermediateFieldDefinition(nameof(XmlFileTupleFields.Flags), IntermediateFieldType.Number),
20 new IntermediateFieldDefinition(nameof(XmlFileTupleFields.Component_), IntermediateFieldType.String),
21 new IntermediateFieldDefinition(nameof(XmlFileTupleFields.Sequence), IntermediateFieldType.Number),
22 },
23 typeof(XmlFileTuple));
24 }
25}
26
27namespace WixToolset.Util.Tuples
28{
29 using WixToolset.Data;
30
31 public enum XmlFileTupleFields
32 {
33 XmlFile,
34 File,
35 ElementPath,
36 Name,
37 Value,
38 Flags,
39 Component_,
40 Sequence,
41 }
42
43 public class XmlFileTuple : IntermediateTuple
44 {
45 public XmlFileTuple() : base(UtilTupleDefinitions.XmlFile, null, null)
46 {
47 }
48
49 public XmlFileTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(UtilTupleDefinitions.XmlFile, sourceLineNumber, id)
50 {
51 }
52
53 public IntermediateField this[XmlFileTupleFields index] => this.Fields[(int)index];
54
55 public string XmlFile
56 {
57 get => this.Fields[(int)XmlFileTupleFields.XmlFile].AsString();
58 set => this.Set((int)XmlFileTupleFields.XmlFile, value);
59 }
60
61 public string File
62 {
63 get => this.Fields[(int)XmlFileTupleFields.File].AsString();
64 set => this.Set((int)XmlFileTupleFields.File, value);
65 }
66
67 public string ElementPath
68 {
69 get => this.Fields[(int)XmlFileTupleFields.ElementPath].AsString();
70 set => this.Set((int)XmlFileTupleFields.ElementPath, value);
71 }
72
73 public string Name
74 {
75 get => this.Fields[(int)XmlFileTupleFields.Name].AsString();
76 set => this.Set((int)XmlFileTupleFields.Name, value);
77 }
78
79 public string Value
80 {
81 get => this.Fields[(int)XmlFileTupleFields.Value].AsString();
82 set => this.Set((int)XmlFileTupleFields.Value, value);
83 }
84
85 public int Flags
86 {
87 get => this.Fields[(int)XmlFileTupleFields.Flags].AsNumber();
88 set => this.Set((int)XmlFileTupleFields.Flags, value);
89 }
90
91 public string Component_
92 {
93 get => this.Fields[(int)XmlFileTupleFields.Component_].AsString();
94 set => this.Set((int)XmlFileTupleFields.Component_, value);
95 }
96
97 public int Sequence
98 {
99 get => this.Fields[(int)XmlFileTupleFields.Sequence].AsNumber();
100 set => this.Set((int)XmlFileTupleFields.Sequence, value);
101 }
102 }
103} \ No newline at end of file