How to install WinSCP with SCCM New Application Deployment Model

I had a student ask for some practical guidance on deploying software via SCCM application deployment model. So I decided to create one basic post about this topic.

Let’s start with brief overview. New model is using built in intelligence during deployment of software. Basically if software is provided by MSI file this is the easiest way to deploy, but we will speak about deploying  EXE file. When MSI file is deployed almost every configuration is not needed. The picture is different when we speaking for EXE software. That’s why we will discus EXE software deployment because the process is not so clear.

Let’s start with application creation in SCCM.

  1. Open Configuration Manager Console.
  2. Click the Software Library workspace, expand Application Management, and then click Applications.
  3. Right-click Applications, and then click Create Application.1
  4. In the Create Application Wizard, on the General page, ensure the Manual Specify the application information detect information about option is selected,  and click Next.2
  5. Enter Application details.3
  6. On the Application Catalog page, click Next.4
  7. On the Deployment Types page, click Add to add a deployment type.5
  8. On the Create Deployment Type Wizard (note that the Create Application Wizard is still visible in the background) page, ensure the manually specify the deployment type information option is selected, click Next. 

    Note: SCCM 2012 SP1 has introduced “Script Installer (Native)” as a deployment type. Select this from the drop-down menu. Note that “Manually specify the deployment type” remains selected.
  9. On General Information page, provide the application name, click Next.
  10. On Content page, provide the following information: Network location of the program files (\\Sources\Software\WinSCP\v5.7.7\) and configure the installation (“winscp577setup.exe” /VERYSILENT), uninstallation parameters. (“C:\Program Files (x86)\WinSCP\unins000.exe”  /VERYSILENT /NORESTART). Ensure the Run installation and uninstallation program as 32-bit process on 64-bit clients option is selected, click Next.9
  11. On Detection Method page, click Add Clause.

    Note: This is where we will manually configure a detection method. This is the tricky part. Most of the applications write into registry, so we can use this information for detection method. In our case registry for winscp is “HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\winscp3_is1”
  12. On Detection Rule page, ensure Registry is chosen from drop down menu Settings Type. Browse Local Machine registry hive for applications uninstall keys. Data Type is String. Ensure the This registry settings must satisfy the following rule to indicate the presence of the application option is selected and Operator: Equals, Value: 5.7.7 , click Ok. 11
  13. On Detection Method page, click Next.
  14. On User Experience page, click Next. 12
  15. On Requirements page, click Next.13
  16. On Dependencies page, click Next.14
  17. On Summary page, click Next.15
  18. On Completion page, click Close.17
  19. On Summary page, click Next.16
  20. On Process page wait for process to finish and, click Close.18

The Application has now been created and can be distributed and deployed with SCCM.

Hope this helps!


Technical References: How to Create Applications in Configuration Manager