Click here to Skip to main content
15,893,622 members
Articles / Desktop Programming / ATL

Debugging Custom DLLs with InstallShield for MSVC 6.0 Professional

Rate me:
Please Sign up or sign in to vote.
4.60/5 (5 votes)
29 May 200312 min read 79.4K   903   24  
This article explains how to develop, integrate, and debug custom DLLs using InstallShield's CallDLLFx function.
  • debugis_src.zip
    • FtpServerDemo.zip
    • My Installations
      • Blank Setup
        • Component Definitions
        • File Groups
        • Media
          • Default
            • Disk Images
              • disk1
        • Registry Entries
        • Script Files
        • Setup Files
          • Compressed Files
            • 0009-English
              • Intel 32
              • OS Independent
            • Language Independent
              • Intel 32
              • OS Independent
          • Uncompressed Files
            • 0009-English
              • Intel 32
              • OS Independent
            • Disk1
            • Language Independent
              • Intel 32
              • OS Independent
            • LastDisk
            • Other
        • Shell Objects
        • String Tables
          • 0009-English
        • Text Substitutions
      • DataLink
      • FTP Server API
        • Component Definitions
        • File Groups
        • Media
          • Default
            • Disk Images
              • disk1
            • Log Files
            • Report Files
          • New Media
            • Log Files
            • Report Files
        • Registry Entries
        • Script Files
        • Setup Files
          • Compressed Files
            • 0009-English
              • Intel 32
              • OS Independent
            • Language Independent
              • Intel 32
              • OS Independent
          • Uncompressed Files
            • 0009-English
              • Intel 32
              • OS Independent
            • Disk1
            • Language Independent
              • Intel 32
              • OS Independent
            • LastDisk
            • Other
        • Shell Objects
        • String Tables
          • 0009-English
        • Text Substitutions
      • GreatProduct
      • GreatProduct2
        • Component Definitions
        • File Groups
        • Media
          • Default
            • Disk Images
              • disk1
            • Log Files
            • Report Files
        • Projects
          • ActiveX_Control
            • Debug
            • ReleaseMinSize
            • ReleaseUMinDependency
          • GreatProduct
            • Debug
            • Release
            • res
          • IS_StartProg
            • Debug
            • Release
        • Registry Entries
        • Script Files
        • Setup Files
          • Compressed Files
            • 0009-English
              • Intel 32
              • OS Independent
            • Language Independent
              • Intel 32
              • OS Independent
          • Uncompressed Files
            • 0009-English
              • Intel 32
              • OS Independent
            • Disk1
            • Language Independent
              • Intel 32
              • OS Independent
            • LastDisk
            • Other
        • Shell Objects
        • String Tables
          • 0009-English
        • Text Substitutions
This ZIP file contains a demonstration of how to use custom DLLs within
an InstallShield application.  The free version of InstallShield that
comes with Microsoft Visual C++ 6.0 Professional is the version that
this demo is intended to work with.

THE FOLLOWING STEPS SHOULD BE FOLLOWED IN ORDER TO SUCCESSFULLY BUILD
THE SETUP PROGRAM.

1. Unzip the following files using folder names to "C:\"  The InstallShield
setup project requires this directory.

2. You will need to build the projects in the GreatProduct.dsw workspace
located in the "C:\My Installations\GreatProduct" folder.  Do this before
attempting to building the setup program.  Choose "Batch Build..." from 
the Build menu and press the "Rebuild All" button to compile all the 
applications.

NOTE:  The resource for the GreatProduct application requires an ActiveX
control provided in the folder, "ActiveX_Control."  Make sure the control
is built BEFORE trying to view the resource file.

3. After building the applications, you can build the setup application.
To build the setup program, double click the "GreatProduct.IPR"
InstallShield project located in the "C:\My Installations\GreatProduct"
folder.

First, compile the setup script (Ctrl + F7 or Build->Compile)
Next, choose the Build->Media Build Wizard menu option to build the 
setup.  Choose the "default" media build and BE SURE to do a FULL build
instead of a quick one.  Otherwise, just take all the defaults by pressing
Next.

IMPORTANT
You may need to rebuild the release build for IS_StartProg project because
the InstallShield application sometimes deletes the DLL generated by 
Visual C++.

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions