Print Page | Close Window

installation problem

Printed From: www.exp-systems.com
Category: PDF reDirect
Forum Name: Installation Errors
Forum Discription: Installation Errors and Workarounds
URL: http://www.exp-systems.com/Forum_exp/forum_posts.asp?TID=290
Printed Date: 04 Dec 23 at 11:16PM


Topic: installation problem
Posted By: vamsi
Subject: installation problem
Date Posted: 02 Jan 07 at 12:16PM
Hi,

I have a problem with the installation, i am tring to package the application, i am not finding the printer entry under the printers after the installation of my package.

Indvam



Replies:
Posted By: Michel_K17
Date Posted: 02 Jan 07 at 11:19PM
Hi there,

    I am sorry to hear of the problem. Unfortunately, I am not sure what you mean by "package the application"? Are you trying to install PDF reDirect?

    When you install PDF reDirect, the printer should be installed automatically. If it does not install, an error log should appear automatically as a text file. Can you send me a copy?

   One more question: which version of Windows are you using?

    Cheers!




-------------
Michel Korwin-Szymanowski
EXP Systems LLC


Posted By: vamsi
Date Posted: 03 Jan 07 at 7:27AM
Hi,

Thanks for you quick reply, i mean i tried to make MSI(Windows installer). I capured the all the modified file and i complied my package, when i try to install my package, its not installing the Printer Driver.
Could you please guide me.

Thanks in advance


Posted By: Michel_K17
Date Posted: 04 Jan 07 at 12:19AM
Hi,

   OK, I understand now. Is there a reason why you are trying to create an MSI version of the installer?

    Anyway, installing the printer driver is very complicated. It requires a solid knowledge of the Windows API to install not only the printer driver, but also the Port Monitor, the Port and the printer.

   The main source for the information is at the Microsoft developer web site here: www.msdn.com. If you do a search on their web site on installing printers, you should be able to find all of the information that you will need.

   Now, I do not know how MSI is structured and if it includes a programming or a scripting language. If I recall correctly, I believe that Microsoft does allow programmers to install printers through the shell with a scripting language which might be simpler. What I did for myself is to write a separate program that runs automatically as part of the installation just because it gives me more flexibility than what the scripting solution was capable of doing. My code also support upgrading an existing installation if that is the case.

   I hope that helps!



-------------
Michel Korwin-Szymanowski
EXP Systems LLC


Posted By: vamsi
Date Posted: 04 Jan 07 at 9:22AM
Hi,

Thanks for the reply,
your true we need solid knowledge of the windows API,
can i know the installation of printer, port and port monitor, is it PR_Installer.exe -i -e -p -l1033.    


Posted By: Michel_K17
Date Posted: 06 Jan 07 at 1:19AM
Hi,

   You are welcome.

    yes, PR_Installer is the printer, driver, port and monitor installation program. Here is my (internal) documentation on running that program:

'---------------------------------------------------------------------------------------
' Program   : AddPrinter
' Compiled name: PR_Installed.exe
' Author    : Michel_K17
' Purpose   : To perform the installation or removal of the printer "PDF reDirect"
'           : This program is normally run from another process, using command
'           : line switches to define how it should be run. Switches are:
'           : -i Install
'           : -u Uninstall
'           : -d Display details on status of progress (shown below progres bar)
'           : -q Quiet Mode - Nothing displayed, not even progress bar.
'           : -e Report to user any errors that occurred (even if quiet selected)
'           :    (An error log is generated no matter what)
'           : -g Generate a Critical Dummy Error for testing purposes.
'           : -p Installs "PROFESSIONAL" version printer (ie Prefs.StartupProMode = True)
'           : -lxxxx = language id (1033 = english)


    The language selections are:
' -l1033 = "English"
' -l1036 = "Francais"
' -l1040 = "Italiano"
' -l1043 = "Nederlands"
' -l1044 = "Norwegian"
' -l1031 = "Deutsch"  ' German
' -l1029 = "Czech"
' -l1034 = "EspaŮol"
' -l1046 = "PortuguÍs-BR"


   Cheers!



-------------
Michel Korwin-Szymanowski
EXP Systems LLC



Print Page | Close Window