>Is there a way of including WSH in a VFP project OR can anyone tell me what files are in WSH. Basically I need to distribute an EXE that uses WSH and I need to ensure that it has WSH available with minimal involvement from me.
>
>Thanks
Kev,
Let me cut right to the chase. The easiest way to determine if the WSH is installed is to check the registry under HKEY_CLASSES_ROOT for VBScript.RegExp. If this entry doesn't exist, it tells you two things. That either the WSH isn't installed, or if it is, it is not the most recent version. This object, is new to WSH 2.0.
What I do to install the latest version if it isn't there is to run the installation program from a post-setup executable in silent mode.
FWIW, I don't believe that you include it as part of a project, but you can include it and execute the installation program in your setup program.
George
Ubi caritas et amor, deus ibi est