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

Comments

  • The setup is installing two drivers which I separated them and installing in msi with dpinst64.exe in custom actions.
  • 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.
  • 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.?
Please log in to comment

Answers

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.

Answered 10/30/2013 by: rileyz
Red Belt

Please log in to comment
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.?

Answered 11/13/2013 by: rkiran57
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity