/build/static/layout/Breadcrumb_cap_w.png

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.? 


3 Comments   [ + ] Show comments
  • The setup is installing two drivers which I separated them and installing in msi with dpinst64.exe in custom actions. - rkiran57 11 years ago
  • We cannot use silent switch for this setup exe, as the issue is we need to attach the printer to system only when one screen appears in setup installation middle.Is we keep in the start itself it will throw message to unplug the printer.So there is no option to use silent switch for this package. - rkiran57 11 years ago
  • 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.? - rkiran57 11 years ago

Answers (2)

Posted by: rileyz 11 years ago
Red Belt
0

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.

Posted by: rkiran57 11 years ago
Senior Yellow Belt
0

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.?

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