How do you automate an application packaging?

How do you automate an application packaging?

So if you want to automate the repackaging process, you are in luck because all you need to do is design some PowerShell scripts to:

  1. Start a capture.
  2. Install the desired application.
  3. Perform any additional changes.
  4. Stop the capture.
  5. Save the virtualized application.

How do I update an application in SCCM?

In the Configuration Manager console, go to the Software Library workspace, expand Application Management, and select the Applications node. Then choose the application that supersedes another application.

Can you skip SCCM updates?

You can skip the previous SCCM 1902 hotfixes and directly install SCCM 1906 update. If you have already installed the above hotfixes, proceed with installing SCCM 1906.

How to automate the installation of MSI packages?

As FryHard pointed out there are two options in particular that seem handy: To automate the installation of an MSI package, you can use the /I option, like this: Keep in mind that you need to specify the properties the MSI package expect the user to specify through the UI, and for which it does not have a default value.

How to use chocolatey to automate application installations?

Microsoft has a nice collection of PowerShell scripts to setup whole develop box in GitHub repository windows-dev-box-setup-scripts. From there you can check more examples how Visual Studio is installed with Chocolatey. SQL Server installation can be skipped completely as it works nicely with Docker.

How to export installed packages to another computer?

Export installed packages to another computer Chocolatey supports installing applications with packages.config file, but unfortunately Chocolatey doesn’t have a command to create the config file from local packages. One easy way to export installed packages is to create a PowerShell script that has an install command for each package.

How to create a script to install an application?

Create the script to install the application. In Windows 10, version 1607 and earlier, create a script to perform whatever work is needed to install the application(s). The following examples are provided to help get started authoring the orchestrator script that will execute the required installers.