G
Guest
Hi,
I try several actions at the end of FirstBoot (phase > 8500) that I execute
with
a FBAGeneric Command (path: cmd.exe, arg: /c <MyStuff>). My stuff being:
-Rename my LAN connections (through aVB script)
-Change mounted drives (diskpart + command file)
But they all unexplainably failed.
Until I started to use "/k <MyStuff>" as argument to echo some stuff and try
the action manually in case it failed.
Example:
path : cmd.exe
arg : /k echo ChangeMounts && diskpart /s mount.txt
It fails but the cmd -window remain, soI try the same command, and then it
works. And all the other FBAGeneric command that followed also
unexplainably succeeded.
Why??
I think it has something to do with cetain services that were not yet
started when the command was first called.
Can anyone confirm this and if so please offer a way to wait for these
services.
Thijs
I try several actions at the end of FirstBoot (phase > 8500) that I execute
with
a FBAGeneric Command (path: cmd.exe, arg: /c <MyStuff>). My stuff being:
-Rename my LAN connections (through aVB script)
-Change mounted drives (diskpart + command file)
But they all unexplainably failed.
Until I started to use "/k <MyStuff>" as argument to echo some stuff and try
the action manually in case it failed.
Example:
path : cmd.exe
arg : /k echo ChangeMounts && diskpart /s mount.txt
It fails but the cmd -window remain, soI try the same command, and then it
works. And all the other FBAGeneric command that followed also
unexplainably succeeded.
Why??
I think it has something to do with cetain services that were not yet
started when the command was first called.
Can anyone confirm this and if so please offer a way to wait for these
services.
Thijs