Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Run From CD
Message
From
27/11/2001 17:45:32
 
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Title:
Miscellaneous
Thread ID:
00586117
Message ID:
00586693
Views:
29
> I was hoping that there was some command that would recognize the source drive, then allow me to simply place a UNC path to the executable. I know there are some CDs that I install (games for an example) where a shortcut is placed on the desktop or under Start, then when you click the shortcut, a message appears asking for the CD and pointing to the CD drive from which the program was initially installed.
>
> If Installshield does not support this functionality in the VFP7 version, perhaps the easiest solution is to simply write some directions on how to create a shortcut.

I've written a system under VFP that runs from the hard drive, but has much of its data residing on the CD. Here are some thoughts:

1) Remember that the support files, such as the VFP runtimes, must be installed (and in some cases registered) on the hard drive. Therefore, there will be files related to your program on the hard disk to begin with.

2) The program will have to know when it starts where the CD-ROM drive is, and how to identify the CD-ROM in it as the one it is looking for. The Registry can hold that information, receiving at install time.

3) Perhaps the best scenario would be to have a Desktop shortcut pointing to a small .exe on the hard drive (which could be just as well written in C, C++, C#, or VB, if you like) that would check the registry, check for a valid CD-ROM, and start the full application if all is well. InstallShield would have no problem at all setting up that scenario.

Any thoughts?
David M. Stowell
Ravenslake Consulting
Chicago, Illinois

e-mail: davidstowell@ravenslakeconsulting.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform