RunOnce configuration

D

Doug Gordon

I'm not entirely clear about how the RunOnce options work. My systems are
cloned using a manual fbreseal, followed by a shutdown on reboot, then
clone, etc. What I want is for a certain batch file (simple .bat) to run
during the first bootup on the cloned system. How can I configure this
within TD? Thanks.

Doug Gordon
 
S

Sherrie Beek

Hello,

I actually posted this in August and I found it and pasted
it into this reply for you as well (you can do searches in
the newsgroup too to help find answers...)


XP Embedded actually has several ways to accomplish this.
If you only want a batch file to run you can go directly
into Target Designer under your configuration and
select "extra files". You can add the batch file here.
If your file requires any registry data you can add it
here as well. Then you can add the Resource
called "RunOnce Request" for a program that needs to
execute at first boot of the run-time image and you
specify the filepath here as well.


You can also create a custom component in Component
Designer. Add the file.bat file to your component and
fill in the Add Component file resource box. Then you can
choose to add a resource called "RunOnce Request" This key
will run your batch file during First Boot of the run-time
image.

I hope this helps.

Sherrie Beek
Technical Trainer
Venturcom, Inc.
www.vci.com
 
K

KM

Doug,

There is a very good explanation about RunOnce in XPe docs.
RunOnce does not seem to be a good option for your situation.

When you do a manual fbreseal, can't you set up to run a batch file on next
boot?
I don't see the way to set it up within TD but you could automate this (to
run another .bat on next boot) within the batch file that does the manual
fbreseal.

KM

DG> I'm not entirely clear about how the RunOnce options work. My
DG> systems are cloned using a manual fbreseal, followed by a shutdown
DG> on reboot, then clone, etc. What I want is for a certain batch file
DG> (simple .bat) to run during the first bootup on the cloned system.
DG> How can I configure this within TD? Thanks.

DG> Doug Gordon
 

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