Quiet install of Nuget

Topics: General
Sep 23, 2014 at 9:07 PM
Is it possible to install Nuget package manager silently?
Sep 24, 2014 at 4:58 PM
Yes. Take a look at the sample script below:

ECHO Install latest VSIX ...
IF not "%PROGRAMFILES(X86)%"=="" (
IF EXIST "%PROGRAMFILES(X86)%\Microsoft Visual Studio 11.0\Common7\IDE\VSIXInstaller.exe" (
    "%PROGRAMFILES(X86)%\Microsoft Visual Studio 11.0\Common7\IDE\VSIXInstaller.exe" /q /a %NUGETINSTALLDIR%\NuGet.Tools.vsix
) else "%PROGRAMFILES(X86)%\Microsoft Visual Studio 10.0\Common7\IDE\VSIXInstaller.exe" /q /a %NUGETINSTALLDIR%\NuGet.Tools.vsix
) ELSE (
IF EXIST "%PROGRAMFILES%\Microsoft Visual Studio 11.0\Common7\IDE\VSIXInstaller.exe" (
    "%PROGRAMFILES%\Microsoft Visual Studio 11.0\Common7\IDE\VSIXInstaller.exe" /q /a %NUGETINSTALLDIR%\NuGet.Tools.vsix
) else "%PROGRAMFILES%\Microsoft Visual Studio 10.0\Common7\IDE\VSIXInstaller.exe" /q /a %NUGETINSTALLDIR%\NuGet.Tools.vsix
)