Wednesday, December 08, 2004

Download details: Do-It-Yourself Script Center Kit

Download details: Do-It-Yourself Script Center Kit

"The Do-It-Yourself Script Center Kit includes all the materials you need to create your own version of the TechNet Script Center, either as stand-alone Web pages, stand-alone .vbs files, or as a .chm Help file. Included in the Kit are a database of all the scripts found in the TechNet Script Center Script Repository, as well helper scripts for creating Web pages, .vbs files, and .chm files. The Kit also includes instructions for using these helper scripts."

From the default.htm in the download;
"This help file contains all the scripts found in the TechNet Script Center (http://www.microsoft.com/technet/scriptcenter) as of November 5, 2004. Most of the scripts are designed to run with either Windows 2000, Windows XP, or Windows Server 2003, although many will also run on Windows NT 4.0 or Windows 98; in the latter two cases, however, you might need to install additional scripting technologies such as ADSI or WMI before the scripts will work. For more information about obtaining and installing ADSI, WMI, and the latest version of Windows Script Host (WSH 5.6), see the Script Center's Scripting FAQ. ..."

This is pretty darn cool. This kit gives you 2,214 scripts from MS's TechNet script center in a Access MDB. Also provided are vbs scripts to help you turn these scripts into web pages, stand-alone script files or into a Help/CHM file.

Very nice...

Update #1 12/8/2004 @ 9:37AM (PST):
There's a bug in the folder index maker script (used when you create a local, stand-alone web page script center), html_folder_index_maker.vbs. In the distributed file, "ScriptLanguage" is spelt wrong (ScriptLangauge).

Since the script begins with "on error resume next" you get stuck in an endless loop going no where and with no indication there's a problem (except for the script sucking up all available memory and no "default.htm" files being written out...).

Line 22, should read like;

objRecordSet2.Open "SELECT * FROM Scripts Where LocalPath = '" & objRecordset.Fields.Item("LocalPath") & "' AND ScriptLanguage = 'VBScript' ORDER BY Title", objConnection, adOpenStatic, adLockOptimistic

It's funny how much faster it runs with the query is right... :|

No comments: