From f41951c25979c4da7cfaf36518e65e5081efd094 Mon Sep 17 00:00:00 2001 From: joostverburg Date: Wed, 12 Nov 2003 17:35:04 +0000 Subject: [PATCH] UpgradeDLL include file, removed old check git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3131 212acab6-be3b-0410-9dea-997c60f758d6 --- Examples/makensis.nsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}"