Q:

Dynamic Location of SSIS Configuration Files

Is there a more dynamic solution for the storage of SSIS configuration files?
From what I have read, the common solution is to use a "standard" address/folder for each set of config files
I.E "C:\Config"
Is there anyway of making this more dynamic? By driving this from a variable or even appending the server name to the front so a shared location "\server\config" could be used?
Thanks in advance

A:

Two options:

It's possible to store a configuration in a Windows environment variable. You could manage and configure these on each environment (e.g., DEV, TEST, PROD). This environment variable could contain a connection string that points to your other configurations (SQL) or can be chosen directly for each XML configuration file as well.

More info on choosing a suitable configuration strategy: http://msdn.microsoft.com/en-us/library/cc671625.aspx

You can work with relative paths, e.g., define the path to your configuration file as .\Configs\MyConfig.dtsConfig. SSIS will try to access the Config directory from the path where your SSIS package is executed. This can be annoying to deploy, as in debug mode, SSIS executes from the bin directory of your project.

