Skip to content

Commit

Permalink
fix(nsis): no app icon in Add/Remove program
Browse files Browse the repository at this point in the history
Closes #738
  • Loading branch information
mbrainiac authored and develar committed Sep 9, 2016
1 parent 888581a commit e6c1efe
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 e6c1efe

Please sign in to comment.