Skip to content

Commit

Permalink
Revert "fix(nsis): NSIS Uninstaller registry entry format change (#4069
Browse files Browse the repository at this point in the history
…)" (#4443)

This reverts commit 7518aee.
  • Loading branch information
elvisvoer authored and develar committed Nov 27, 2019
1 parent e1a7ec9 commit b8d6905
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/app-builder-lib/src/targets/nsis/NsisTarget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
2 changes: 1 addition & 1 deletion packages/app-builder-lib/templates/nsis/multiUser.nsh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b8d6905

Please sign in to comment.