Prefast option.

Hi,

I enabled the prefast option using buildddk batch file from Hollistech but
my PC does not have Windows Scripting Host enabled.

Can anyone tell me what the easiest method is to enable/disable WSH? Why it
is needed for the prefast option?

Regards FarmerJo

Er - could you provide the command line you used, the output that resulted,
and why you think WSH is the problem?

On Sun, Apr 20, 2008 at 1:01 PM, FarmerJo wrote:

> Hi,
>
> I enabled the prefast option using buildddk batch file from Hollistech but
> my PC does not have Windows Scripting Host enabled.
>
> Can anyone tell me what the easiest method is to enable/disable WSH? Why
> it
> is needed for the prefast option?
>
> Regards FarmerJo
>
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>


Mark Roddy

Hi,

The command line I used was:-
ddkbuild.bat -WLHXP -prefast checked . -cZ

and the reported error was:-
.
1>DDKBUILD using WLH DDK in directory .
1> for chk version basedir c:\winddk\6001.18000 extension chk_wxp_x86
1> commandline: "prefast /log=.\prefast.xml build -e -MI -cZ "
1>CScript Error: Windows Script Host access is disabled on this machine. Contact your administrator for details.
.

Looking at this it suggests that I need to enable Windows Scrip Host etc. Would that be the case?

Regards FarmerJo

> CScript Error: Windows Script Host access is disabled on this machine.

Contact your administrator for details.
The first hit on google for

?Windows Script Host access is disabled on this machine?

is

http://www.microsoft.com/technet/scriptcenter/guide/sas_sbp_lhak.mspx?mfr=tr
ue

which explains everything, I gather.

From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of FarmerJo
Sent: Sunday, April 20, 2008 6:15 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] Prefast option.

Hi,
?
The command line I used was:-
ddkbuild.bat -WLHXP -prefast checked . -cZ
?
and the reported error?was:-
.
1>DDKBUILD using WLH DDK in directory .
1> for chk version basedir c:\winddk\6001.18000 extension chk_wxp_x86
1> commandline: "prefast /log=.\prefast.xml build -e -MI -cZ "
1>CScript Error: Windows Script Host access is disabled on this machine.
Contact your administrator for details.
.
?
Looking at this it suggests that I need to enable Windows Scrip Host etc.
Would that be the case?
?
Regards FarmerJo
?


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer