I am distributing a small VB application on CD-ROM. Like many CD’s today, the application autorun’s when the CD is inserted. My problem comes when the CD is placed into a computer that doesn’t have the VB run-time libraries (specifically msvbvm60.dll) installed.
I have seen many other autorun CD-ROM’s that know whether or not the application’s supporting files have been installed on the computer. If they are, then the program runs like normal. If they aren’t, then the program exitsand launches Setup. I want (maybe need) to do the same for my application, how?
Including the code to check for the support files in the application is a Catch-22 situation, since the application won’t run without the support files it’s supposed to check for. The only other option I can think of is to put msvbvm60.dll onto the CD-ROM with the application, but this will only work if this DLL doesn’t need to be registered with Windows. Does it?