Click to See Complete Forum and Search --> : help!! or i'm fired!! make a install program??
April 19th, 1999, 10:58 AM
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??
Paul McKenzie
April 19th, 1999, 11:25 AM
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
raul
April 19th, 1999, 11:26 AM
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.
ValerieB
April 19th, 1999, 11:31 AM
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
val@synthcom.com
delbert Harry
April 19th, 1999, 01:38 PM
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.
Alvaro
April 19th, 1999, 04:59 PM
To create an install program download Installer VISE (www.mindvision.com); it's simpler than InstallShield.
Alvaro
chris law
April 20th, 1999, 01:16 AM
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
Brett Liu
April 20th, 1999, 03:27 AM
please tell me how to add dumpbin in tools?
thanks
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.