Page 1 of 1

Cannot unregister PDFCoreApi.x86.dll

Posted: Fri May 24, 2019 11:01 am
by Freund
Hello,

for a clean update we have to uninstall before the update of our application.
We use an Installshield MSI-Installation, where the DLL is set to selfregister.

If we uninstall the file in Windows 10 64 Bit, the Isntallation has to unreg the file.
But then we get the Error 0x80020009.

If I register the file in an administrator-started commandline everything works.
If I unregister it by hand I get the same error.

What can be the reason for it?

Regards,
Chris

Re: Cannot unregister PDFCoreApi.x86.dll

Posted: Fri May 24, 2019 11:29 am
by Sasha - Tracker Dev Team
Hello Chris,

Registering and unregistering a dll requires elevated privileges, as you described previously. This uility should be used for this scenario:
https://en.wikipedia.org/wiki/Regsvr32

Cheers,
Alex

Re: Cannot unregister PDFCoreApi.x86.dll

Posted: Mon May 27, 2019 6:29 am
by Freund
Hi Alex,

I know, that I have to use regsvr32.exe.
But If I call it with /u I get the error.
I start the commandline with admin privilegies.

The version we use is 7.0.325.0

On a windows 8.1 Machine I get the same error.

Regards, Chris

Re: Cannot unregister PDFCoreApi.x86.dll

Posted: Mon May 27, 2019 7:18 am
by Sasha - Tracker Dev Team
Hello Chris,

This error means that you don't have the needed privileges to execute this command as this topic says:
https://stackoverflow.com/questions/272 ... 0009-error
I'm afraid that's all we can help with as we don't experience such problems.

Cheers,
Alex

Re: Cannot unregister PDFCoreApi.x86.dll

Posted: Mon May 27, 2019 8:52 am
by Freund
Hi,

we take a freshly installed windows 10 virtual machine and on a windows 8 machine (not virtual) and get the same error.
We start the commandline tool as administrator with administrator privileges.

So it cannot be a problem with rights.

So please test it. You will get the same error.

Regards,

Chris

Re: Cannot unregister PDFCoreApi.x86.dll

Posted: Mon May 27, 2019 9:30 am
by Sasha - Tracker Dev Team
Hello Chris,

Just tried downloading the latest Core API SDK and installed it on the fresh Windows 10 VM. Then tried registering and unregistering both x86 and x64 version - everything worked smoothly.
image.png
Cheers,
Alex

Re: Cannot unregister PDFCoreApi.x86.dll

Posted: Mon May 27, 2019 10:23 am
by Freund
Hi,

Thanks for the Info.
It seems to be a special problem with the 7.0.325.0.
With 7.0.325.1 and the actual 8er it works.

You can close this threat.
Regards,
Chris

Re: Cannot unregister PDFCoreApi.x86.dll

Posted: Mon May 27, 2019 11:18 am
by Sasha - Tracker Dev Team
:)