How to install WinSCP with SCCM New Application Deployment Model


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.
  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.
  5. Enter Application details.
  6. On the Application Catalog page, click Next.
  7. On the Deployment Types page, click Add to add a deployment type.
  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.
  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.
  13. On Detection Method page, click Next.
  14. On User Experience page, click Next.
  15. On Requirements page, click Next.
  1. On Dependencies page, click Next.
  2. On Summary page, click Next.
  3. On Completion page, click Close.
  4. On Summary page, click Next.
  5. On Process page wait for process to finish and, click Close.

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

Hope this helps!



Leave a Reply

Your email address will not be published. Required fields are marked *