aboutsummaryrefslogtreecommitdiff
path: root/src/wixext
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2020-04-10 09:24:44 +1000
committerSean Hall <r.sean.hall@gmail.com>2020-04-10 10:25:31 +1000
commitdd8b4e6e1faf570c1233a7feb77f24751dcfc605 (patch)
tree9926a9b8024265f4424aeb5393a052bdbc75fe8d /src/wixext
parent985ba427f8cd12b7b74d62f83a8b304764e6077b (diff)
downloadwix-dd8b4e6e1faf570c1233a7feb77f24751dcfc605.tar.gz
wix-dd8b4e6e1faf570c1233a7feb77f24751dcfc605.tar.bz2
wix-dd8b4e6e1faf570c1233a7feb77f24751dcfc605.zip
Update dependencies.
Diffstat (limited to 'src/wixext')
-rw-r--r--src/wixext/PSCompiler.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wixext/PSCompiler.cs b/src/wixext/PSCompiler.cs
index 200d3fb4..74e18bd7 100644
--- a/src/wixext/PSCompiler.cs
+++ b/src/wixext/PSCompiler.cs
@@ -181,7 +181,7 @@ namespace WixToolset.PowerShell
181 wixVariableRow.Value = major.ToString(CultureInfo.InvariantCulture); 181 wixVariableRow.Value = major.ToString(CultureInfo.InvariantCulture);
182 wixVariableRow.Overridable = false; 182 wixVariableRow.Overridable = false;
183 183
184 int registryRoot = 2; // HKLM 184 RegistryRootType registryRoot = RegistryRootType.LocalMachine; // HKLM
185 string registryKey = String.Format(CultureInfo.InvariantCulture, KeyFormat, major, id); 185 string registryKey = String.Format(CultureInfo.InvariantCulture, KeyFormat, major, id);
186 186
187 this.ParseHelper.CreateRegistryRow(section, sourceLineNumbers, registryRoot, registryKey, "ApplicationBase", String.Format(CultureInfo.InvariantCulture, "[${0}]", componentId), componentId, false); 187 this.ParseHelper.CreateRegistryRow(section, sourceLineNumbers, registryRoot, registryKey, "ApplicationBase", String.Format(CultureInfo.InvariantCulture, "[${0}]", componentId), componentId, false);
@@ -274,7 +274,7 @@ namespace WixToolset.PowerShell
274 274
275 this.ParseHelper.ParseForExtensionElements(this.Context.Extensions, intermediate, section, node); 275 this.ParseHelper.ParseForExtensionElements(this.Context.Extensions, intermediate, section, node);
276 276
277 int registryRoot = 2; // HKLM 277 RegistryRootType registryRoot = RegistryRootType.LocalMachine; // HKLM
278 string registryKey = String.Format(CultureInfo.InvariantCulture, KeyFormat, String.Format(CultureInfo.InvariantCulture, "!(wix.{0}_{1})", VarPrefix, snapIn), snapIn); 278 string registryKey = String.Format(CultureInfo.InvariantCulture, KeyFormat, String.Format(CultureInfo.InvariantCulture, "!(wix.{0}_{1})", VarPrefix, snapIn), snapIn);
279 279
280 this.ParseHelper.CreateSimpleReference(section, sourceLineNumbers, "File", fileId); 280 this.ParseHelper.CreateSimpleReference(section, sourceLineNumbers, "File", fileId);