Hi Firebladeboy,
I investigated a lot on this one year ago. I also opened a case with
Microsoft. IMAGEX has a /scroll option that should do what you need, the
problem is that this option doesn't work at all. Microsoft recognized that
this is a BUG in imagex and would be fixed in next release. Maybe you can
try the imagex version coming with Windows Server 2008 AIK (I've not tryed).
Basically the problem is due to the fact that any console application
StdOut.Read included) are done whenever the buffer is full. Because the
output of imagex is very small, this happens only when the execution
completes and the buffer get flushed. If I could have the source code of
imagex, I could fix it in 30 seconds, simply adding a buffer flush command
after every output. Unfortunately imagex is not open source.
There's no way to solve this problem with imagex. Even if you redirect
output to a file, the file get written only upon program termination.
The only solution I found is write (from scratch) a program in C++ and using
the WIMGAPI to manage the WIM files. This works pretty good. If you want to
use an HTA, the only solution I know is SmartWIM (it's an ActiveX that does
the same job of imagex and more), but you should pay for it (I never tryed
it anyway).
-- Massimo
"firebladeboy" <firebladeboy@discussions.microsoft.com> ha scritto nel messaggio news

1044789-7BDF-4CD6-9580-12D2B6E9F340@microsoft.com...