diff --git a/Docs/src/library.but b/Docs/src/library.but index 9400e757..ba127331 100644 --- a/Docs/src/library.but +++ b/Docs/src/library.but @@ -31,7 +31,7 @@ Note that you can only compile scripts using this system on Windows systems. It \S1{} Introduction -The InstallLib macro allows you to install a library. +The InstallLib macro allows you to install a library. It sets the error flag if something went wrong during library setup. To ask the user for a reboot if required, use the Modern UI with a Finish page or use \R{ifrebootflag}{IfRebootFlag} and make your own page or message box. @@ -132,7 +132,7 @@ LIBRARY_COM \S1{} Introduction -The UnInstallLib macro allows you to uninstall a library. +The UnInstallLib macro allows you to uninstall a library. It sets the error flag if something went wrong during library removal. \S1{} Parameters diff --git a/Include/Library.nsh b/Include/Library.nsh index a745f085..6d41e0f6 100644 --- a/Include/Library.nsh +++ b/Include/Library.nsh @@ -344,8 +344,6 @@ Call ":installlib.file_${INSTALLLIB_UNIQUE}" IfErrors 0 "installlib.register_${INSTALLLIB_UNIQUE}" - - ClearErrors SetOverwrite lastused