Skip to content
⌘ NSIS Forum Archive

LoadLibrary in Uninstall section?

3 posts

EnCey#

LoadLibrary in Uninstall section?

Hi there,

I have a problem with LoadLibrary and the System plugIn.
During install my installer successfully executes a certain function of my dll, but during uninstall i can't even load the dll.

The return value is simply 0, exactly the same code works in install section.
kichik#
The uninstaller might have already deleted some files crucial to the operation of your DLL or the working directory is somehow different and so affects the DLL.
EnCey#
Yeaht that was the problem ...
My installer is embedded in a msi installer, which has uninstalled VCRedist before my NSIS uninstaller started. :/
Thanks for the help kichik!