From 13a25a6fb826fcd890da64a93d2be64fd3a85745 Mon Sep 17 00:00:00 2001 From: mpeterv Date: Sun, 3 Apr 2016 12:35:41 +0300 Subject: install.bat: fix Wow6432Node substitution --- install.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.bat b/install.bat index 1929ab75..053fdfd6 100644 --- a/install.bat +++ b/install.bat @@ -427,7 +427,7 @@ end -- get a string value from windows registry. local function get_registry(key, value) local keys = {key} - local key64, replaced = key:gsub("(%u+\\Software\\)", "\1Wow6432Node\\", 1) + local key64, replaced = key:gsub("(%u+\\Software\\)", "%1Wow6432Node\\", 1) if replaced == 1 then keys = {key64, key} -- cgit v1.2.3-55-g6feb