Google Reviews
If you find this content or our services useful, please leave us a review.

This blog post shows code that can be used when installing and uninstalling an MSI using PowerShell. You can adapt the code to add more parameters (public properties etc) as necessary.

You can use this chunk of PowerShell code to install or uninstall an MSI:

$MSIArguments = @(
    "`"C:\path with spaces\alkane.msi`""
    "`"C:\path with spaces\alkane.log`""

Start-Process "msiexec.exe" -ArgumentList $MSIArguments -Wait -NoNewWindow
Installing and Uninstalling an MSI using PowerShell
Comments have now been disabled. If you have a question to ask about this post please ask the community!