Archive: VB file Dependencies


VB file Dependencies
I have found the information regarding how to install the VB runtime files, but how do I get my vb application file dependencies and how do I put them into an NSIS script? An example process and script would be extremely helpful!! Thanks in advance!!!


First try using something like Dependency Walker. This tiny
utility helps you to reveal as much dependencies to other files/libraries as possible. Eventually you'll need to locate
the necessary files on your system, include them into your script
and probably register them during the install process with UpgradeDLL macro or similar functions (RegDLL). This worked perfectly for me
(I'm using VB5). Sorry, but I couldn't find the homepage of Dependency Walker.

Kypec


I am confused...even more than before. I've used 3 methods of finding the dependencies for my VB application...and all 3 gave me different results. Which do I choose????? Below are my results:

Package & Deploy
MSSTDFMT.DLL
MSHFLXGD.OCX
Mscomct2.ocx
MSCOMCTL.OCX
COMDLG32.OCX
Tabctl32.ocx

Dependency Walker
ADVAPI32.DLL
GDI32.DLL
KERNEL32.DLL
MSVBVM60.DLL
OLE32.DLL
OLEAUT32.DLL
USER32.DLL

File Dependency Sniffer
advapi32.dll
comdlg32.dll
comdlg32.ocx
mscomct2.ocx
mscomctl.ocx
mshflxgd.ocx
msvbvm60.dll
tabctl32.ocx
user32.dll
vba6.dll

Any pointers from anyone????


I am using VB too, and I'm tring to find out a better way to package my VB apps.
I usd installshield, but is big and Hard to Use,and it CAN not make all Dependency files out(for example: I have app in Chinese laguange,so file like VB6CHS.DLL we need but it not package for me)
if use Package & Deploy, it can gen all Dependency for u, but It can't NOT handle some errors during the End-User-Installing
Now I wanna to Use NSIS, I thinks it may a very good tool for VB apps isntall but How to get the right Dependency files is a problem


when you generate a package with vb, there is a file "SETUP.LST" generated. it containes all the file dependencies, all the files that are installed with your application. i am getting the dependencies from that file. it worked for me.

hope it helps.


Don't forget this useful application:
http://nsis.sourceforge.net/archive/...php?pageid=162