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?
How do include XChange Drivers with VS2010 setup project?
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan
-
- User
- Posts: 9
- Joined: Thu Jan 09, 2014 12:03 pm
-
- Site Admin
- Posts: 17949
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
Re: How do include XChange Drivers with VS2010 setup project
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
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
-
- User
- Posts: 9
- Joined: Thu Jan 09, 2014 12:03 pm
Re: How do include XChange Drivers with VS2010 setup project
Thank you for the prompt reply, Stefan. That fixed it.
-
- Site Admin
- Posts: 17949
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
Re: How do include XChange Drivers with VS2010 setup project
Glad to assist akurian!
Cheers,
Stefan
Cheers,
Stefan