From b8d6905582b28a9b36f11308f9a72ebc32dc2c86 Mon Sep 17 00:00:00 2001 From: Elvis Adomnica Date: Wed, 27 Nov 2019 10:01:24 +0100 Subject: [PATCH] Revert "fix(nsis): NSIS Uninstaller registry entry format change (#4069)" (#4443) This reverts commit 7518aee8e1abe0516071b350748e84dc47e35cf7. --- packages/app-builder-lib/src/targets/nsis/NsisTarget.ts | 2 +- packages/app-builder-lib/templates/nsis/multiUser.nsh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/app-builder-lib/src/targets/nsis/NsisTarget.ts b/packages/app-builder-lib/src/targets/nsis/NsisTarget.ts index 238dbb5f14f..6cf150e7457 100644 --- a/packages/app-builder-lib/src/targets/nsis/NsisTarget.ts +++ b/packages/app-builder-lib/src/targets/nsis/NsisTarget.ts @@ -167,7 +167,7 @@ export class NsisTarget extends Target { APP_PACKAGE_NAME: appInfo.name } if (uninstallAppKey !== guid) { - defines.UNINSTALL_REGISTRY_KEY_2 = `Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{${guid}}` + defines.UNINSTALL_REGISTRY_KEY_2 = `Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\${guid}` } const commands: any = { diff --git a/packages/app-builder-lib/templates/nsis/multiUser.nsh b/packages/app-builder-lib/templates/nsis/multiUser.nsh index 3d35c36d256..3de631bf0ce 100644 --- a/packages/app-builder-lib/templates/nsis/multiUser.nsh +++ b/packages/app-builder-lib/templates/nsis/multiUser.nsh @@ -6,7 +6,7 @@ # allow user to define own custom !define /ifndef INSTALL_REGISTRY_KEY "Software\${APP_GUID}" -!define /ifndef UNINSTALL_REGISTRY_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\{${UNINSTALL_APP_KEY}}" +!define /ifndef UNINSTALL_REGISTRY_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${UNINSTALL_APP_KEY}" # current Install Mode ("all" or "CurrentUser") Var installMode