* Function: Is_WSH.prg * Author: George Tasker * Date: July 18, 2000 - 9:57 AM * Purpose: Is the Windows Script Host installed LOCAL llresult, loReg SET CLASSLIB TO Registry.vcx loReg = CREATEOBJECT("Registry") llresult = loReg.IsKey("VBScript.RegExp") RELEASE CLASSLIB Registry RETURN llresultThis determines if the WSH is installed. If not, then RUN /N SCR55EN.EXE /Q is executed. This runs the installation program for the WSH. I think, however, that SCR55EN is no longer available, and has been replaced by SCR56EN.EXE (which I think is still in beta).