CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 8 of 8
  1. #1
    Guest

    help!! or i'm fired!! make a install program??

    huaaa.
    I have done a maravillosous program, and know, i've got to presented it to my boss. The problem is that it works with vc++ developed, but the exe doesn't work
    in other computers, needs dll files. How can i do a setup or install program or something similar to get it work in my boss's computer??


  2. #2
    Join Date
    Apr 1999
    Posts
    27,449

    Re: help!! or i'm fired!! make a install program??

    Quick answer:
    Rebuild the application, but statically link the MFC libraries. This saves a lot of headaches when it comes to the issues of:

    a) distributing the MFC DLL's to customers (in this case, your boss). You don't need to distribute the DLL's if the MFC code is statically linked into your app.

    b) Getting into hot water if your version of the MFC DLL overwrites an older/newer version of the MFC DLL's and the result is that you've broken all of your boss's other MFC apps.

    And on top of that, your distribution size for the app is much smaller!

    Regards,

    Paul McKenzie


  3. #3
    Join Date
    Apr 1999
    Posts
    9

    Re: help!! or i'm fired!! make a install program??

    you'got the basically the same problem that i have. i think all we have to know is what dll need our program, but i don't know how make it posible. When you have the solution, please, help me.


  4. #4
    Join Date
    Apr 1999
    Location
    Portland, OR, USA
    Posts
    18

    Re: help!! or i'm fired!! make a install program??

    You're probably missing at least one of the two following DLLs:
    * mfc42.dll
    * msvcrt.dll

    Try copying these files into the System32 directory on your boss' computer (take the ones from your VC++ installation). If either of those files already exist, it wouldn't hurt to make backups of them before copying over them. That should make your program start to work on his/her PC.

    As for installation programs... You can use InstallShield, but that makes a pretty large install and can take a while to learn. If nothing else, you can use WinZip to make a self-extracting EXE that contains all the files for your application.

    If that doesn't work, then there's a small shareware tool called InfTool that does installations. It's $39 and actually is a very handy tool. You can read up about it at http://inner-smile.com/dl_inf.htm.

    Good luck, and happy coding!

    Valerie Bradley
    http://www.synthcom.com/~val
    [email protected]

  5. #5
    Join Date
    May 1999
    Posts
    92

    Re: help!! or i'm fired!! make a install program??

    If what you are looking for is to package your software in an installation form, then you are going to have to invest in InstallShield 5.1 or higher. This identifies the dll's that need to be shipped with your program so that it works right. There was an older version that was shipped with vc4, but I don't know if it was shipped with any heigher version. If you can't do this then you may need to go to www.installshield.com and get a demo version and try that.


  6. #6
    Join Date
    Apr 1999
    Location
    Miami, FL
    Posts
    67

    Re: help!! or i'm fired!! make a install program??

    To create an install program download Installer VISE (www.mindvision.com); it's simpler than InstallShield.


    Alvaro

  7. #7
    Join Date
    May 1999
    Posts
    69

    Re: help!! or i'm fired!! make a install program??

    To see what dll's your program uses take a look at dumpbin!
    (I added it to the tools menu in vc)
    dumpbin /Imports target (or stg like that)

    hope this helps

    chrislaw

  8. #8
    Join Date
    Apr 1999
    Posts
    19

    Re: help!! or i'm fired!! make a install program??

    please tell me how to add dumpbin in tools?
    thanks



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

Featured