How to install Sql Server Data Tools (SSDT) 2017 Offline (Internal Network installation)
Published Feb 10 2019 05:24 PM 101K Views

First published on MSDN on Jun 21, 2018


Before you begin:

The official SQL Server SSDT offline installation DOC on SQL 2017 contains updated information on these steps. I am keeping this blog as a reference at this point, though it is updated as well



Here is a request that came up recently:

"When installing SSDT manually it downloads a shell copy of Visual Studio 2017 from the Internet. However, if I get the offline copy of SSDT for VS2017 it does not include the Shell copy of VS2017 so the install fails because no Visual Studio 2017 instance is present. I need this for an internal network installation either via SCCM or wide unattended distribution."

This request makes sense for a lot of large enterprises where internet access may be restricted for security considerations.

Steps to accomplish this:

The overall approach is to download the required files on a computer that does have internet access. Then later use those bits on an internal network to install on multiple computers that do not have internet access.

1. Download SSDT standalone installer for VS 2017 (pick a language of your choice from the list) 

2. Download   Visual Studio Shell (vs_sql.exe)  also known as VS SQL SKU 


3. From a Command Prompt go to the folder where vs_sql.exe was downloaded and execute the following command on a machine with internet connection so you can download all the bits required for a later use offline. Using the --layout option is the key. For more details, see







vs_sql.exe --layout c:\vs2017offline --lang en-US







Note: Above is for US English only ~1GB of files as an example.


3.1 If you need ALL languages downloaded you can use this command







vs_sql.exe --layout c:\vs2017offline







Note: all languages files add up to about ~3.9GB

4. Now, that you have all the necessary bits downloaded you can copy them to a network location or media so you can use them for offline (internal) installation

5. Next, to install offline on a machine that is not connected to the internet, run this command which will install VS2017 Shell 







vs_setup.exe --NoWeb







5.1 For no-GUI install, you can use







vs_setup.exe --NoWeb --wait --norestart --quiet







6. To install SSDT offline, run this for an interactive/GUI installation (be sure to select SSIS/SSRS/SSAS)







SSDT-Setup-ENU.exe /install







6.1 For an unattended (non-GUI) installation to all VS Instances run this command as is:







SSDT-Setup-ENU.exe /INSTALLALL[:vsinstances] /passive /log log.txt







6.2 For an unattended installation to a specific VS Instance, you can query the instance ID of the desired VS instance







c:\> cd C:\Program Files (x86)\Microsoft Visual Studio\Installer
C:\Program Files (x86)\Microsoft Visual Studio\Installer> vswhere.exe -all







  Then run this command by replacing the VS_INSTANCE_ID_HERE with your instanceID (it will look something like this: 49cf420b)















Note: For detailed command options, you can run 







SSDT-Setup-ENU.exe /help 








You will see on that screen the following: 







Thanks to Paritosh Soni for the contribution on vswhere.exe and installing for a specific instanceID, testing and helping improve this post overall.



Version history
Last update:
‎Nov 17 2022 09:36 AM
Updated by: