Previous Topic: Post-Upgrade ConfigurationNext Topic: Update Relational Database User Stores


Recompile Custom Code

When you upgrade the Provisioning Server, all connectors are upgraded by default. However, custom connectors and code will need to be recompiled using Microsoft Visual Studio 2008 SP1.

Note: For more information on upgrading specific connectors on endpoints or migrating deprecated connectors to their replacement connectors, see the Connectors Guide.

The following custom code must be recompiled:

To recompile custom connector code

  1. Install Microsoft Visual Studio 2008 SP1.
  2. Install the Provisioning SDK. The Provisioning SDK is included in a separate download available on the CA Support Site.

    The installer detects the previous SDK version and updates it. Any files or folders, such as custom code placed in the Provisioning SDK admin folder, are preserved.

  3. If the original custom code makefiles did not use eta.dep, update the makefiles as follows:
    1. Replace the exception handling flag from /GX to /EHsc.
    2. Remove /YX from the compiler command line option.
    3. Add the following to the compile flag:
      /D "_CRT_SECURE_NO_WARNINGS" /D "_CRT_NON_CONFORMING_SWPRINTFS" /D "_USE_32BIT_TIME_T"
      
    4. Set the correct versions in the makefile, as follows:
      • APPVER = 6.0
      • _WIN32_IE = 0x0700
    5. Add the following to the compile flag:
      /D "_BIND_TO_CURRENT_VCLIBS_VERSION"
      

      This tells the compiler to use VS.2008 SP1 libraries and dlls.

    6. Merge the built EXE and DLL files with the manifest file.
    7. Update the connector source and remove references to obsolete MFC functions.
  4. Build the new connector for this release of CA IdentityMinder. Refer to Microsoft's web site if there are compilation errors.
  5. Deploy the connector.