PowerShell Application Deployment Toolkit is a tool very powerful to use MSIEXEC:

  • Installing using MSI
  • Installing using MSI with MST
  • Patching using MSP
  • Uninstalling…

Log files are created in the same folder as the log file of the main script.The log folder is defined in the file AppDeployToolkit\AppDeployToolkitConfig.xml.

For example: <Toolkit_LogPath>$envSystemDrive\Logs</Toolkit_LogPath>



MSI must be copied in the “Files” folder



MSI and MST must be copied in the same folder, in the “Files” folder


If MSI and MST are copied in a subfolder of the “Files” folder



MSP must be copied in the “Files” folder


Uninstall MSI

To use the ProductCode, the MSI must be still in the cache of the machine.

To use the MSI file, it must be copied in the “Files” folder


To launch Uninstallation program:

Deploy-Application.exe -DeploymentType “Uninstall”