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
This commit is contained in:
joostverburg 2003-11-12 17:35:04 +00:00
parent 352f409053
commit f41951c259

View file

@ -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}"