>Has anybody figured out a clean way to install Windows Script Host (in older OSs like Win95) using the *&$*#! native MS installer (VFP 6) so that WSH can be used later in the install process for things like adding a desktop icon?
Not here. But you could run a post-setup program that checks for it.
Check the article in VFUG (starting in Sept '00 issue) by George Tasker and Ed Rauh.
www.vfug.orgThe following is an excerpt, check the VFUG newsletter for more.
To tell wether WSH 2.0 is installed:
SET CLASSLIB TO REGISTRY.VCX
oReg = CREATEOBJECT("Registry")
? oReg.IsKey("VBScript.RegExp")
The article tells you how to do what you want and what the pitfalls are.
BTW, VFP7 will bring Install Shield Lite as a better installer.
HTH