Get IT Solutions

How to do IT
Menu
  • Home
  • SCCM 2012
    • Deploy Packages
    • Troubleshooting errors SCCM 2012
  • Windows
    • Applications Silent Install
    • Windows Tools
    • Windows Error
    • Script
    • Exchange Server
    • Troubleshooting Office
    • Applications Errors
  • Database
    • SQL Server
    • MySQL
    • Oracle
  • Cybersecurity
  • Other
  • Reviews

Deploy Adobe Flash Player package with SCCM

In this tutorial we will explain how to deploy adobe flash player with package in the Configuration Manager 2012. The deployment is based on script silently installation. We will get “msi” version 17.0.0.134 to demonstrate. The package will disable automatic update check. The entire process will be a silent install and your end-user won’t notice a thing!

If older version is detected, this package will first uninstall the older version then proceed with the installation of newer version.

The following tasks included:

  • Deploy Flash Player ActiveX 17.0.0.134 silently with script
  • Deploy Flash Player Plug-in 17.0.0.134 silently with script
  • Disable Update Checking / Auto update

Note: The script can run with and without SCCM 2012.

Preparation:
The .MSI file can be downloaded for both at  >> http://www.adobe.com/products/flashplayer/distribution3.html

Step 1: Create packageon your PC

Create a folder with name “Deploy Flash Player 17.0.0.134 Package” . Inside create two folders named “ Deploy Flash Player Active X ” and “ Deploy Flash Player Plug-in ”. On the folder “ Deploy Flash Player Active X ” copy the “.msi” downloaded for Flash Player ActiveX.

Create a text file called “install.cmd” and copy in the following command lines.

“Install.cmd” text for Adobe Flash Player:


@echo off
@rem DESCRIPTION: Flash Player Active X 17
@REM Version 1.0.0
@echo off
@Rem === Variables_declaration-START ===============================
Set AppliName=Adobe Flash Player
Set PackageName=Adobe_Flash-Player_17.0.0.134
Set PackageNameScript=Adobe_Flash-Player_17.0.0.134
Set LogfilepathCmd=C:\Log_Test\%PackageName%_Upd_Script.txt
Set MSIFile=install_flash_player_17_active_x_17.0.0.134.msi

@Rem === Variables_declaration-END =================================
cls

if not exist "C:\Log_Test\" md "C:\Log_Test\"

@echo --------------------------------------------------------------------- >>%LogfilepathCmd%
@echo %AppliName% install script >>%LogfilepathCmd%
@echo ........ >>%LogfilepathCmd%
@echo. >>%LogfilepathCmd%

FOR /F %%I IN ('DATE /T') DO FOR /F %%J IN ('Time /T') DO echo %%I %%J >>%LogfilepathCmd%
@echo. >>%LogfilepathCmd%
Rem =========================================================
Rem ========= Installation ===========
Rem =========================================================

Rem Installation

@echo Installation of %AppliName% >>%LogfilepathCmd%
start /wait msiexec /i "%~dp0%MSIFile%" /qn /l* "C:\Log_Test\%PackageName%_insta_Script.txt"
set errorcode=%errorlevel%
If "%errorCode%"=="3010" (Set errorcode=0
@echo errorCode=3010, A restart is required to complet the install >>%LogfilepathCmd%
)
If "%errorCode%"=="1641" (Set errorcode=0
@echo errorCode=1641, The installer has initiated a restart >>%LogfilepathCmd%
)

@echo Return Code of %AppliName% installation = %errorcode% >>%LogfilepathCmd%
@echo. >>%LogfilepathCmd%
Rem =========================================================
Rem ========= Setting (App x64) ===========
Rem =========================================================

@echo Set the x86 parameter file, OS x64 >>%LogfilepathCmd%
@XCOPY "%~dp0mms.cfg" "%windir%\syswow64\macromed\flash\" /E /C /Q /R /Y >>%LogfilepathCmd%
@XCOPY "%~dp0mms.cfg" "%windir%\syswow64\" /E /C /Q /R /Y >>%LogfilepathCmd%
@echo Move the flash x86 log >>%LogfilepathCmd%
@MOVE /Y "%windir%\syswow64\macromed\flash\FlashInstall.log" "%LOGS%\%PackageName%_setup_Inst.log" >>%LogfilepathCmd%

