Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

instclient remove doesn't remove client library if shared DLL count > 1 but reports it has removed it [CORE4625] #4940

Open
firebird-automations opened this issue Nov 29, 2014 · 0 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @mrotteveel

Running instclient r f to remove fbclient.dll from %WINDIR%\System32 (or SysWOW64) doesn't remove fbclient.dll if it has a shared DLL count larger than 1, but it reports it has removed it with the message "The FBCLIENT.DLL has been removed from the System directory."

Steps to reproduce:
> instclient q f

If this reports "Installed FBCLIENT.DLL version : 3.0.0.xxxx (shared DLL count n)" (where n > 1) you're set, otherwise:

Run at least twice using different Firebird 3 versions:
> instclient i f

Now instclient q f should report shared DLL count 2 or higher.

Run:
> instclient r f

Output is "The FBCLIENT.DLL has been removed from the System directory."
However 1) it is still present in %WINDIR%\System32 and 2) instclient q f now reports a shared DLL count 1 lower than previous.

To me the expected behavior would be to report that the file has not been removed because the shared DLL count was larger than 1 and that the shared DLL count has been decremented by 1.

Note that instclient r -f f does remove fbclient.dll if the shared DLL count is larger than 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant