>>I have been asked to create one of those auto run programs for a CD of demo software. The auto run program will simply display a window with the demo program names and corrisponding Install buttons.
>>
>>I would like to use VFP6 and a Top-Level-Form (hoping DCOM has been updated). Can I run a VFP6 EXE from a CD without first installing the runtime files if the runtime files are located on the CD?
>>
>
>You still need to install the VFP runtime files on the target system, as well as any ActiveX components, and need to tell VFP up front not to try writing its workfiles on the CD through the TMPFILES setting in CONFIG.FPW; I'd also turn off the resource file.
I don't think this is true. You can place the vfp dll's on the CD to get your Install.exe program to work. (VFP6enu.dll, vfp6r.dll and vfp6renu.dll and ofcourse foxtools.fll.) ActiveX I think will still need to be installed because of the registry thingamabob.
Create a file on the root of the cd called autorun.inf that reads this.
[autorun]
OPEN=INSTALL.EXE
ICON=WTINST.ICO
The first line is what you called your vfp exe and the seecond line
is for the icon in 'My Computer' window.
Big Down Side - It's deadly slow launching from a CD. We have switched to InstallShield.
- jim durkin
"The universe is a big place, perhaps the biggest." Kurt Vonnegut