cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Marwil
Level 3

Printer driver install on windows 7 X64

I added a command on my installer to install a printer.using execute command:

$SYSTEM$$/$rundll32.exe printui.dll,PrintUIEntry /ii /f "$USER_INSTALL_DIR$$/$driver.INF"

This works fine in 32 bit (windows 7 x86) but when run in 64 bit i got this error "Windows can't open Add
Printer.Operation could not be completed. (Error 0x0000007e)."

The funny thing is if I enter this command line from a command windows it works.

Any idea what wrong?

Tried to changed the $System$ with $System_64$ also $SysWOW64$ still same error.

TIA..
Labels (1)
0 Kudos
(1) Reply
pv7721
Level 20

Have you tried searching what the error means? Using Google I could find this, for instance:

http://social.technet.microsoft.com/Forums/en-US/winserverprint/thread/6c68f4d3-fa4c-4986-9567-bbe89551652f
0 Kudos