Re: Running when XPe Starts
- From: "Darren Suprina" <dsuprina@xxxxxxxxxxxxx(donotspam).>
- Date: Wed, 4 May 2005 11:51:26 -0700
I'm somewhat new to XPe, and after searching this and other forums on the
Windows Embedded, I must admit that I haven't an understanding as to how to
tag a component so as to compel it to be executed, without user intervention,
immediately after the Second Boot but before anyone attempts a login.
(For a variety of reasons beyond the scope of this discussion, it is
important that the script I need execuited starts after the Second Boot. And
depending on user login to kick it off won't do, as the system being crafted
is intended for unattended operation.)
Is there a tutorial on the building of Components that act as Services when
XPe comes up? I think this would do the trick... but alas there didn't
appear to be a generic UserDefinedService .sld file I could use or extend.
Anyone care to post one?
Thanx -
-Darren-
"KM" wrote:
> Darren,
>
> Why just not set up FBA Generic Command that will launch the batch file like : "cmd.exe / C <patch_path.bat>"?
> You will have the control over the FBA phase for the command. It is going to be executed once. No user login relevance.
>
> --
> Regards,
> KM, BSquare Corp.
>
>
> > OK... refining my thoughts a bit...
> >
> > Is there a way - perhaps in the form of an already-created sample Component
> > - which will cause a command (such as a script) to be executed:
> > ž Once
> > ž After the FBA second boot (FBA phase 8501 - 12,000)
> > ž Without requiring a user to log in
> >
> > (Of course, after the 2nd boot, it's easy to get a script to execute only
> > once. The real trick seems to be how to get this done *before* the first
> > user login.)
> >
> > In essence, I'd like to accomplish some system configuration work outside
> > the scope of XPe (another OS), and have that work done prior to any user
> > login. If this can be accomplished, my entire appliance build process (save
> > the reseal and ghosting for duplication) will be completely automated: and
> > that would be great goodness ;-)
> >
> > Thanx -
> >
> > -Darren-
> >
> > "Martin Grossen, eMVP [AVNET Silica]" wrote:
> >
> > > Hi Paul
> > >
> > > Have a look into www.xpefiles.com.
> > > I have posted a Software component
> > > called "User Account Unlimited".
> > >
> > > This component starts a batch file late
> > > FBA phase 6005 (before second boot)
> > >
> > > You can take this component and use your own batch
> > > (or change the existing batch file in the Rep directory)
> > >
> > > But this will be started only once.
> > > (For configuration)
> > >
> > > If you want to start it at every boot up, use the
> > > solution from KM in the RUN keys.
> > >
> > > --
> > >
> > > Martin Grossen, eMVP
> > >
> > > AVNET EMG Silica
> > > Franchise Manager Microsoft Embedded Europe
> > >
> > > Your competent partner for Microsoft Embedded licencing
> > >
> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > >
> > > "Darren Suprina" <dsuprina@xxxxxxxxxxxxx(donotspam).> schrieb im Newsbeitrag
> > > news:2DD777DB-5018-49F2-BCCC-FD965BFDCEE5@xxxxxxxxxxxxxxxx
> > > > Can someone give me a hint as to how I configure an application to be
> > > > automatically be started when XPe starts? For example, I have created
> > > > c:\utilities\test.bat and would like to know how to configure the OS image
> > > > so
> > > > that when FBA finishes and the system reboots, by bat file will get kicked
> > > > off.
> > > >
> > > > Thanx -
> > > >
> > > > -Darren-
> > >
> > >
> > >
>
>
>
.
- Follow-Ups:
- Re: Running when XPe Starts
- From: KM
- Re: Running when XPe Starts
- References:
- Running when XPe Starts
- From: Darren Suprina
- Re: Running when XPe Starts
- From: Martin Grossen, eMVP [AVNET Silica]
- Re: Running when XPe Starts
- From: Darren Suprina
- Re: Running when XPe Starts
- From: KM
- Running when XPe Starts
- Prev by Date: Common XPe Issues
- Next by Date: Re: ITOX
- Previous by thread: Re: Running when XPe Starts
- Next by thread: Re: Running when XPe Starts
- Index(es):
Relevant Pages
|