Results 1 to 14 of 14

Thread: How to debug a project?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2006
    Posts
    105

    How to debug a project?

    Iam having difficulties trying to figure out the bugs in my project. It works just fine and dandy on my machine, but whenever I give the exe to other people, the program just randomly closes without any error messages at all.

    How can I debug it?

  2. #2

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Aug 2006
    Posts
    105

    Re: How to debug a project?

    What should I include in the setup? It doesn't require any extra ocx files.

  4. #4
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Re: How to debug a project?

    I use the P&D Wizard that comes with VB but I don't suggest it any more since it may have some problems with Vista, but in any case like the Wizard I assume that Inno will automatically included what it needs except for standalone items like databases.

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Aug 2006
    Posts
    105

    Re: How to debug a project?

    So i don't need to include the

    Asycfilt.dll 2.40.4275.1 144 KB (147,728 bytes)
    Comcat.dll 4.71.1460.1 21.7 KB (22,288 bytes)
    Msvbvm60.dll 6.0.97.82 1.32 MB (1,386,496 bytes)
    Oleaut32.dll 2.40.4275.1 584 KB (598,288 bytes)
    Olepro32.dll 5.0.4275.1 160 KB (164,112 bytes)
    Stdole2.tlb 2.40.4275.1 17.5 KB (17,920 bytes)


    ?

  6. #6

  7. #7
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    Re: How to debug a project?

    I would think that these installation packages examine your project's .vbp file to determine what external files need to be added to the package. When installed on the recipient's PC the installation package does all the work of registering these compnents.


    Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.

  8. #8
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: How to debug a project?

    Inno Setup doesn't automatically detect what you need, but they provide documentation explaining what to do.

    There is a link to that documentation (and several other things you may find useful) in our Application Deployment FAQ

  9. #9

  10. #10
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    Re: How to debug a project?

    Seems like I once used one of these installation packages (can't remember the name and I don't see it around anymore) which did do all the work for you and auto included all the files needed. Also, it was programmable meaning you could make a custom installation package.

    NOTE: AFTER POST EDIT

    OK, the name was (is) InstallShield


    Anything I post is an example only and is not intended to be the only solution, the total solution nor the final solution to your request nor do I claim that it is. If you find it useful then it is entirely up to you to make whatever changes necessary you feel are adequate for your purposes.

  11. #11
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Re: How to debug a project?

    Quote Originally Posted by jmsrickland View Post
    Seems like I once used one of these installation packages (can't remember the name and I don't see it around anymore) which did do all the work for you and auto included all the files needed. Also, it was programmable meaning you could make a custom installation package.

    NOTE: AFTER POST EDIT

    OK, the name was (is) InstallShield
    Yes InstallShield is a nice program and I've used it myself when I worked, but it is expensive at $599 for the standard Windows version whereas both the P&D Wizard and Inno are free.

  12. #12
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: How to debug a project?

    Quote Originally Posted by MartinLiss View Post
    Yes InstallShield is a nice program and I've used it myself when I worked, but it is expensive at $599 for the standard Windows version whereas both the P&D Wizard and Inno are free.
    Just as Visual Studio 6.0 Installer 1.1 is, the tool Microsoft released shortly after VB6 as a replacement for the PDW to conform with emerging standards for Windows installations.

    The packaging tool: Visual Studio 6.0 Installer

    Updated merge modules: Merge Modules for Service Pack 6 for Visual Basic 6.0 and Visual C++ 6.0

    How to: How To Create a Visual Basic Installer Package with Visual Studio Installer

  13. #13
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Re: How to debug a project?

    Quote Originally Posted by dilettante View Post
    Just as Visual Studio 6.0 Installer 1.1 is, the tool Microsoft released shortly after VB6 as a replacement for the PDW to conform with emerging standards for Windows installations.

    The packaging tool: Visual Studio 6.0 Installer

    Updated merge modules: Merge Modules for Service Pack 6 for Visual Basic 6.0 and Visual C++ 6.0

    How to: How To Create a Visual Basic Installer Package with Visual Studio Installer
    Could you please describe how to use this?

  14. #14
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: How to debug a project?

    There are some pretty good writeups out there that describe basic use via the Visual Basic Installer Wizard. One of these is Introducing Visual Studio Installer.

    Other useful articles might be Getting Started with Visual Studio Installer and Considerations for Choosing Visual Studio Installer.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width