From cce48a168bd5d248ee93ed8e29e15874ed2b2c2e Mon Sep 17 00:00:00 2001 From: kichik Date: Sat, 16 Apr 2005 18:24:02 +0000 Subject: [PATCH] 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 --- Include/Library.nsh | 1 + 1 file changed, 1 insertion(+) diff --git a/Include/Library.nsh b/Include/Library.nsh index 938868f8..7252ea46 100644 --- a/Include/Library.nsh +++ b/Include/Library.nsh @@ -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