3

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"
2
  • Then have a look at the .msi's full command line options. Commented Mar 21, 2022 at 12:39
  • According to this answer, ADDLOCAL=ALL selects all features, though the design of a given .msi file may still exclude features that way. If that is a case, a transform file is needed. Commented Mar 21, 2022 at 13:12

2 Answers 2

3

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.

Few References

  1. PowerShell Install of Web Deploy 3.6 for Hosting Servers
  2. Powershell installing msi
  3. InstallMode & ADDLOCAL
Sign up to request clarification or add additional context in comments.

3 Comments

Nice, but re InstallMode you accidentally linked to the unrelated Install-Module PowerShell cmdlet. Also, the MSI property reference has no such (public) property (and if it did, it would be have to uppercased on the command line). Can you clarify further under what conditions InstallMode=Complete works, and perhaps give few examples?
Refer here
Thanks, but please update your answer directly, especially to fix the incorrect "InstallMode" link. The link in your latest comment doesn't tell you any more than what is already in the answer, unfortunately.
0

Start-Process -FilePath "C:\Users\pkriz\Downloads\WebDeploy_amd64_en-US.msi" -ArgumentList "/quiet /norestart"

the above should work with your Powershell admin mode

1 Comment

Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.