I checked my latest build. The registry looks good for my phase 12098 and
12099 FBA commands. They execute as phase 11999.1 and 11999.2 apparently.
The FBA log file clearly shows them executing at the wrong time.
Arrrg. This explains so much.
Yup.
Please! Does anyone know how to get Manual Reseal and FBA phase>12000
commands to work?
--
Regards.
Mark K Vallevand
Mark,
I agree with the "if" statement you drew below
Anyway, if you can't get FBA working properly with the post-reseal
commands, consider having your command in a self-cleaning batch
file that will execute whatever you need included something like
reboot.exe.
On one of my systems I ended up with similar solution (that was not
because of the FBA issues, though).
--
Regards,
KM, BSquare Corp.
So,
if { manualReseal && phase>12000 ) maybeIssues = true;
Could some of the issues be executing the FBA commands out-of-order?
I'll check the registry after I rebuild with my latest changes. I have
several commands that I need to execute after reseal when a cloned image
is
first booting. After all of these commands have completed, I want to
commit
and restart. On the headless device I'm using, this should only look
like a
slow first boot, which all customers are aware of. They won't know that
there might be a reboot happening. When they can see the device is
actually
running after this first boot, they know subsequent boots will be quick.
--
Regards.
Mark K Vallevand
Mark,
This is what I mentioned by "some known issues".
IIRC, if you set up a manual reseal, there are some weird behavior
(call
time) of the command with phases >= 12000.
I don't recall exactly now what were the odds but your one sounds
similar
to what we have seen.
Anyway, you would probably need to play with it by yourself a bit.
Always check FBALog to see when your command got called. Also, watch
on
[HKLM\CurrentControlSet\Control\WindowsEmbedded\FBA]
subkeys. You will see your command there.
--
Regards,
KM, BSquare Corp.
Great. Thanks to both responders.
I just noticed something odd. The FBA Generic Command I have at
phase
12099
is executing during the initial FBA. I thought that 12000 and
higher
were
executed after the fbreseal if you set cmiResealPhase to 0 in the
System
Cloning Tool component.
What am I missing?