Error code -1 on Win XP on a "secure Windows environmen

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
RichardG
Posts: 2
Joined: Wed Jan 07 2004

Error code -1 on Win XP on a "secure Windows environmen

Post by RichardG »

I am attempting to use the PDF converter on Windows XP SP1, the installation of XP is using Windows' “secure Windows environment”.

The bottom line is that the user does not have any write access the folder that the PDF software is installed in (and is not ment to) . When I run install.exe I am getting an error -1 (it does not create the install.txt file either), if I log in as Administrator it works fine.

This must be because of the lack of write access, does anybody know of a work around? Is this fixed in a later version? I can’t give them write access to the folder, as the app that uses the PDF converter will be installed on 600 dektops around the globe.

I am using 2.08e of the PDF Converter

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

Post by Joan »

To install a printer on Windows XP users need administrative rights, wether this printer is the PDF Converter or any other physical printer. If you are getting error code -1 you can run Install -p from the command prompt and this will help but you still need to be logged in as Administrator.

Please note that you don't need to run Install.exe every time you want to use the printer, you need to run Install.exe only once when or after installing your application.

I suppose that your application will need administrative rights to be installed, so when logging in as administrator to install your application you can install the printer in the same time.

I noticed in your last post that you mentioned registering and un-registering CDintf. I suspect that you are trying to install the printer when launching your application and removing it when closing your application, if this is the case please note that in some cases, specially when users don't have administrative rifhts, it is advisable to install the printer on the system and keep it there even when your application is not running.
For this purpose you need to replace any call to PDFDriverInit in your application by a call to DriverInit.

Finally, as you want to deploy your application on 600 desktops, I advise you to contact our Support Department support@amyuni.com and they will provide you with the best procedure to install the PDF Converter.

Have a nice day!
Post Reply