@echo Set the x86 parameter file, OS x86 >>%LogfilepathCmd%
@XCOPY "%~dp0mms.cfg" "%windir%\system32\macromed\flash\" /E /C /Q /R /Y >>%LogfilepathCmd%
@XCOPY "%~dp0mms.cfg" "%windir%\system32\" /E /C /Q /R /Y >>%LogfilepathCmd%
@echo Move the flash x86 log >>%LogfilepathCmd%
@MOVE /Y "%windir%\syswow64\macromed\flash\FlashInstall.log" "%LOGS%\%PackageName%_setup_Inst.log" >>%LogfilepathCmd%

sc stop "AdobeFlashPlayerUpdateSvc" >>%LogfilepathCmd%
sc delete "AdobeFlashPlayerUpdateSvc" >>%LogfilepathCmd%
schtasks /delete /tn "adobe flash player updater" /f >>%LogfilepathCmd%

Rem ==========================================================
Rem ========= End of Script ===========
Rem ==========================================================

:END
FOR /F %%I IN ('DATE /T') DO FOR /F %%J IN ('Time /T') DO echo %%I %%J >>%LogfilepathCmd%
@echo end of script >>%LogfilepathCmd%
@echo Error code script = %errorcode% >>%LogfilepathCmd%
@echo --------------------------------------------------------------------- >>%LogfilepathCmd%
@echo. >>%LogfilepathCmd%
@echo. >>%LogfilepathCmd%
@echo. >>%LogfilepathCmd%

exit %errorcode%

Create a text file called “mms.cfg” and copy in the following command lines.

READ ALSO -   Deploy Google Chrome Package with SCCM 2012

Mms.cfg text for Adobe Flash Player:


# disable updates
AutoUpdateDisable=1
SilentAutoUpdateEnable=0
# limit the local storage to 10 KB for each domain
LocalStorageLimit=2
# disable the ability to write persistent shared objects when using cross-site SWF files
ThirdPartyStorage=1
Flash Score Active X folder View

Flash Score Active X folder View

On the folder copy the “.msi” downloaded for Flash Player Plug-in . Create a text file called “install.cmd” and copy the following command lines.

Install.cmd text for Adobe Flash Player:


@echo off
@rem DESCRIPTION: Flash Player Plugin 17
@REM Version 1.0.0
@echo off
@Rem === Variables_declaration-START ===============================
Set AppliName=Adobe Flash Player
Set PackageName=Adobe_Flash-Player_17.0.0.134_plugin
Set PackageNameScript=Adobe_Flash-Player_17.0.0.134_plugin
Set LogfilepathCmd=C:\Log_Test\%PackageName%_Upd_Script.txt
Set MSIFile=install_flash_player_17_plugin_17.0.0.134.msi

@Rem === Variables_declaration-END =================================
cls

if not exist "C:\Log_Test\" md "C:\Log_Test\"

@echo --------------------------------------------------------------------- >>%LogfilepathCmd%
@echo %AppliName% install script >>%LogfilepathCmd%
@echo .... >>%LogfilepathCmd%
@echo. >>%LogfilepathCmd%

FOR /F %%I IN ('DATE /T') DO FOR /F %%J IN ('Time /T') DO echo %%I %%J >>%LogfilepathCmd%
@echo. >>%LogfilepathCmd%
Rem ============================================================
Rem ========= Installation ===========
Rem ============================================================

Rem Installation

@echo Installation of %AppliName% >>%LogfilepathCmd%
start /wait msiexec /i "%~dp0%MSIFile%" /qn /l* "C:\Log_Test\%PackageName%_insta_Script.txt"
set errorcode=%errorlevel%
If "%errorCode%"=="3010" (Set errorcode=0
@echo errorCode=3010, A restart is required to complet the install >>%LogfilepathCmd%
)
If "%errorCode%"=="1641" (Set errorcode=0
@echo errorCode=1641, The installer has initiated a restart >>%LogfilepathCmd%
)

@echo Return Code of %AppliName% installation = %errorcode% >>%LogfilepathCmd%
@echo. >>%LogfilepathCmd%
Rem =============================================================
Rem ========= Setting (App x86) ===========
Rem =============================================================

@echo delete service: "AdobeFlashPlayerUpdateSvc" >>%LogfilepathCmd%
sc stop "AdobeFlashPlayerUpdateSvc" >>%LogfilepathCmd%
sc delete "AdobeFlashPlayerUpdateSvc" >>%LogfilepathCmd%
@echo delete schedule: "adobe flash player updater" >>%LogfilepathCmd%
schtasks /delete /tn "adobe flash player updater" /f >>%LogfilepathCmd%

Rem ==============================================================
Rem ========= End of Script ===========
Rem ==============================================================

:END
FOR /F %%I IN ('DATE /T') DO FOR /F %%J IN ('Time /T') DO echo %%I %%J >>%LogfilepathCmd%
@echo end of script >>%LogfilepathCmd%
@echo Error code script = %errorcode% >>%LogfilepathCmd%
@echo --------------------------------------------------------------------- >>%LogfilepathCmd%
@echo. >>%LogfilepathCmd%
@echo. >>%LogfilepathCmd%
@echo. >>%LogfilepathCmd%

exit %errorcode%
Flash Score plug-in folder View

Flash Score plug-in folder View

Now we have two packages created for Active-x and Plug-in.

Note: The scripts created to save logs for installation on path inside the script. Can be change with the path you want.

If you want to install the package with out deployment, just right-click on the “install.cmd” and run as administrator. Check logs for the perform of the installation.

Step 2: Create package ” Deploy Adobe Flash Plater ” on SCCM 2012

First create the folder share in server where will put the packages that will be deployed. We created a hierarchy folder like:

D:\Software\ Deploy Adobe Flash Player – Inside copy the folder package that creates previously. This will help to manage simplest all applications in future. Go to “System Center 2012 configuration manager” – Software Library – Application management – Packages. Create new folder with application name like “ Deploy Adobe Flash Player Active X ”. We will create separate folders for all applications for best management.

Deploy Adobe Flash Player

Create new folder with application name

Right click on the folder and chose create package.

Create package

Create package

Specify information about packages like: Name, Description and Version. Specify source folder that previously copied package on the network location using network path (UNC Name).

Deploy Adobe Flash Player

Specify information about packages

Select Standard program.

Deploy Adobe Flash Player

Select Standard program.

Specify some information about the package: Name it, start-up folder will remain blank, for command line select install.cmd (click Browse and find install.cmd file on the folder that we copied previously). Choose Hidden as RUN option. Select Whether or not user is logged on under Program Can Run. The remainder remains a default. Click Next.

Deploy Adobe

Specify some information about the package

In this step you can specify which operating system to include or exclude. Click next.

Specify the requirements

Specify the requirements

Click next to the following menus and on the last click close. Your package is ready for deploying.

Step 3: Distribute Flash Player package

In this section we will explain how to execute Deploy Adobe Flash Player package.

Right click on the package that created previously. Select Deploy.

Select Deploy

Select Deploy

Browse for the collection where you want to deploy your package. Click Next.

Browse for the collection

Browse for the collection

Select the desired distribution point from “add” menu and click next.

Select the distribution point

Select the distribution point

Select required or available. We will select required to have flash player to all computers.

Select required or available

Select required or available

We will specify schedule for this deployment. I’ll recommend selecting As soon as possible from the available options for fast deployment. Select “Rerun if failed previous attempt” on the rerun behavior.

Specify schedule for the deployment

Specify schedule for the deployment

Click next through the remainder of the windows.

The Deploy Adobe Flash Player finished and you can monitor on the Monitoring menu under Deployments tabs. To Deploy Flash Player plug-in, you can repeat the process from the creation of folder step under package menu.

Troubleshooting:

If you want to troubleshoot deployment installation then refer to the log files specified on script. In my case:

C:\Log_Test

 

If you have any question about deploy adobe flash player, do feel free to ask in the comment section.

Share
Tweet
Google+
Pinterest
Linkedin
Stumble
Email
Next Article

Related Articles

Java Offline EXE Silent Installation
In this tutorial we will explain how to Deploy Java …

Deploy Java 8 with SCCM 2012 and uninstall older version

Deploy Google Chrome Package with SCCM 2012
In this tutorial we will explain how to Deploy Google …

Deploy Google Chrome Package with SCCM 2012

Best Computers & Laptops

Best Computer for Cyber Security – Laptop and Desktop
Best Computer for Cyber Security
Hey, are you seeking the best computer for cyber security? Well, we must say you have come to the right place to find your answer and guidance. There are a plethora of products out there for you to pick from ...
Read More
Best Computer for Microsoft Office & Excel – Laptop and Desktop
Best Computer for Microsoft Office & Excel
Are you finding the Best Computer for Microsoft Office and Excel? In modern days, the best laptop or desktop set is the one which is both portable, has good looks and offers the smoothest performance. Microsoft Office is a package ...
Read More
Best Computer for Hacking – Laptop and Desktop Selection
Best computer for Hacking
When it comes to hacking, either laptop or desktop, choosing the best computer for hacking would be an exhilarating job. There are many specifications to be considered for hacking ...
Read More

SQL Server Tips

FIX sqlstate 42000 – mysql error 1064 – you have an error in your sql syntax
Sqlstate 42000 Is a general code that come together with other number. Most often comes with the code 1064 and ...
Read More
The execute permission was denied on the object – SQL Server Error
The execute permission was denied on the object
The following article will handle “the execute permission was denied on the object” error appears on SQL Server. This error ...
Read More
How to Read Data from LDF file in SQL Server – A Complete Guide
Read LDF File
Hello Everyone, Today we are going to address the most popular query of SQL users, how to read data from ...
Read More

Search

We are on:

Get FREE SPACE for your PC

3 Method to Delete Temp Files in Windows 7/10 including vbs script

In this post we will explain how to delete temp files windows 7 using three different methods including vbs script ...
Read More

Fastest way to delete hiberfil sys from windows 10/8/7 and XP – CMD

In this article we will explain how to remove or delete hiberfil sys from Windows 10/8/7 and XP . If you does ...
Read More

Learn How to Silent Install Applications

Silent Install Adobe Flash Player
In this tutorial will explain how to silent install adobe flash player 25, Msi and Exe version. How to disable auto update and uninstall older ...
Read More
Java Silent Install and Uninstall Older Version – Deploy Package MSI
This tutorial will explain how to silent install Java MSI/EXE version and disable auto-update. The command line will also uninstall the ...
Read More
Silent Install Adobe Shockwave Player 12 and disable update
In this tutorial will explain how to silent install Adobe Shockwave Player 12 msi and disable auto update. The command will uninstall older ...
Read More
Silent Install Google Chrome MSI, Silent Uninstall and Disable Auto Update
This tutorial will explain how to silent install Google Chrome MSI and disable auto update. The command will uninstall older version of ...
Read More
Silent Install Adobe Reader 11 and DC – msi and exe – disable update
In this tutorial will explain how to silent install Adobe Reader version 11 and DC. We will user both version "msi" ...
Read More
Silent Install Mozilla Firefox msi and exe file – Including Silent Uninstallation
This tutorial will explain how to silent install Mozilla Firefox. We will use MSI and EXE files to perform a silent ...
Read More
Skype Silent Install Msi and disable updates
In this tutorial will explain how to silent install skype  and disable auto update. The command will uninstall older version of Skype and ...
Read More
Filezilla Silent Install msi and exe version
Filezilla silent install tutorial will explain how to perform a silent installation of application. We will explain methods, silent install ...
Read More
Silent install VLC Media Player
In this tutorial will explain how to silent install VLC Media Player. We will explain both methods for exe and ...
Read More
Notepad++ silent install exe and msi version – Command Line
Notepad++ silent install is the new article from a series of silent installations. Notepad++ as free software has two main ...
Read More

Batch File Solutions

How to list files in cmd – Command Prompt – Windows 10
Whenever you want to search and make a list of all files on a specific folder, you used the windows ...
Read More
Batch rename multiple files in folder – CMD script – Bulk Method – Win 10
The following article will teach how to rename multiple files in a folder with the bulk method using Command Line ...
Read More
Batch script rename file using Command Line (CMD) & PowerShell – Windows 10
The following article will use the “rename” or “ren” command to rename the file using a command prompt. Also, we ...
Read More
Change extension of multiple files at once – CMD batch file
The following article will teach the methods to change the extension of multiple files at once using command prompt and ...
Read More
How to delete registry key with command line | PowerShell | Batch
The following article is the third of series about registry and working on it through command line (CMD) and PowerShell ...
Read More
How to add registry key & values with CMD | PowerShell | Batch
The registry is the place where most of the applications store the settings but not only. Used also from the ...
Read More
Unmap Network Drive CMD – (Batch file) – net use delete command
After we posted the methods to map network drive using cmd commands we come this time with the method to ...
Read More
Map Network Drive cmd (batch file) – net use user password
This article will focus on another way to map a network drive on your computer instead of from the explorer ...
Read More
How to Find Large Files on Windows 7 & 10 – CMD Forfiles Command
If the capacity of your hard drive is running low, it is time to clean off some files and to ...
Read More
CMD Script to check disk space on windows and multiple remote servers
The following article will provide you script to check disk space. The Script monitor space on windows and multiple remote ...
Read More

Get IT Solutions

How to do IT

About Us

Get IT Solutions is a personal blog, which is managed to guide people for various topic.

Second Menu

  • Donate
  • About Us
  • Contact Us
  • Privacy Policy

What Will You Find

Automation is our area of writing where are included scripts, batch and various tips to automate your daily job.
Copyright © 2023 Get IT Solutions