Reputation: 3511
How could i install any ".exe" without having any user action, means wherever the user interaction needed it should continue with the default selection (eg: license agreement) using powershell
any reference or links will help
[Discussed Below: Mostly wanted to install visual studio and visual studio related update]
Upvotes: 1
Views: 1538
Reputation: 3511
For Visual Studio below command works:
Start-Process -FilePath "C:\Installs\VS2013\vspremium.exe" -ArgumentList "/adminfile C:\Installs\VS2013\AdminDeployment.xml /passive /norestart" -Wait -NoNewWindow -PassThru
Also in the AdminDeployment.xml file you can make NoWeb="yes", it works otherwise as well.
<BundleCustomizations TargetDir="default" NoWeb="yes"/>
Upvotes: 1
Reputation: 72680
If you are talking about Visual studio, and Microsoft product in general, you should look for unattended installation for example : How to: Create and Run an Unattended Installation of Visual Studio.
Upvotes: 1