SSIS (SQL Server Integration Services) : Deploy Package

There are few ways to deploy package to SQL Server Integration Services. One of it is by using dtutil.exe
Scenario: Deploy package directly from Visual Studio.

Create Deploy_DW.bat with the following content
@echo off
set DESTSERVER=MYSVR
set DESTLOCATION=
set SOURCE=%1
set DESTNAME=%~2
dtutil /FILE %SOURCE% /DestServer %DESTSERVER% /COPY SQL;%DESTLOCATION%\%DESTNAME% /Quiet

On your Visual Studio IDE, go to Tools –> External Tools …
and fill in Title, Command and Arguments.
For this example, I save the bat file to “C:\DeployScript\Deploy_DW.bat”

  

After you click OK or Apply, you will see “Deploy Package to MYSVR” under Tools menu.

  

Just select your package, Set as Startup Object and click on “Deploy Package to MYSVR” under Tools menu to DEPLOY.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s