Determining Which DLLs to Use

ISV applications that are intended to be installed on both SMS 1.1 and 1.2 should ship with a version of the SMS 1.1 DLLs because these DLLs are not included in an SMS 1.1 installation.

It may also be appropriate to ship the application with a version of the SMS 1.2 DLLs if the application requires a later version of the DLLs than the version that shipped with the SMS 1.2 product. The SMS 1.2 DLLs shipping with this SDK are a later version and include functional enhancements that are not part of the DLLs shipped with the SMS 1.2 product.

To determine which version of the DLLs to use with the application, run the code shown in the previous section on BASE.DLL to determine which version of SMS is running on the system where the application is being installed. Then, take one of the following actions:

For applications that ship with SDK DLLs

When the application is being installed on SMS 1.1:

For applications that do not ship with SDK DLLs

The setup program must make sure that it can load the SDK DLLs from the SMS site server BIN directory. If the application is being installed on SMS 1.1 and the DLLs are not present, the setup program should report an error stating that the ISV application cannot run with this version of SMS.