This is just a quick note on how to create a package to deploy 7-Zip via SCCM

  • Firstly download 7-zip from their website. (I used the x86 exe based installer)
  • Save it to a location where it is accessible from the SCCM server
  • In the SCCM console expand the “Computer Management, Software Distribution, Packages” node

image

  • Start a new package using the “New – Package” action from the right pane
  • Complete the details and move to the next screen

image

  • Pick “this package has source files” and choose the directory where you save the installer file to. Leave “always obtain from source directory” set unless there is a good reason not to.

image

  • Finish the wizard leaving everything else at the default settings.
  • The program should now appear in the packages list – Expand it and go to the “Programs node”

image

  • Start the “New Program” wizard from the Action pane on the right
  • “Browse” to find the executable downloaded in the first step and then alter the command line to read: “7z457.exe /S” if you want to set the install directory then also use the “/D=dir” parameter.

image

  • Complete the screen as shown above. Set the program to run “hidden” so the user doesn’t see any of the setup – the /S switch should also ensure it runs silently without any intervention
  • On the next screen (Requirements) specify the platforms for the package if you want to – generally I would control this via your collection for the advert anyway (e.g making sure no x64 computers are in the collection – but its down to the existing environment)
  • On the next screen (Environment) again set “Program can run” to be “whether or not a user is logged on”. Leave the drive mode at the default setting
  • On the Advanced screen leave everything as default unless you are using OS deployment in which case you might want to tick the bottom box or want to not notify clients that the program is due to run
  • Run through to the end of the wizard leaving everything set to its defaults
  • Next setup the Distribution points for the package using the wizard (under the Distribution points node) – Step through the wizard using the defaults and pick the distribution points you want the package sent to
  • The package is now ready to have an advert created for it just using the standard options for deployment

Update: Since creating this and getting the comment below from Nathan I’ve posted a follow up here for a more advanced install