Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I run a VFP6 app from a CD?
Message
De
14/12/1999 22:57:35
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00300122
Message ID:
00303879
Vues:
20
>>>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.
>

So do some of the VFP runtime components. there is no requirement that the files reside in a particular directory; the ones that are registered must reside where they were registered, and non-registered components must be somewhere on the Windows search path. The same rules apply to ActiveX components.

There is a serious consequence to not putting the components on the local system, since there are entries in the registry that point to them. Not having the components where the registry says they are will make things break. Not having the components in a writable location makes it difficult to upgrade those components at best - for example, new runtime components were needed when VS SP3 was released. Additionally, other components may rely on those registry entries when they register or install; things like the MFC runtime DLLs. YMMV.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform