I'm new to PowerShell and I'm trying installing Web Deploy 3.6 on my Azure VM using PowerShell but it's only installing the minimum features and I want to install All the Features available in the installer (Complete).
How can I do this?
I'm using a command something like this:
Start-Process -FilePath "C:\Windows\Temp\WebDeploy_amd64_en-US.msi" -ArgumentList "/quiet /passive"
CodePudding user response:
Follow the below ways to install All features of .msi
file
Using ALLLOCAL = ALL
Using ALLLOCAL = ALL command install all features in the MSI on the local disk. Which is already Commented by @mklement0
Start-Process -FilePath "C:\Windows\Temp\WebDeploy_amd64_en-US.msi" -ArgumentList "ADDLOCAL=ALL /quiet /qn"
Using InstallMode
InstallMode=Complete command which allows you to install all Features of the .msi file.
Start-Process -FilePath "C:\Windows\Temp\WebDeploy_amd64_en-US.msi" -ArgumentList "/quiet \qn InstallMode=Complete"
Note: Before using this InstallMode=Complete Command make sure to check the Vendor. Because It depends on how the MSI file was created by the vendor.