Scripting HP SoftPaqs

Posted on Updated on

Ever needed to know how to silently install an HP SoftPaq?  I recently needed to figure out the switches for approximately 75 individual SoftPaqs.  Fortunately, HP has standardized the switch to extract the setup files from the InstallShield executable.

  1. From a command line, simply call the .exe with /s to perform a silent extraction.
    Note: In some cases, no additional switches will be necessary and InstallShield will pass to the setup program the command to silently install.  If this is the case, then mark this as the only install switch you need.
  2. Change the working directory to where the files were just extracted.
  3. Do a directory list to find the name of the setup file, which will likely be Setup.exe
  4. Discover the switches that will work for that setup program.  This could be anything of the following
    • /s
    • /silent
    • -s
    • /q
    • /S /v/qn
    • /k – This is switch is very common for ATI Graphics controllers!
  5. Once you have found the silent install switches for the setup program, then you’re final switches become /s /a /SetupSwitch(es)

For BIOS related SoftPaqs, I find that it’s easiest to extract all of the files and then run HPQFlash.exe -s


4 thoughts on “Scripting HP SoftPaqs

    Mark C. said:
    February 7, 2012 at 12:18 pm

    I know this post is about 3 years old, but it was the first promising-looking result when I searched for command-line switches for ATI installers, so I’m going to comment here. The /k only works for XP ATI installers, apparently. For Win7, they suggest the following:

    -INSTALL[-Use /package path] – This will install packages in silent mode.
    -Use /package path is optional.
    1)-INSTALL:will install the whole packages in silent mode.
    2)-INSTALL -Use c:\packages\Drivers\:will install the defined packages in silent mode
    -UNINSTALL- This will uninstall all packages in silent mode.

      Nicolas Moseley responded:
      February 7, 2012 at 9:18 pm

      Excellent! I appreciate that you’ve taken the time to provide updated information on this….

    Standalone Imaging Solution « t3chn1ck said:
    November 14, 2012 at 7:14 pm

    […] Automate driver installation using HP SoftPaqs and script to copy the files into C:CompanyNameModelName […]

    Ed R said:
    January 18, 2018 at 2:03 pm

    Thankyou for the /a switch was hoping something like that existed

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s