fixed bug #1181951 - InstallLib error for new shared libraries

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3967 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2005-04-16 18:24:02 +00:00
parent 64b25cbbf1
commit cce48a168b

View file

@ -212,6 +212,7 @@ Example:
StrCmp ${shared} "" 0 installlib.noshareddllincrease_${INSTALLLIB_UNIQUE}
ReadRegDword $R0 HKLM Software\Microsoft\Windows\CurrentVersion\SharedDLLs $R4
ClearErrors
IntOp $R0 $R0 + 1
WriteRegDWORD HKLM Software\Microsoft\Windows\CurrentVersion\SharedDLLs $R4 $R0