Skip to main content

Creation

Before you create applications, you must connect to the site server.

Then the tab Create Application must be selected.

create-application1.png

The creation of an application takes place in three steps.

  1. Select Installation Source (Select Source)
  2. Adjust the properties of the future application if necessary
  3. Create the application (Create Application)
Select Installation Source

After clicking on the button Select Source a special file browser opens, which works with shares.

The installation source can be selected within this share browser.

create-application2.png

The SCCM Application Manager supports the following installation sources:

  • Windows Installer files (*.msi, *.mst)
  • Executable scripts (*.exe)
  • PowerShell scripts (*.ps1)
  • Command line scripts (*.cmd)
  • VB scripts (*.vbs)

After pressing OK the SCCM Application Manager tries to read the properties of the installation source and displays them in the Source Properties area.

create-application3.png

The reading of the properties from an installation source depends on certain factors:

  1. For an MSI file, all properties can be read because they are mandatory.

  2. For executable files (*.exe), it depends on whether the manufacturer have been entered these properties in the header of the file. If not, these properties must be typed in by hand.
  3. For all scripts like *.ps1, *.cmd, *.vbs files it depends on whether regular expressions have been stored for each type of script, see this chapter. If not, these properties must be typed in by hand.

When working with scripts, the selected script is also displayed.

create-application10.png

This script is read-only by default, but it can be edited after clicking the Edit Script button and saved with Save Script.

Installation Sources Without a Product Code

Typically, a product is identified by its product code. This product code, e.g. {894124B6-B1FF-4911-9BE0-8018E97167E2}, is stored within the Registry under:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{894124B6-B1FF-4911-9BE0-8018E97167E2}

But there exist also installation routines that enter the name of a product or anything else:

arp.png

In this case, the Uninstall Registry Key field is provided within the source Properties. This field can be filled in either by hand or by a regular expression, which is used to read the value from a script.

arp-reg-key.png

If it is not an MSI installation and a value is entered in the Uninstall registry key field, it overrides the value of the GUID when the application is created.

Modifying application properties if necessary

Within the deployment option drop-down list, you can select different advertisement options:

create-application5.png

  • One install deployment, one uninstall deployment (Standard)
  • Two install deployments, one uninstall deployment
  • One install deployment, no uninstall deployment
  • Two install deployments, no uninstall deployment
  • No deployments, application or package only
Application creation for devices or users

When creating applications, you can specify whether the associated collections should be created for devices or for users. For this purpose, the corresponding option must be selected before creating the application.

create-application11.png

Allow end users to repair the created application

The creation of an application with repair command line is enabled via the Use Repair Option checkbox. Users will see an option to repair the application in the Software Center.

create-application11.png

If the SCCM Application Manager was configured sufficiently in advance (see global Configuration, Application Configuration and Application Return Codes)Codes), subsequent adjustments are minimal. It is often enough to check if the Source Properties were fully read.

WerdenIf Änderungenchanges imare Bereichmade derin the area of the Source Properties, vorgenommen,these habenchanges diesehave Änderungena direktendirect Einflusseffect aufon diethe Application Properties. DasThese sindare jenethe Eigenschaften,properties diethat beiwill derbe Erstellungused derduring Applikationthe verwendetcreation werden.of an application.
create-application4.png

SollIf dieyou Applikationwant späterthe imapplication to appear in the Software Center aufon demthe Clientclient, erscheinen,the solltenfollowing folgendesettings Einstellungenshould berücksichtigtbe werden:considered:

  1. DieThe [Un]Install Offer Type Ids solltenshould aufbe set to Available stehen..
    create-application7.png
  2. DieThe Applikationapplication sollteshould einhave an Icon File besitzen,that dascan hinzugefügtbe werdenadded. kann.The Dieminimum Mindestgrößesize diesesof Iconsthis mussicon mindestensmust be at least 32 x 32 Pixelpixels, betragen,because daotherwise dasthe Ergebnisresult imin the Software Center aufon demthe Clientclient sonstlooks unschöndistorted. aussieht.In Darüberaddition, hinausthe darfimage dasmay Bildbe max.a maximum of 250 x 250 Pixelpixels großin sein.size.
    create-application6.png

    SeitSince derthe Einführungintroduction vonof Microsoft®Microsoft ® System Center Releaserelease 17101710, werdenlarger größereicons Symboleare nichtno mehrlonger verzerrtdistorted. dargestellt.Please Nähere Informationen dazu siehesee hierhere.

Angepasst werden können alleAll Application Properties, diewith weißa hinterlegtwhite sind.background Graucan hinterlegtebe Eigenschaftencustomized. könnenGrayed-out entwederproperties indirektcan übereither diebe changed indirectly via the Source Properties, geändertor werden,their odervalues ihreare Wertestored sindglobally (see global hinterlegtConfiguration (sieheand globaleApplication Konfiguration und ApplikationskonfigurationConfiguration) undand müssenmust dortbe verändertchanged werden.there.

ImIn Tabthe Return Codes könnentab, zusätzlicheadditional Rückgabewertereturn definiertvalues werdencan undbe imdefined. TabIn the Detection Rules könnentab Vorlagenyou fürcan Erkennungsregelnselect or customize templates for detection rules (siehesee ApplikationskonfigurationApplications Configuration) ausgewählt oder angepasst werden..

ApplikationCreate erstellenthe Application

BevorBefore einean Applikationapplication erstelltis wird,created, sollteit überprüftshould werden,be obchecked allewhether Einstellungenall richtigsettings vorgenommenhave wurden.been Dermade Buttoncorrectly. mitThe dembutton grünen Hakengives ()information gibtabout Auskunftit. darüber.If Wirdclicked, dieserall angeklickt,settings werdenwill allebe Einstellungenchecked. überprüft.Any Innerhalberrors derare Statusmeldungendisplayed werdenwithin etwaigethe Fehlerstatus angezeigt.messages. EineThe Applikationbutton wird indoes diesemnot Fallcreate nochan nicht angelegt.application.

create-application9.png

DerFinally, Buttonthe Create Application erzeugtbutton schließlichcreates diethe gewünschtedesired Applikationapplication mitwith allenall beteiligtenthe Objektenobjects involved (Sammlungen,collections, Ankündigungen,deployments, Ankündigungstypen,deployment Ordner,types, Verteilungspunktgruppenfolders, u.v.m.distribution point groups, etc.). DieserThis Vorgangprocess kanncan etwatake about 30 Sekundenseconds, dauern,as wieit innerhalbdoes derwithin the Configuration Manager Konsole auch.console.