Developer version - distribution without any installing

The Amyuni PDF Converter is our Printer Driver that enables you to convert any documents to PDF format. If you have any questions about installing and using the Amyuni PDF Converter please post them here.
Post Reply
brianpp
Posts: 4
Joined: Fri Nov 11 2005

Developer version - distribution without any installing

Post by brianpp »

Hi there

I have PDF Converter developer version (2.5g) and am building it into a PowerBuilder application.

I would really like to have no installation required for for client PCs. What if I did the following:

1) Use the DLL intrface instead of ActiveX - so no need for any registering
2) Use PDFDriverInit to dynamically create printer - no need to create a printer up front
3) Rename the cdintf.dll file in the application folder to cdintf250.dll and reference cdintf250.dll in the External Function declarations in PowerBuilder - since the cdintf250.dll file is in the application folder it should be found at runtime ok.

Are there any issues with doing this? It seems this will allow me to distribute my app as normal without the need for any additional installation at all for the PDF stuff.

Any fomments on this would be much appreciated

Thanks
Brian
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Hello,

There are no problem with the scenario you described.

Please note however that as PDFDriverInit installs a new printer, it needs administrative rights. So when launching your application for the first time users need to have administrative rights.

Right after the call to PDFDriverInit(), please call DriverInit() to keep the printer on the system after closing your application, in this way the next time uers open your application they will not need to install the PDF Printer, they will only connect to it.
Post Reply