diff --git a/Examples/makensis.nsi b/Examples/makensis.nsi index 3c0143f4..57856825 100644 --- a/Examples/makensis.nsi +++ b/Examples/makensis.nsi @@ -116,6 +116,7 @@ Section "NSIS Development System (required)" SecCore SetOutPath $INSTDIR\Include File ..\Include\WinMessages.nsh File ..\Include\Sections.nsh + File ..\Include\UpgradeDLL.nsh SetOutPath $INSTDIR\Contrib\Makensisw File ..\contrib\makensisw\*.txt @@ -956,8 +957,7 @@ Section -post WriteRegExpandStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\NSIS" "UninstallString" '"$INSTDIR\uninst-nsis.exe"' WriteRegExpandStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\NSIS" "InstallLocation" "$INSTDIR" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\NSIS" "DisplayName" "Nullsoft Install System" - IfFileExists "$INSTDIR\NSIS.exe" 0 +2 - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\NSIS" "DisplayIcon" "$INSTDIR\NSIS.exe,0" + WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\NSIS" "DisplayIcon" "$INSTDIR\NSIS.exe,0" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\NSIS" "DisplayVersion" "${VER_DISPLAY}" WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\NSIS" "VersionMajor" "${VER_MAJOR}" WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\NSIS" "VersionMinor" "${VER_MINOR}.${VER_REVISION}"