aboutsummaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2022-12-22 16:39:29 -0800
committerRob Mensching <rob@firegiant.com>2022-12-22 17:25:11 -0800
commit156ccd9db15eafe6b4fef72097dfa04337599f91 (patch)
tree0263cdc56dffa8e181c5221d73cae1e4b10ae58b /src/api
parent8aafcc72550d89cc43dfcb81012abe8576709660 (diff)
downloadwix-156ccd9db15eafe6b4fef72097dfa04337599f91.tar.gz
wix-156ccd9db15eafe6b4fef72097dfa04337599f91.tar.bz2
wix-156ccd9db15eafe6b4fef72097dfa04337599f91.zip
Fix RegistrySymbol creation helper for non-string types
Fixes 7108
Diffstat (limited to 'src/api')
-rw-r--r--src/api/wix/WixToolset.Extensibility/Services/IParseHelper.cs17
1 files changed, 15 insertions, 2 deletions
diff --git a/src/api/wix/WixToolset.Extensibility/Services/IParseHelper.cs b/src/api/wix/WixToolset.Extensibility/Services/IParseHelper.cs
index 567b623c..3c20c14b 100644
--- a/src/api/wix/WixToolset.Extensibility/Services/IParseHelper.cs
+++ b/src/api/wix/WixToolset.Extensibility/Services/IParseHelper.cs
@@ -104,8 +104,21 @@ namespace WixToolset.Extensibility.Services
104 /// <param name="name">The registry entry name.</param> 104 /// <param name="name">The registry entry name.</param>
105 /// <param name="value">The registry entry value.</param> 105 /// <param name="value">The registry entry value.</param>
106 /// <param name="componentId">The component which will control installation/uninstallation of the registry entry.</param> 106 /// <param name="componentId">The component which will control installation/uninstallation of the registry entry.</param>
107 /// <param name="escapeLeadingHash">If true, "escape" leading '#' characters so the value is written as a REG_SZ.</param> 107 /// <param name="valueType">The registry value type. Default is string.</param>
108 Identifier CreateRegistrySymbol(IntermediateSection section, SourceLineNumber sourceLineNumbers, RegistryRootType root, string key, string name, string value, string componentId, bool escapeLeadingHash); 108 /// <param name="valueAction">The way to apply the registry value. Default is write.</param>
109 Identifier CreateRegistrySymbol(IntermediateSection section, SourceLineNumber sourceLineNumbers, RegistryRootType root, string key, string name, string value, string componentId, RegistryValueType valueType = RegistryValueType.String, RegistryValueActionType valueAction = RegistryValueActionType.Write);
110
111 /// <summary>
112 /// Creates a numeric Registry symbol in the active section.
113 /// </summary>
114 /// <param name="section">Active section.</param>
115 /// <param name="sourceLineNumbers">Source and line number of the current symbol.</param>
116 /// <param name="root">The registry entry root.</param>
117 /// <param name="key">The registry entry key.</param>
118 /// <param name="name">The registry entry name.</param>
119 /// <param name="value">The numeric registry entry value.</param>
120 /// <param name="componentId">The component which will control installation/uninstallation of the registry entry.</param>
121 Identifier CreateRegistrySymbol(IntermediateSection section, SourceLineNumber sourceLineNumbers, RegistryRootType root, string key, string name, int value, string componentId);
109 122
110 /// <summary> 123 /// <summary>
111 /// Create a WixSimpleReference symbol in the active section. 124 /// Create a WixSimpleReference symbol in the active section.