Click to See Complete Forum and Search --> : App Installer Package


Askia Boly
August 12th, 2001, 11:52 AM
Hello together,
Could someone help telling me how to make an Installer package of my VB App that include all needed files to make it run properly on other Windows machines.
Thanks.
Askia.

Cakkie
August 13th, 2001, 01:21 AM
You can use the Application Package Wizard (VB5) or the Package and deployment wizard (VB6). When creating the install package, they will detect which files the program needs (it reads the refferences). If there are files where no refference is made to (like a database), you have the opertunity to add them manually. Both programs come with the named versions of VB.

Tom Cannaerts
slisse@planetinternet.be

Programming today is a race between software engineers striving to build bigger and better idot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook

gena
August 13th, 2001, 02:35 AM
Hi!
Don't trust Packagers of both versions. Don't trust any Installation generators (I've checked a lot of them). Always there is chance that you omitted something. One of examples: VB project (not executable !!) doesn't have reference to connection/report designers runtime DLLs.
So you may find useful:
1. Run dependency walker (one of Visual Studio tools) on youe exe and ensure that you have in package all DLLs of at least the first level of dependency.
2. Check what Data objects your program uses and include in the package the whole mdac_typ. This related to my last advice
3. Check if your program will be installed on the OS other than your's. If so, check what files in your package are different on different OS. For example, mdac_typ contains file oledb32a.dll, that is needed only on Win98. So if your design OS is NT - you'll never include this file.

Hope, it helps.
Regards,
Gennady

Askia Boly
August 13th, 2001, 05:31 AM
Hello Together,
Best thanks to all for the tips.
Sincerely.
Askia.