XPe: How to run a script.vbs once the FBA completes?

G

Guest

I've been trying for days to run a script after the FBA completes without
luck. I have set phase to 4501 or 12001, changed from one component to two
and so on but nothing seems to work. Also tried Extra Resources.

My situation:
1. Need reg.exe and script.vbs to be copied to the image, to %10% for
instance.
2. Need to run wscript.exe script.vbs

I know I'm missing something, but what? My question would be, what's the
best way to go to acomplish this? Is it a component with/without
dependencies, or is it best to use a extra files and extra resources?

Thanks in advance
Ronel
 
G

Guest

Actually I forgot to say that the script works fine if I run it manually once
the FBA completes.
Also, I'm using XPe SP2

thks
 
G

Guest

Some more details:
FBA log shows exitcode 0x1
Tried runonce and FBA generic command (latest)
 
G

Guest

Sorry, I just want to provide as much information as possible:

The FBA log doesn't show the two files: reg.exe or script.vbs
 
G

Guest

Depends.exe tells me that I'm missing:
dbghelp.dll
msjava.dll
w32topl.dll

Tried a filter and no components contain any of these files.

HELP please!!??!!

thanks
Ronel
 
K

KM

Ronel,

Please lower your Min.visibility option in TD.
Depends.exe tells me that I'm missing:
dbghelp.dll

Primitive: Dbghelp, [Visibility=200]
msjava.dll

This is from MS Java VM which you will have to componentize by yourself (no component available in XPe).
w32topl.dll

Primitive: W32topl, [Visibility=200]
 
G

Guest

Well, first let me say thank you for your reply.

I tried everything you suggest, finally found the hidden components, etc.
Unfortunately, my script still doesn't work.

I moved the phase down to 8501, then up again to 12500, added dependencies
to windows script engines, then took it out and bla bla bla.

Nothing I do seems to run my script, Would you please guide me through the
steps needed?

Thank you.
Ronel


KM said:
Ronel,

Please lower your Min.visibility option in TD.
Depends.exe tells me that I'm missing:
dbghelp.dll

Primitive: Dbghelp, [Visibility=200]
msjava.dll

This is from MS Java VM which you will have to componentize by yourself (no component available in XPe).
w32topl.dll

Primitive: W32topl, [Visibility=200]
Tried a filter and no components contain any of these files.

HELP please!!??!!
 
K

KM

Ronel,

Could you let us know (show us) what FBA command you set up to run the script?
Also, please check (or post here) your \windows\fba\FBALog.txt file to see if the script gets called.

--
Regards,
KM, BSquare Corp.

Well, first let me say thank you for your reply.

I tried everything you suggest, finally found the hidden components, etc.
Unfortunately, my script still doesn't work.

I moved the phase down to 8501, then up again to 12500, added dependencies
to windows script engines, then took it out and bla bla bla.

Nothing I do seems to run my script, Would you please guide me through the
steps needed?

Thank you.
Ronel


KM said:
Ronel,

Please lower your Min.visibility option in TD.
Depends.exe tells me that I'm missing:
dbghelp.dll

Primitive: Dbghelp, [Visibility=200]
msjava.dll

This is from MS Java VM which you will have to componentize by yourself (no component available in XPe).
w32topl.dll

Primitive: W32topl, [Visibility=200]
Tried a filter and no components contain any of these files.

HELP please!!??!!

--
Regards,
KM, BSquare Corp.
:

I've been trying for days to run a script after the FBA completes without
luck. I have set phase to 4501 or 12001, changed from one component to two
and so on but nothing seems to work. Also tried Extra Resources.

My situation:
1. Need reg.exe and script.vbs to be copied to the image, to %10% for
instance.
2. Need to run wscript.exe script.vbs

I know I'm missing something, but what? My question would be, what's the
best way to go to acomplish this? Is it a component with/without
dependencies, or is it best to use a extra files and extra resources?

Thanks in advance
Ronel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top