hp printer port
When I captured the msi for hp printer package,I am getting the port numbers NE03 and port name USB001 getting hard coded.Is there any way to randomly generate them during installation our packaged msi instead of hard coding them.?
Answers (2)
Why so many tags?
You dont need capture this package, just get the driver package, extract it, then have a look at this
http://msdn.microsoft.com/en-us/library/windows/hardware/ff544775(v=vs.85).aspx
You can wrap it up in a MSI Custom Action if you want.
If you have AdminStudio, you can use the in built driver injection function as well.
http://kb.flexerasoftware.com/doc/Helpnet/installshield12helplib/DeviceDriverWizard.htm
http://www.itninja.com/question/driver-application-3
Good luck.
Hi,
I got the solution for this problem.We are just installing the drivers now with dpinst64.exe and the printer is getting installed when it is connected.But the problem now is with the uninstallation as after uninstallation the printer is not getting removed and it is showing in the hidden mode and when we right click on it, it is showing drivers are not available.
When we try the below commend it is prompting as printer is not connected.
RUNDLL32 PRINTUI.DLL,PrintUIEntry /dl /b "HP LaserJet 400 M401 PCL 6"
we tried with /b /m /n and /nl also but not working.
Can you give any suggestion.?
I got the solution for this problem.We are just installing the drivers now with dpinst64.exe and the printer is getting installed when it is connected.But the problem now is with the uninstallation as after uninstallation the printer is not getting removed and it is showing in the hidden mode and when we right click on it, it is showing drivers are not available.
When we try the below commend it is prompting as printer is not connected.
RUNDLL32 PRINTUI.DLL,PrintUIEntry /dl /b "HP LaserJet 400 M401 PCL 6"
we tried with /b /m /n and /nl also but not working.
Can you give any suggestion.? - rkiran57 11 years ago