This document explains the best practices of using switches and installation commands while creating MSI and EXE software packages.
Follow the steps below while creating MSI software packages:
Few examples of MSI software Installation commands:
Some MSI softwares requires additional parameters and properties for installation. These packages can be created either under MSI or EXE.
While creating these packages under MSI, specify the additional parameters in the MSI properties for installation. For example, take a look at the screenshot given below.
These software packages can also be created under EXE, you will have to specify the switches and also prefix "msiexec /i" in the installation command. A screenshot is provided below for your reference.
Follow the best practices given below while creating EXE software packages.
Ensure that you include the switches while specifying the installation/uninstallation command while creating EXE packages using Shared folder or via uploading a file from the local computer. Siltent switches helps in silent installation of software without user's interaction. It is necessary that you specify the switches for smooth installation of software.
Note: You can look for silent switches in the online database of Software Templates and use this link to raise software request for silent switches. You can also check with the original software vendors to get the silent switches. Online search is another way to get your switches from user communities, software expert blogs etc.,
For examples of EXE software installation command,
Refer the below screen shot for EXE software installation command,
There are scenarios where you would like to allow user's interaction during the installation process. Follow the below practices to allow user's interaction,
Refer the below screen shot for better understanding
Important Note:
Before deploying the EXE packages in the production environment ensure that you test them in the test environment using the following steps,
If the silent installation is successful in the test environment, you can proceed with the deployment of EXE package in the production environment.
Learn more about software deployment best practices.