From 69a4f35f35e4c1b3c67173afb7c2a85299b38bee Mon Sep 17 00:00:00 2001 From: kichik Date: Thu, 11 Nov 2004 19:10:57 +0000 Subject: [PATCH] fixed bug #1064540 - warning 'label "installlib.remove_..." not used' git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3761 212acab6-be3b-0410-9dea-997c60f758d6 --- Include/Library.nsh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Include/Library.nsh b/Include/Library.nsh index dce323d4..ed797728 100644 --- a/Include/Library.nsh +++ b/Include/Library.nsh @@ -521,7 +521,7 @@ Example: !ifdef UNINSTALLLIB_SHARED_SHARED ReadRegDword $R0 HKLM Software\Microsoft\Windows\CurrentVersion\SharedDLLs $R1 - StrCmp $R0 "" uninstalllib.remove_${UNINSTALLLIB_UNIQUE} + StrCmp $R0 "" uninstalllib.shareddlldone_${UNINSTALLLIB_UNIQUE} IntOp $R0 $R0 - 1 IntCmp $R0 0 uninstalllib.shareddllremove_${UNINSTALLLIB_UNIQUE} \ @@ -530,20 +530,20 @@ Example: uninstalllib.shareddllremove_${UNINSTALLLIB_UNIQUE}: DeleteRegValue HKLM Software\Microsoft\Windows\CurrentVersion\SharedDLLs $R1 !ifndef UNINSTALLLIB_SHARED_SHAREDNOREMOVE - Goto uninstalllib.remove_${UNINSTALLLIB_UNIQUE} + Goto uninstalllib.shareddlldone_${UNINSTALLLIB_UNIQUE} !endif uninstalllib.shareddllinuse_${UNINSTALLLIB_UNIQUE}: WriteRegDWORD HKLM Software\Microsoft\Windows\CurrentVersion\SharedDLLs $R1 $R0 Goto uninstalllib.done_${UNINSTALLLIB_UNIQUE} + uninstalllib.shareddlldone_${UNINSTALLLIB_UNIQUE}: + !endif ;------------------------ ;Remove - uninstalllib.remove_${UNINSTALLLIB_UNIQUE}: - !ifndef UNINSTALLLIB_UNINSTALL_NOREMOVE ;------------------------