Deploying the Export component
Once you have created or changed your export component and tested it, you need to deploy the component on client and server machines.
Deploying the Export component on a single or client machine
1 Copy the .dll file from your project into the folder that contains the table export files. The default location is
C:\Program Files\Common Files\IBM\SPSS\DataCollection\7\TOM
2 Register the .dll using the Regsvr32 tool. To run Regsvr32, open the command prompt and type:
regsvr32 <dll_name>
If you are changing an existing export component, or deploying the export component on the same computer where it was built in Visual Studio, you do not need to re-register the .dll file.
Deploying the Export component on a server
1 Create a .cab file for the component. To do this, you need to create .ddf and.inf files to provide configuration details for the .cab file, and then run the MakeCab utility (available with Visual Studio) using the following command:
makecab.exe /f "<filename>.DDF"
Alternatively, you can use the CabArc utility, which requires an .inf file.
For more information about creating a .cab file, see the Microsoft or Microsoft Developer Network (MSDN) sites, and the Visual Studio help.
2 Put the .cab file on the server. In the default installation of UNICOM Intelligence Professional Tables option, the .cab files are in:
C:\InetPub\wwwroot\SPSSMR\Shared\ExportCABs
3 Register the .dll on the server using the Regsvr32 tool. To run Regsvr32, open the command prompt, and then type:
regsvr32 <dll_name>
See also