Application Distribution Process

The following list identifies the overall steps you need to follow to distribute a Visual FoxPro application:

  1. Create and debug the application using the Visual FoxPro development environment.

  2. Prepare and customize your application for the run-time environment. For details, see Preparation for Distributing Applications.

  3. Make sure your project includes all the necessary files for your application, including any resource files, graphics files, or templates. For more information about the types of files you can include in your application and how to include files, see Resource Files in Applications and How to: Include Files with Applications for Distribution.


    Required Runtime Files: Visual FoxPro requires inclusion of certain files in order for your runtime applications to function properly. The easiest way to include these files is by using a Windows Installer based tool for creating custom setups (such as InstallShield Express). By selecting the Microsoft Visual FoxPro 9.0 Runtime Libraries merge module, your setup contains the proper files necessary to run your custom Visual FoxPro 9.0 application. The core Visual FoxPro 9.0 merge module properly handles installation and registration for the following files:

    • vfp9r.dll

    • vfp9t.dll

    • vfp9renu.dll

    • msvcr71.dll

    • gdiplus.dll

      Msvcr71.dll and gdiplus.dll files are part of separate merge modules, but are included automatically because of their dependency with the Visual FoxPro 9.0 Runtime libraries. Gdiplus.dll is only installed on platforms prior to Windows 2000 (for example, Windows 98).

      If you require runtime support for an additional language, select the appropriate language merge module. These merge modules contain a specific language resource library (for example, vfp9rdeu.dll).

  4. Remove any restricted Visual FoxPro features or files from your application. Certain development environment features are not available in the run-time environment and need to be removed from your application. Make sure any files you plan to distribute meet the guidelines for redistributing files. For more information on restricted and distributable files, see Distributable and Restricted Visual FoxPro Features and Files.

  5. Build an application (.app), executable (.exe) file, or a COM component (automation server) with a .dll or .exe extension. For more information about building an application, see Compiling an Application.

  6. Create an installation package using a Windows Installer deployment program. For more information about creating installation packages, see Walkthrough: Creating a Visual FoxPro Application Setup Program Using InstallShield.


    The setup creation program you use must use Windows Installer technology to create a Setup program (.msi) or merge modules (.msm) that are compatible with Microsoft Windows Installer. The Windows 2000 Logo guidelines require that setup programs be based on Windows Installer technology.

  7. Package and distribute your application disks and any printed documentation. Depending on the setup creation program you use, the program might create the disk images for you, or you might need to copy the files to the distribution location manually. Consult the documentation for the setup creation program for more information.

See Also

© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic