Cannot unregister PDFCoreApi.x86.dll

A forum for questions or concerns related to the PDF-XChange Core API SDK

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Sean - Tracker, Chris - Tracker Supp, Tracker Supp-Stefan

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
Freund
User
Posts: 28
Joined: Fri Mar 16, 2018 9:51 am

Cannot unregister PDFCoreApi.x86.dll

Post by Freund » Fri May 24, 2019 11:01 am

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

User avatar
Sasha - Tracker Dev Team
User
Posts: 4419
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Cannot unregister PDFCoreApi.x86.dll

Post by Sasha - Tracker Dev Team » Fri May 24, 2019 11:29 am

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
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

Freund
User
Posts: 28
Joined: Fri Mar 16, 2018 9:51 am

Re: Cannot unregister PDFCoreApi.x86.dll

Post by Freund » Mon May 27, 2019 6:29 am

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

User avatar
Sasha - Tracker Dev Team
User
Posts: 4419
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Cannot unregister PDFCoreApi.x86.dll

Post by Sasha - Tracker Dev Team » Mon May 27, 2019 7:18 am

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
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

Freund
User
Posts: 28
Joined: Fri Mar 16, 2018 9:51 am

Re: Cannot unregister PDFCoreApi.x86.dll

Post by Freund » Mon May 27, 2019 8:52 am

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

User avatar
Sasha - Tracker Dev Team
User
Posts: 4419
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Cannot unregister PDFCoreApi.x86.dll

Post by Sasha - Tracker Dev Team » Mon May 27, 2019 9:30 am

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
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

Freund
User
Posts: 28
Joined: Fri Mar 16, 2018 9:51 am

Re: Cannot unregister PDFCoreApi.x86.dll

Post by Freund » Mon May 27, 2019 10:23 am

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

User avatar
Sasha - Tracker Dev Team
User
Posts: 4419
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Cannot unregister PDFCoreApi.x86.dll

Post by Sasha - Tracker Dev Team » Mon May 27, 2019 11:18 am

:)
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

Post Reply