Redistributing DTS with your program

In one of our program, to convert the legacy data into our SQL Server, we used the function of DTS.  But now our customer tell us that they want to install the program on a computer without SQL Server.  What shall I do now?  Revise the code or try to find a way to distribute the DTS component with our program?  Anyway, I have to solve this problem as soon as possible.

Finally, I find some useful information in the redist.txt file that is on the root of our SQL Server CD-ROM.  It lists all the files used in the DTS service. There are two sections about DTS, the first lists all of the files required, the second details which files must be registered and one or two that must placed in the Windows system directory.

As well as the usual dynamic-link libraries (DLLs) there are also some localized resource files (RLLs) listed. Resource files should be placed in a sub-directory structure under the DLLs, /Resources/XXXX/, where XXXX represents the language of the SQL Server instance. 1033 is the language identifier for "English, US", so assuming the DLLs are in the ApplicationDirectory, the RLLs would be in C:/Program Files/ApplicationDirectory/Resources/1033/

The following table summarises the files, their locations and any registration requirements:
FilenameDescriptionInstallation FolderRegister
sqlresld.dllSatellite Resource DLL Loader/ApplicationDirectory/
dtsffile.dllDTS Flat File OLE DB Provider/ApplicationDirectory/Yes
dtsffile.rllDTS Resource File/ApplicationDirectory/Resources/1033/
dtspkg.dllDTS Package/ApplicationDirectory/Yes
dtspkg.rllDTS Resource File/ApplicationDirectory/Resources/1033/
dtspump.dllDTS Datapump/ApplicationDirectory/Yes
dtspump.rllDTS Resource File/ApplicationDirectory/Resources/1033/
axscphst.dllDTS ActiveX Script Host/ApplicationDirectory/Yes
axscphst.rllDTS Resource File/ApplicationDirectory/Resources/1033/
dtsrun.exeDTSRun Command Line Utility
to Execute a DTS Package
/ApplicationDirectory/
dtsrun.rllDTS Resource File/ApplicationDirectory/Resources/1033/

SQL Server 7.0 Only
sqlwoa.dllSQL Server Unicode /
ANSI Translation Layer
C:/Winnt/System32 Or C:/Windows/System
sqlwid.dllSQL Server Unicode /
ANSI Translation Layer
C:/Winnt/System32 Or C:/Windows/System

SQL Server 2000 Only
custtask.dllDTS Custom Tasks File/ApplicationDirectory/Yes
custtask.rllDTS Custom Tasks Resource File/ApplicationDirectory/Resources/1033/
sqlunirl.dllSQL Server Unicode /
ANSI Translation Layer
C:/Winnt/System32 Or C:/Windows/System

Based on my tests, I'm sure that the DTS can be installed on Microsoft Windows NT 4.0, Windows 2000, Windows Me, and Windows 98.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值