Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 31st August 2005, 00:05   #1
SyRenity
Junior Member
 
Join Date: Feb 2004
Posts: 5
UnInstallLib doesn't work as expected

Hi.

I'm trying to show the user a warning to close the opened software, while uninstalling the DDLs that it uses. Now, as the manual says regarding the UnInstallLib, the NOREBOOT_PROTECTED should warn the user if the libraries are in use:
"Warns the user when the library is in use. The user will have to close applications using the library."

Below a snippet of my code that tries to uninstall the libraries:

!insertmacro UnInstallLib REGDLL NOTSHARED NOREBOOT_PROTECTED "$INSTDIR\BarLcher.dll"
!insertmacro UnInstallLib REGDLL NOTSHARED NOREBOOT_PROTECTED "$INSTDIR\CompBar.dll"


For some reason, the uninstallation simply continues until it's completed, leaving the libraries in use intact. Is this functionality is not completed yet? If yes, how then the software can be dectected, so the user could be warned?

Thanks!
SyRenity is offline   Reply With Quote
Old 5th September 2005, 11:29   #2
SyRenity
Junior Member
 
Join Date: Feb 2004
Posts: 5
Hi.

Perhaps the developers of the Library.nsh will know the answer? How one can be contacted?
SyRenity is offline   Reply With Quote
Old 5th September 2005, 13:33   #3
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
This is indeed an error, currently only the error flag is set when the file cannot be deleted.

I'll try to find a solution.
Joost Verburg is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump