From 9c62be923d7be773d69e78a053cb5463c6c8c85f Mon Sep 17 00:00:00 2001 From: develar Date: Sat, 4 Feb 2017 08:12:09 +0100 Subject: [PATCH] fix(nsis): Application Icon Missing from "Remove Programs" and "Settings->Apps & Features" Close #1108 --- packages/electron-builder/templates/nsis/installSection.nsh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/electron-builder/templates/nsis/installSection.nsh b/packages/electron-builder/templates/nsis/installSection.nsh index bea7a87e8b4..61a1752f001 100644 --- a/packages/electron-builder/templates/nsis/installSection.nsh +++ b/packages/electron-builder/templates/nsis/installSection.nsh @@ -151,9 +151,8 @@ SetOutPath $INSTDIR File "/oname=${UNINSTALL_FILENAME}" "${UNINSTALLER_OUT_FILE}" -!insertmacro registryAddInstallInfo - StrCpy $appExe "$INSTDIR\${APP_EXECUTABLE_FILENAME}" +!insertmacro registryAddInstallInfo !insertmacro setLinkVars