Skip to content
⌘ NSIS Forum Archive

dll issue

7 posts

imadulhaq#

dll issue

The problem that I'm facing is that while uninstalling my app, I delete all the files which include dll files as well. All the file are deleted correctly but the dll files are never removed. One potential reason can be that the dlls are still being used somehow thats why they are not deleted. If it is the problem then how can I make them to stop being used or if this is not the problem then tell me how to delete dll files.

Lookking forward for your replies.
Brummelchen#
same issue here
Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.


those dll are in use but there must be a call to free them...

btw - have u tried UNREGDLL <my.dll> or regsvr32 /u /s <my.dll> ?
imadulhaq#
I haven't used these commands.
I don't initially register my dlls so should I've to use UNREGDLL <my.dll> or regsvr32 /u /s <my.dll> in anyway.
imadulhaq#
I have tried UNREGDLL <my.dll> but these file are still not deleted after using it.
Compiler generates an error on using regsvr32 /u /s <my.dll>.
imadulhaq#
There is still an error.
On $SYSDIR\regsvr32.exe /u /s <my.dll> compiler says

Invalid command: $SYSDIR\regsvr32.exe
Brummelchen#
$SYSDIR\regsvr32.exe /u /s <my.dll>
is only the executing part - you have to call it with

exec '"$SYSDIR\regsvr32.exe" /u /s <my.dll>'
or
nsexec::exec '"$SYSDIR\regsvr32.exe" /u /s <my.dll>'

pls read the help file...