Silent Print Driver Install

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Slr10008
    Junior Member
    • Jul 2020
    • 2

    #1

    Silent Print Driver Install

    Hi

    Has anyone converted a print driver setup file into a silent exe or msi before?
    Sharp don't have any silent print driver packages for there new range of machines (mx5071/3071 etc)

    I know how to run and deploy the package silently but the software itself still pops up with the setup wizard, (both msi and exe fail to work silently)

    Is there anything out there where I can build the package or convert the driver exe into a silent install

    Thanks
    stef
  • PrintWhisperer
    Trusted Tech

    250+ Posts
    • Feb 2018
    • 453

    #2
    Re: Silent Print Driver Install

    Is there a reason the driver install is a secret? Many people here get paid doing this and want to be seen doing it, so pardon me if I question your motives.

    You don't even mention an OS or network environment.

    My spider sense is telling me you are barking up the wrong tree.
    "Being ignorant is not so much a shame, as being unwilling to learn" - Benjamin Franklin

    Comment

    • rthonpm
      Field Supervisor

      2,500+ Posts
      • Aug 2007
      • 2849

      #3
      Re: Silent Print Driver Install

      In my (limited) experience with Sharp, their driver installers aren't really installers as much as extractors. Take the file, extract the contents with 7-Zip and then take the exe you get inside of the contents and try installing that silently. You can also try to see if any msi or exe supports a silent install through an elevated command prompt: enter the path and file name and add the flag /?

      I'm not really impressed with their drivers of late.

      Comment

      • rthonpm
        Field Supervisor

        2,500+ Posts
        • Aug 2007
        • 2849

        #4
        Re: Silent Print Driver Install

        Originally posted by PrintWhisperer
        Is there a reason the driver install is a secret? Many people here get paid doing this and want to be seen doing it, so pardon me if I question your motives.

        You don't even mention an OS or network environment.

        My spider sense is telling me you are barking up the wrong tree.
        Often, it's to be able to distribute the driver remotely, or to build it out as part of a script.

        Comment

        • PrintWhisperer
          Trusted Tech

          250+ Posts
          • Feb 2018
          • 453

          #5
          Re: Silent Print Driver Install

          Originally posted by rthonpm
          Often, it's to be able to distribute the driver remotely, or to build it out as part of a script.
          I wasn't looking to make assumptions, or receive them. What part of a guy with 1 post makes you think he is legit?

          Anyone with experience can imagine why, and like me could come up with 2-3 ways to do this depending on environment.

          However I do not casually share information which can be used for malicious intent, nor do I assume this persons motives.

          Have we so soon forgotten the PewDiePie hack?
          "Being ignorant is not so much a shame, as being unwilling to learn" - Benjamin Franklin

          Comment

          • Slr10008
            Junior Member
            • Jul 2020
            • 2

            #6
            Re: Silent Print Driver Install

            rthonpm is right for what i need it for, one of my customers has point and print setup on a large network whereby the latest microsoft update has forced many of the clients to require elevated privileges to install the driver
            what I'd like to do is push out the driver as silent install via intune but the driver package itself needs to be silent for it to work

            nothing nefarious just never needed to post before

            its a windows environment and I have gone through the elevated commands to run it as a silent install and it does skip part of the installer but still shows the sharp add printer interface

            Sharp have confirmed that there isn't a silent driver package so I was wondering if there is anything out there that would allow me to create it from the exe or even package of the driver files in exe of my own?

            thanks for responses

            Comment

            • PrintWhisperer
              Trusted Tech

              250+ Posts
              • Feb 2018
              • 453

              #7
              Re: Silent Print Driver Install

              Try a Unidriver
              "Being ignorant is not so much a shame, as being unwilling to learn" - Benjamin Franklin

              Comment

              • rthonpm
                Field Supervisor

                2,500+ Posts
                • Aug 2007
                • 2849

                #8
                Re: Silent Print Driver Install

                Try this:

                Install the driver on a single computer, then from an elevated command prompt run: pnputil -e, which will list all of the third-party drivers on the computer. Look for the Sharp driver and the Published name Windows gives it (it will be something like oem1).

                Then change the directory to something like C:\temp and run pnputil /export-driver oem1.inf . (You need the . after the command to tell it to export the driver into the directory).

                Copy the contents of the folder to somewhere your script can pull it, and then in your script to install, run pnputil /add-driver (location of file)\drivername.inf

                Sent from my BlackBerry using Tapatalk

                Comment

                • PrintWhisperer
                  Trusted Tech

                  250+ Posts
                  • Feb 2018
                  • 453

                  #9
                  Re: Silent Print Driver Install

                  Something from Google you might try:

                  Use Windows Command Line to Silently Install & Uninstall Printers | Q's Tech Babble
                  "Being ignorant is not so much a shame, as being unwilling to learn" - Benjamin Franklin

                  Comment

                  • slimslob
                    Retired

                    Site Contributor
                    25,000+ Posts
                    • May 2013
                    • 36746

                    #10
                    Re: Silent Print Driver Install

                    Originally posted by Slr10008
                    rthonpm is right for what i need it for, one of my customers has point and print setup on a large network whereby the latest microsoft update has forced many of the clients to require elevated privileges to install the driver
                    what I'd like to do is push out the driver as silent install via intune but the driver package itself needs to be silent for it to work

                    nothing nefarious just never needed to post before

                    its a windows environment and I have gone through the elevated commands to run it as a silent install and it does skip part of the installer but still shows the sharp add printer interface

                    Sharp have confirmed that there isn't a silent driver package so I was wondering if there is anything out there that would allow me to create it from the exe or even package of the driver files in exe of my own?

                    thanks for responses
                    If the customer has a large network do they have any Windows servers? Can they load the drivers on the server and let Group Policy push the drivers out? Updated and new drivers will be install when a computer is restarted or there are commands that can be ran from the Start Menu.

                    Comment

                    • BillyCarpenter
                      Field Supervisor

                      Site Contributor
                      VIP Subscriber
                      10,000+ Posts
                      • Aug 2020
                      • 16308

                      #11
                      Re: Silent Print Driver Install

                      Originally posted by rthonpm
                      Try this:

                      Install the driver on a single computer, then from an elevated command prompt run: pnputil -e, which will list all of the third-party drivers on the computer. Look for the Sharp driver and the Published name Windows gives it (it will be something like oem1).

                      Then change the directory to something like C:\temp and run pnputil /export-driver oem1.inf . (You need the . after the command to tell it to export the driver into the directory).

                      Copy the contents of the folder to somewhere your script can pull it, and then in your script to install, run pnputil /add-driver (location of file)\drivername.inf

                      Sent from my BlackBerry using Tapatalk

                      Where did you learn this stuff? Just curious.
                      Adversity temporarily visits a strong man but stays with the weak for a lifetime.

                      Comment

                      • rthonpm
                        Field Supervisor

                        2,500+ Posts
                        • Aug 2007
                        • 2849

                        #12
                        Re: Silent Print Driver Install

                        Originally posted by BillyCarpenter
                        Where did you learn this stuff? Just curious.
                        Lot of it comes from managing servers, and moving as many of the Windows installs to Server Core as possible. Before Windows Admin Center was released, it was tough installing drivers that didn't come with a traditional installer into a Server Core instance. Finding the pnputil command gave me a way to install some of those inf file only drivers that would support Server Core installs. It also comes in handy on workstations when you need to remove a driver and make sure it's permanently gone, or make a backup of a custom driver provided by a vendor.


                        For Windows, the best possible resource is Developer tools, technical documentation and coding examples | Microsoft Docs which contains just about all of their knowledge and reference articles.

                        Comment

                        • rthonpm
                          Field Supervisor

                          2,500+ Posts
                          • Aug 2007
                          • 2849

                          #13
                          Re: Silent Print Driver Install

                          This may end up being an even better solution than pnpuitl: Deploying Printers and Print Drivers Remotely - Microsoft Tech Community

                          Comment

                          Working...