Applications Dependencies
-
Hi, I have a relatively simple visual basic 6 application that consists of one executable. The program changes quite often and I don’t want to re-install it on every machine each time I make changes. What I’ve done before is instead of installing the application on users machines I only give them a shortcut that point to the executable. This makes changes to the program very easy, you just overwrite the executable and everybody has the updates. On most machines the program will work fine without having to install/register anything, sometimes though the program will need the crystal ocx installed or the data access components might not be the right version. The only way to make the shortcut to the application work on machines like this is to run the install set for the application, uninstalling it (leaving a shared files on the system) and the using the shortcut. Does anybody know how I can determine the applications dependencies and install it via a batch file perhaps? Cheers
-
Hi, I have a relatively simple visual basic 6 application that consists of one executable. The program changes quite often and I don’t want to re-install it on every machine each time I make changes. What I’ve done before is instead of installing the application on users machines I only give them a shortcut that point to the executable. This makes changes to the program very easy, you just overwrite the executable and everybody has the updates. On most machines the program will work fine without having to install/register anything, sometimes though the program will need the crystal ocx installed or the data access components might not be the right version. The only way to make the shortcut to the application work on machines like this is to run the install set for the application, uninstalling it (leaving a shared files on the system) and the using the shortcut. Does anybody know how I can determine the applications dependencies and install it via a batch file perhaps? Cheers
Once you have compiled your executable, if using the Visual Studio compiler it will create a list file with a .lst file extension to it. When you open this file you will find in the bootstrap section a list of all dependent files for the application and where they are to be installed to. I needed this information when I ran into a similar problem in which I created an application that checks the users file version again what the package will be installed with where you can run into versioning problems. Hope this helps. Nick Parker