Package an EXE – v1910

Application Packaging, Deployment & Monitoring – v1910

1. Package an EXE.
2. Package an MSI.
3. Deploy an application.
4. Monitor an application deployment.

In this post I am going to explain how to package an .exe. To do this we are going to use System Center Configuration Manager v1910.

I will be using Office 2019 as an example. I am going to presume you have already customized your Office 2019 software package, if not refer to this Microsoft post.

1. Create a new application under Software Library > Application Management > Applications.

Add Application

2. Add your product details and assign any categories/software information. Then click Next.

Specify Software Information

3. Add any Software Center information/icons if you wish. Then click Next.

Specify Software Center Information

4. On the Deployment Types page you need to add a new deployment type. On this page click Add to create a new deployment type.

Add Deployment Type

5. Choose Script Installer from the drop down. Then click Next.

6. Enter your deployment type Name/Language if required. Then click Next.

Enter Deployment Type Name

7. Add the content location. This would be the root folder on your shared folder where the setup.exe and configuration XML file is located.

Add the Installation program location & switches.
“Setup.exe” /configure cofiguration.xml

Tick the option to run the 32-bit process on 64-bit clients. Then click Next.

Specify Information

8. It’s important to add a Detection Method. This will detect whether the application is already installed on the machine. Click the Add Clause button.

Add Detection Method

9. There are multiple ways to do this, you can use file detection, folder, registry or Windows Installer.

We are going to use the Registry option as this is the most effective. Then click OK.

Add Detection Rule Settings

10. Select your User Experience options.

I have chose Hidden and to Install whether the user is logged on or not, this will suppress any install notifications. Then click Next.

Add User Experience Options

11. On the Requirements screen you can add any environment requirements such as OS versions or OU parameters. I won’t be adding any for this program. Then click Next.

Environment Requirements

12. On the Dependencies page you can add any software packages that must be installed prior to your new package. In this case I will not be adding any Dependencies. Click Next.

Add any Dependencies

13. On the Summary page check all your details. Then click Next.

14. Your progress page should have lots of green ticks. Then click Close.

15. Now that we’ve added the deployment type we can continue with the application deployment. Click Next.

Deployment Type added

16. On the summary page check your settings for the application Then click Next.

17. Check that everything succeeded and then click Close.

I recommend that you now right click on the new application and choose to Distribute Content. This will copy the contents of the application to the relevant distribution points or Distribution Point Groups.

Read this blog post on how to create Distribution Point Groups.

18. Read this post on how to deploy your newly packaged application.