Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class Definition *wscript.shell* not found
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00357525
Message ID:
00357770
Views:
16
>>>You'll have to download windows scripting host for '98.
>>
>>Do you know what products reliably install WSH?
>>
>>It is kind of hit-and-miss here, too. I have been unable to use it much because some of my apps are installed outside of my domain in other NT-secure domains, where I cannot get admins to install WSH (they are not supposed to install anything unapproved).
>>
>>For example, does IE5 install it, or Win2K, or maybe Win98SE?
>

The only things that guarentee WSH 2.0 are Win2K or the current download from the MS scripting site. Win98 included it, but its installation could be intentionally blocked, as could optional installation via IE or the NAT 4 option pack.

>Win2k does it, Bruce. I think Win98SE as well. However, I believe that IE5 doesn't. From what I recall, if the system doesn't have it, and you're running IE 5, then you need to unistall IE 5, install IE 4, then re-install IE 5. It comes with IE 4. Of course, given the above, it'd be a lot easier just to do an install from the files at the MS site. One of the files you can check for is the wscript.exe file in the windows directory. There's also cscript.exe (which provides the console compliment to wscript.exe). While it's not a 100% reliable indication, the presence of this file can be used as an indicator. If it's not present, then WSH hasn't been installed. If it is, then the registry can be used to confirm its presence. I think just looking for the a key with the .vbs extension under HKEY_CLASSES_ROOT, might be next or looking in the SYSTEM directory for VBSCRIPT.DLL.
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
Previous
Reply
Map
View

Click here to load this message in the networking platform