Skip to content

Commit

Permalink
fix(nsis): no app icon in Add/Remove program electron-userland#738
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrainiac committed Sep 9, 2016
1 parent 888581a commit f7f7c38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/nsis/installSection.nsh
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@ SetCompress "${COMPRESS}"

File "/oname=${UNINSTALL_FILENAME}" "${UNINSTALLER_OUT_FILE}"

!insertmacro registryAddInstallInfo

StrCpy $startMenuLink "$SMPROGRAMS\${PRODUCT_FILENAME}.lnk"
StrCpy $desktopLink "$DESKTOP\${PRODUCT_FILENAME}.lnk"
StrCpy $appExe "$INSTDIR\${APP_EXECUTABLE_FILENAME}"

!insertmacro registryAddInstallInfo

# create shortcuts in the start menu and on the desktop
# shortcut for uninstall is bad cause user can choose this by mistake during search, so, we don't add it
CreateShortCut "$startMenuLink" "$appExe" "" "$appExe" 0 "" "" "${APP_DESCRIPTION}"
Expand Down

0 comments on commit f7f7c38

Please sign in to comment.