Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

VBScripting in the FBA

2 views
Skip to first unread message

Grabher Günter

unread,
Apr 1, 2004, 1:40:30 PM4/1/04
to
Hi,

This topic was discussed under "VBScript not a valid win32 application".

Regards,
Günter

"mart" <anon...@discussions.microsoft.com> schrieb im Newsbeitrag
news:164BA00F-4A41-4EE4...@microsoft.com...
> I should clairify that i'sm using wscript


KM

unread,
Apr 1, 2004, 1:49:06 PM4/1/04
to
mart,

Yes, you can.

1. Make sure that "Windows Script Engines" (or better "Windows Script Engines - Hotfix Q824704") is in your image. For you custom
component it is better to set a dependency on the "Windows Script Engines - Hotfix Q824704".

2. Make sure you properly call your script (right command like "wscript.exe //B ...") from "Generic FBA Command" and the FBA phase
should be set to a value that is bigger than the FBA Phase value of "Windows Script Engines - Hotfix Q824704" component resources
(4500, AFAIK).

3. There is a registry bug of the wscript component which may not be relevant to your problem now. However, search this NG archive
for more info.

--
KM,
BSquare Corporation

Sean Liming (eMVP)

unread,
Apr 1, 2004, 2:25:33 PM4/1/04
to
Mart,

I have an example of running VB scripts during FBA in Chapter 15 of my book.
Use FBA Generic comand to run the script. Set File path to wscript.exe and
arguments to the path of the VB script file.

Regards,

Sean Liming
XP Embedded Manager
A7 Engineering (www.a7eng.com)
Author: Windows XP Embedded Advanced and Windows NT Embedded Step-by-Step

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell
Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


"mart" <anon...@discussions.microsoft.com> wrote in message
news:DBF63905-F9F3-49E2...@microsoft.com...
> Is it possible to run a VB Script in the first boot agent? so far i've
come up out of luck.
> I'm trying to execute a program with it and use sendkeys to walk through
it.
>


0 new messages