Walid Hegazy

How To Do :) IT

System center configuration manager 2012 R2 (Part 5) Deploying Applications 2/2

Leave a comment

After we have seen how to create Approval pending applications in SCCM 2012 in the last part  of our series  , in this part we are going to see how to deploy .exe applications and how to deploy Applications that has dependencies.

Deploy .EXE Application

On Application Select Create Application.

image164[4]

Select Manually specify the application information

image165[4]

Enter Application details

image166[4]

Click Next

image167[4]

Click ADD to configure the Deployment Type.

This will open the Create Deployment Type Wizard, (the Create Application Wizard still in the background)

image168[4]

Select Script Installer from the drop down menu, Select Manually specify the Deployment information

image169[4]

Fill the Name Click NEXT.

image170[4]

Enter the location of the program files and configure the installation parameters. We know that

  ” AdbeRdr_11007_en_US.exe /sAll /msi /norestart ALLUSERS=1 EULA_ACCEPT=YES SUPPRESS_APP_LAUNCH=YES”” is correct from previous testing.

image171[4]

This is where we will manually configure a detection method. In the case of Adobe Reader, the presence of the file “AcroRd32.exe” is evidence that the application is installed on a device.

image172[4]

 If the user don’t have administrative privileges he not being allowed to install applications or run scripts so we will run it as a system And will select to Run whether or not a user is logged on option.

image173[4]

We can add requirements if the application need’s special requirement, Click Next

image174[4]

Click Close to return to the Create Application Wizard

image175[4]

Click Next. Click Close.

image176[4]

image177[4]

Then we will deploy the application to users in the same way

image

image

And our  application is installed Smile

image180[4]

Deploying Applications that has dependencies

The Best useful example for this that came in mind is SCCM management console and .Net Framework4.0 since we intend to have SCCM management console installed to all IT and helpdesk in our environment and utilize the Role Based access. We will start by creating the .Net Framework4.0 Application.

.Net Framework4.0

After downloading .NET Framework 4.0 installer open the Configuration Manager console, From the Software Library workspace, expand Application Management. Right click Applications and click Create Application.

image181[4]

Select to manually specify the application information. Click Next.

image182[4]

Enter in the name, version and manufacturer for the .Net application as per below.

image183[4]

On the Application Catalog page. Click Next.

image184[4]

On the Deployment Types page, click the Add button to launch the Create Deployment Type Wizard.

image185[4]

Select Script Installer from the drop down menu, Select Manually specify the Deployment information

image186[4]

 

 

Type the Name .Click NEXT.

image187[4]

On Content location click the Browse button and navigate to where you placed the .net 4 executable file .

For installation program text box, enter in the following command line that will perform a silent installation of .Net 4: dotNetFx40_Full_x86_x64.exe /q /norestart /ChainingPackage ADMINDEPLOYMENT

image188[4]

Click the Add Clause

image189[4]

Set the Setting Type and select Registry, Browse to HKEY_LOCAL_MACHINE \Software\Microsoft\NET Framework Setup\NDP\v4\Full, all fields will be filed .Click OK.

image190[4]

image191[4]

Click Next.

image192[4]

Select the user Experience as below. Click Next.

image193[4]

Click Next. And Close.

image194[4]

image195[4]

SCCM2012 R2 Management console

The .Net Framework 4.0 application is ready, now we will do the same steps for the SCCM2012 R2 console but we will set the .Net Framework 4.0 application as a Dependency to fully automate the deployment.

Select to manually specify the application information. Click Next.

image196[4]

 

 

Enter in the name and manufacturer for the .Net application as per below.

image197[4]

On the Application Catalog page. Click Next.

 

On the Deployment Types page, click the Add button to launch the Create Deployment Type Wizard.

 

Select Script Installer from the drop down menu, Select Manually specify the Deployment information

 

Type the Name .Click NEXT.

 

image198[4]

image199[4]

On Content location Browse to Consolesetup folder, in the Installation program text box, enter in the following command line consolesetup.exe /q TargetDir=C:\SCCM2012Console EnableSQM=0 DefaultSiteServerName=<Primary Site FQDN>.

In the Uninstall program text box, enter in the following command line that will perform a silent uninstallation: consolesetup.exe /uninstall /q

image200[4]

Click the Add Clause, enter in: C:\SCCM2012Console\Bin in the Path field and select the Microsoft.ConfigurationManagement.exe folder

image201[4].

Select the user Experience as below. Click Next.

image202[4]

On the Dependencies page, next to Dependency group name: enter .Net Framework click the Add and select the .Net Framework 4.0 application Click OK.

image203[4]

image204[4]

image205[4]

Click OK.

And Close.

image206[4]

Now we start deploying it …Finally J

image207[4]

image

image209[4]

image210[4]

image211[4]

Same as before …

Both of them are distributed to our distribution point

image212[4]

Let’s try installing it now

image

image214[4]

image

image

image217[4]

image218[4]

Smile  Working Smile

image219[4]

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s