Script for VLC Silent Install via SCCM


In this post we will see how to deploy VLC media player using SCCM. VLC media player is a free and open source cross-platform multimedia player and framework. VLC media player plays most multimedia files as well as DVDs, Audio CDs, VCDs, and various streaming protocols. This player is compatible with almost all the operating systems. It also allows customization using some cool skins. Once you have written the script you can use SCCM to deploy VLC media player silently.

I am not going to go through all the steps on how to package an application this post will give you the information you need to package your own application.

First, open up notepad and paste the following line:

“%~dp0vlc-2.2.8-win32.exe” /L=1033 /S

Change the .exe file name if required and save the notepad as Install.bat.

When you are configuring the application for SCCM you will need to make sure you select the “Install.bat” as the installation program and paste “%ProgramFiles(x86)%\VideoLAN\VLC\uninstall.exe /S” for the Uninstall program.

For the detection rule use the registry key for the VLC version you are installing, it is located here: “HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\VideoLAN\VLC\Version

And you are now ready for deployment.


How to install Orca.exe from the Windows Installer Development Tools


The tool Orca.exe is a database editor of windows installer files (*.msi). You can create and edit .msi files and merge modules:

The tool is helpful if you need some more insight into *.msi files – however orca.exe is a bit tricky to find – Here is my way:

  1. download the Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1 (ISO)Windows 7 SDK
  2. opened Iso file (or burn on DVD and insert disk)
  3. navigate to folder \Setup\WinSDKTools
  4. open
  5. Right click WinSDK_Orca_Msi_5E20C107_DAA3_4D49_AFAE_7FB2594F0CDC_x86 –> Extract to a folder of your choice –> add .msi to the file name –> install

Once installed – when you right click a *.msi file you get the context menu Edit with Orca


Silent Install Adobe Reader 11 – msi and exe – disable update


In this tutorial will explain how to silent install Adobe Reader version 11We will be using the MSI and an MST that is built by the Adobe Customization Kit. The script will disable auto update automatically. The command will uninstall older version of Adobe Reader and install a new version. We will use MST Transform file of adobe to make configurations. I trying to script Adobe Reader version 11.0.10 for an SCCM deployment.

Silent Install Adobe Reader.

  • Adobe Reader 11 silent install:
    • Download msi.
    • Create MST file.
    • Create cmd file
    • Execute command.

Adobe Reader 11 msi silent install.

Download msi for silent install Adobe Reader.

First download the package for adobe reader 11.0.0 :

Second download adobe reader 11.0.10 patches :

Save both on folder named “AdobeReader_11010” and unzip AdbeRdr11000_en_US.exe inside folder.

Create a MST transform.

  1. Download Adobe Customization Wizard XI from here.
  2. Install the application and launch it when done.
  3. Click on File -> Copy Package.
  4. Enter the information as below:
  • Source package – Your source of msi that we unzipped “AcroRead.msi”
  • Name of the new package “AcroRead”
  • Location for new package copied – under AdobeReader_11010\

Make any desired configuration in the menus to the left that fits your environment. We recommended :

  • In the left pane on the Personalization Options, check EULA Option: Suppress display of End User License Agreement (EULA).

On the Online Services and Features page, check the following boxes:

  • Disable product updates
  • In Adobe Reader, disable Help > Purchase Adobe Acrobat
  • Disable Product Improvement Program
  • Remove Viewing of PDF with Ads for Adobe PDF
  • Disable all Adobe online services based workflows and entry points

Click File -> Save Package.

Create the .cmd.

  • Inside folder “AdobeReader_11010”  create a text file called install.cmd
  • Copy the following command lines:
@echo silent install Adobe Reader 11.0.10

start /wait msiexec /i "%~dp0AcroRead.msi" EULA_ACCEPT=YES TRANSFORMS="AcroRead.mst" /Update "%~dp0AdbeRdrUpd11010.msp" /qn

You’ll now have the complete package that can be silent installed.


Deploy Firefox with SCCM


In this guide, You will learn how to script a Firefox Install for use with SCCM and other deployment utilities. I will show you to install Firefox on the computers in your network with pre-configured settings and extensions, suppressing all unnecessary prompts and first-run pages.

Step 1 – Download your preferred version of Firefox – for my company i used 54.0.1.

I recommend you use the Extended Support Release (ESR) package, as it is intended for large groups and organizations that need to mass deploy Firefox in a desktop environment. This version is also more stable and secure than the regular version of Firefox, which is intended for personal use.

Step 2 – Create a new folder to place the installer, scripts, and extensions. For this guide, I will be saving all the necessary files to the following location:



To install the Windows ADK on an offline computer by using the command line

To install the Windows ADK on an offline computer by using the command line

  1. On the computer that has Internet access, save a copy of the Adksetup.exe file on the computer.
  2. Open a Command Prompt window by right-clicking and then selecting Run as administrator.
  3. Change directory to the directory that stores the Adksetup.exe file.

    For example, if you copied the file to the Downloads directory for your user account:

    cd %userprofile%\downloads
  4. Run the following command, where <path> is the location where you want to download the files:
    adksetup /quiet /layout <path>
  5. Copy the downloaded files to a location that the offline computer can access.

    For example, copy the files to removable media or to a file server that the offline computer can access.

  6. On the offline computer, open a Command Prompt window as an administrator.
  7. Change directory to the directory that contains the downloaded copy of Adksetup.exe.
  8. Run the following command:
    adksetup /quiet /installpath <path> /features <featureID1><featureID2>

    For <path>, specify the location where you want to install the Windows ADK features.

    To see a list of possible <featureID> values, run the adksetup /list command. To install all of the Windows ADK features, use the /features + option.


Pre-downloading the Prerequisites for SCCM 2012


During the installation of SCCM 2012, we have to specify how the pre-requisite files are downloaded. There are two options

1.Download the files at the time of installation if there is internet connectivity to SCCM server.

2.Pre-download the files when there is no internet connectivity.

How to pre-download the files is explained below.


Creating an SCCM Device Collection with a wildcard


Creating a device collection to gather computers that start or end with a particular string is mostly done using %. If the percent symbol is used at the end of the variable name, you get all computer names that starts from particular string and if you use this in the beginning, gets all computers that ends with particular string.

An example of this: To get all of the devices that start with appman-, use appman-% and to get all the machines that end with -appman then use, %-appman.

The statement I used in my environment is listed below, just change the “Appman-” with your preference.

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_COMPUTER_SYSTEM on SMS_G_System_COMPUTER_SYSTEM.ResourceId = SMS_R_System.ResourceId where SMS_G_System_COMPUTER_SYSTEM.Name like “Appman-%”