S
steve
I'm having a problem executing a batch file to change some registry settings
like hostname, ip configuration stuff.
The .bat file works fine when ran from a command line after the target
system has been built, but it fails when I built it as a component into the
image of target machine.
I tried adding a RunOnce Resource to the component and setting the
appropriate properties to execute the batch file. I also set the build
order to 8510. When I did this, in the middle of "Installing PNP Devices"
it gave me a Windows Script Host error
"Can't find script engine "VBScript" for script ... ".
So I realize that Windows Script Host has not been installed yet. And then
a few minutes later I notice a box saying "Processing RunOnce Items" which
is where I'd like to have my component execute, or even after that. Simply,
I want to execute a command after the whole image has been built. You help
is much appreciated.
Steve
like hostname, ip configuration stuff.
The .bat file works fine when ran from a command line after the target
system has been built, but it fails when I built it as a component into the
image of target machine.
I tried adding a RunOnce Resource to the component and setting the
appropriate properties to execute the batch file. I also set the build
order to 8510. When I did this, in the middle of "Installing PNP Devices"
it gave me a Windows Script Host error
"Can't find script engine "VBScript" for script ... ".
So I realize that Windows Script Host has not been installed yet. And then
a few minutes later I notice a box saying "Processing RunOnce Items" which
is where I'd like to have my component execute, or even after that. Simply,
I want to execute a command after the whole image has been built. You help
is much appreciated.
Steve