Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Applications Dependencies

Applications Dependencies

Scheduled Pinned Locked Moved Visual Basic
questionannouncement
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Schalk
    wrote on last edited by
    #1

    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

    N 1 Reply Last reply
    0
    • S Schalk

      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

      N Offline
      N Offline
      Nick Parker
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups