How do include XChange Drivers with VS2010 setup project?

PDF-XChange Drivers API (only) V4/V5
This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-XChange Printer Drivers SDK (only) - VERSION 4 & 5 - Please use the PDF-Tools SDK Forum for Library DLL assistance.

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

akurian
User
Posts: 9
Joined: Thu Jan 09, 2014 12:03 pm

How do include XChange Drivers with VS2010 setup project?

Post by akurian »

Hi,

Our Windows Forms project uses PDF-XChange Drivers SDK to print some content to a PDF file. While the application works fine on the development machine, it fails to run on test machines. The error displayed is "Retrieving the COM class factory for component with CLSID {217974DB-6777-4A9F-90A7-AA5EBA834BA2} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))."

It looks like the required DLLs are not being included by our installer (a VS2010 Setup Project). This has already been discussed in other places in this forum.

Are there additional steps I need to take (apart from referencing the DLLs in the Windows Forms project) so that the DLLs are included with the installer and registered on the target machine?
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17949
Joined: Mon Jan 12, 2009 8:07 am
Location: London

Re: How do include XChange Drivers with VS2010 setup project

Post by Tracker Supp-Stefan »

Hi akurian,

We do have a redistributable file as well as .msms for inclusion directly in your installer here:
https://www.pdf-xchange.com/product ... rivers-api
Which should take care of supplying the dlls and registering them. You can also install the drivers without a visible printer.

I believe this page will also be helpful in your deployment:
https://help.pdf-xchange.com/DEV/de ... stallation

Regards,
Stefan
akurian
User
Posts: 9
Joined: Thu Jan 09, 2014 12:03 pm

Re: How do include XChange Drivers with VS2010 setup project

Post by akurian »

Thank you for the prompt reply, Stefan. That fixed it.
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17949
Joined: Mon Jan 12, 2009 8:07 am
Location: London

Re: How do include XChange Drivers with VS2010 setup project

Post by Tracker Supp-Stefan »

Glad to assist akurian!

Cheers,
Stefan