ngen.exe at FBA stage

Posted: 06-17-2007, 01:54 PM
I am including a .Net application with my XP embedded image. Is there
a way to run ngen.exe automatically at FBA on my applications
assembly's?

Thanks

Reply With Quote

Responses to "ngen.exe at FBA stage"

Ethan Chen
Guest
Posts: n/a
 
RE: ngen.exe at FBA stage
Posted: 06-18-2007, 02:45 AM
Hi gommo,

The component ".NET Framework 2.0" includes ngen.exe will automatically
install at FBA stage.
--
Ethan
Advantech Co., Ltd.


"gommo" wrote:
> I am including a .Net application with my XP embedded image. Is there
> a way to run ngen.exe automatically at FBA on my applications
> assembly's?
>
> Thanks
>
>
Reply With Quote
gommo
Guest
Posts: n/a
 
Re: ngen.exe at FBA stage
Posted: 06-18-2007, 07:57 AM
Thanks Ethan,

But I'm after a way to run ngen.exe on my applications assemblys
during FBA.

On Jun 18, 11:45 am, Ethan Chen <EthanC...@discussions.microsoft.com>
wrote:
> Hi gommo,
>
> The component ".NET Framework 2.0" includes ngen.exe will automatically
> install at FBA stage.
> --
> Ethan
> Advantech Co., Ltd.
>
> "gommo" wrote:
> > I am including a .Net application with my XP embedded image. Is there
> > a way to run ngen.exe automatically at FBA on my applications
> > assembly's?
>
> > Thanks

Reply With Quote
Ethan Chen
Guest
Posts: n/a
 
Re: ngen.exe at FBA stage
Posted: 06-18-2007, 08:43 AM
Hi gommo,

If you want to execute your application at FBA stage, you can set "RunOnce
request" in the component --> Resources. There 3 flags you can set for
runonce request. I think flag 1 would fit your requirement.
0: Run.
The Run key is processed after every logon, either by the Explorer shell, if
it is present, or by First Boot Agent (FBA), if a custom shell, Command
shell, or Task Manager shell is used. If FBA processes this key, it does so
after every logon, not during first boot as it normally would. Typically,
this flag is used to load Systray applications, launch services in
executables, hide autostart applications, or hide background processes.

1: RunOnce. Default.
The RunOnce key is processed only once, by FBA, after Plug and Play device
enumeration and DLL registration processing have completed. The values of
this registry key are deleted from the registry after it is processed, so
that it will not run again. Typically, this flag is used when a reboot is
required, such as for a DLL or OCX registration, or for cleaning up a setup
or an uninstall.

2: RunOnceEx.
The RunOnceEx key is processed only once, by the Explorer shell, after the
first logon. The values of this registry key are deleted from the registry
after it is processed, so that it will not run again. If the Explorer shell
is not present, this key is ignored. Typically, this flag is used for a
process that runs only once, and that either cannot be run correctly by FBA
or requires the system to be fully operational.

You can reference to http://msdn2.microsoft.com/en-us/library/ms940034.aspx
Hope this helps you~
--
Advantech Co., Ltd.


"gommo" wrote:
> Thanks Ethan,
>
> But I'm after a way to run ngen.exe on my applications assemblys
> during FBA.
>
> On Jun 18, 11:45 am, Ethan Chen <EthanC...@discussions.microsoft.com>
> wrote:
> > Hi gommo,
> >
> > The component ".NET Framework 2.0" includes ngen.exe will automatically
> > install at FBA stage.
> > --
> > Ethan
> > Advantech Co., Ltd.
> >
> > "gommo" wrote:
> > > I am including a .Net application with my XP embedded image. Is there
> > > a way to run ngen.exe automatically at FBA on my applications
> > > assembly's?
> >
> > > Thanks
>
>
>
Reply With Quote
gommo
Guest
Posts: n/a
 
Re: ngen.exe at FBA stage
Posted: 06-18-2007, 12:13 PM
Thanks Ethan,

That looks exactly like what I'm after. I will look into it. I notice
you work for Advantech. Funnily enough I'm doing the image for an
Advantech TPC-660G screen. Are you familiar with this model, as I'm
having some issues with the Penmount nonPnP touchscreen driver?

Thanks

On Jun 18, 5:43 pm, Ethan Chen <EthanC...@discussions.microsoft.com>
wrote:
> Hi gommo,
>
> If you want to execute your application at FBA stage, you can set "RunOnce
> request" in the component --> Resources. There 3 flags you can set for
> runonce request. I think flag 1 would fit your requirement.
> 0: Run.
> The Run key is processed after every logon, either by the Explorer shell, if
> it is present, or by First Boot Agent (FBA), if a custom shell, Command
> shell, or Task Manager shell is used. If FBA processes this key, it does so
> after every logon, not during first boot as it normally would. Typically,
> this flag is used to load Systray applications, launch services in
> executables, hide autostart applications, or hide background processes.
>
> 1: RunOnce. Default.
> The RunOnce key is processed only once, by FBA, after Plug and Play device
> enumeration and DLL registration processing have completed. The values of
> this registry key are deleted from the registry after it is processed, so
> that it will not run again. Typically, this flag is used when a reboot is
> required, such as for a DLL or OCX registration, or for cleaning up a setup
> or an uninstall.
>
> 2: RunOnceEx.
> The RunOnceEx key is processed only once, by the Explorer shell, after the
> first logon. The values of this registry key are deleted from the registry
> after it is processed, so that it will not run again. If the Explorer shell
> is not present, this key is ignored. Typically, this flag is used for a
> process that runs only once, and that either cannot be run correctly by FBA
> or requires the system to be fully operational.
>
> You can reference tohttp://msdn2.microsoft.com/en-us/library/ms940034.aspx
> Hope this helps you~
> --
> Advantech Co., Ltd.
>
> "gommo" wrote:
> > Thanks Ethan,
>
> > But I'm after a way to run ngen.exe on my applications assemblys
> > during FBA.
>
> > On Jun 18, 11:45 am, Ethan Chen <EthanC...@discussions.microsoft.com>
> > wrote:
> > > Hi gommo,
>
> > > The component ".NET Framework 2.0" includes ngen.exe will automatically
> > > install at FBA stage.
> > > --
> > > Ethan
> > > Advantech Co., Ltd.
>
> > > "gommo" wrote:
> > > > I am including a .Net application with my XP embedded image. Is there
> > > > a way to run ngen.exe automatically at FBA on my applications
> > > > assembly's?
>
> > > > Thanks

Reply With Quote
Ethan Chen
Guest
Posts: n/a
 
Re: ngen.exe at FBA stage
Posted: 06-20-2007, 03:22 AM
Hi gommo,

If you include Installer into your image, you can simply install the touch
driver like desktop PC unless you don't use explorer shell.
--
Ethan Chen
Advantech Co., Ltd.


"gommo" wrote:
> Thanks Ethan,
>
> That looks exactly like what I'm after. I will look into it. I notice
> you work for Advantech. Funnily enough I'm doing the image for an
> Advantech TPC-660G screen. Are you familiar with this model, as I'm
> having some issues with the Penmount nonPnP touchscreen driver?
>
> Thanks
>
> On Jun 18, 5:43 pm, Ethan Chen <EthanC...@discussions.microsoft.com>
> wrote:
> > Hi gommo,
> >
> > If you want to execute your application at FBA stage, you can set "RunOnce
> > request" in the component --> Resources. There 3 flags you can set for
> > runonce request. I think flag 1 would fit your requirement.
> > 0: Run.
> > The Run key is processed after every logon, either by the Explorer shell, if
> > it is present, or by First Boot Agent (FBA), if a custom shell, Command
> > shell, or Task Manager shell is used. If FBA processes this key, it does so
> > after every logon, not during first boot as it normally would. Typically,
> > this flag is used to load Systray applications, launch services in
> > executables, hide autostart applications, or hide background processes.
> >
> > 1: RunOnce. Default.
> > The RunOnce key is processed only once, by FBA, after Plug and Play device
> > enumeration and DLL registration processing have completed. The values of
> > this registry key are deleted from the registry after it is processed, so
> > that it will not run again. Typically, this flag is used when a reboot is
> > required, such as for a DLL or OCX registration, or for cleaning up a setup
> > or an uninstall.
> >
> > 2: RunOnceEx.
> > The RunOnceEx key is processed only once, by the Explorer shell, after the
> > first logon. The values of this registry key are deleted from the registry
> > after it is processed, so that it will not run again. If the Explorer shell
> > is not present, this key is ignored. Typically, this flag is used for a
> > process that runs only once, and that either cannot be run correctly by FBA
> > or requires the system to be fully operational.
> >
> > You can reference tohttp://msdn2.microsoft.com/en-us/library/ms940034.aspx
> > Hope this helps you~
> > --
> > Advantech Co., Ltd.
> >
> > "gommo" wrote:
> > > Thanks Ethan,
> >
> > > But I'm after a way to run ngen.exe on my applications assemblys
> > > during FBA.
> >
> > > On Jun 18, 11:45 am, Ethan Chen <EthanC...@discussions.microsoft.com>
> > > wrote:
> > > > Hi gommo,
> >
> > > > The component ".NET Framework 2.0" includes ngen.exe will automatically
> > > > install at FBA stage.
> > > > --
> > > > Ethan
> > > > Advantech Co., Ltd.
> >
> > > > "gommo" wrote:
> > > > > I am including a .Net application with my XP embedded image. Is there
> > > > > a way to run ngen.exe automatically at FBA on my applications
> > > > > assembly's?
> >
> > > > > Thanks
>
>
>
Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
sonic stage please help me Unregistered Overclocking and PC Modding 0 06-09-2008 11:24 AM
.NET 2.0 not installing - can't run ngen? David Creel Windows XP Embedded 8 09-01-2006 04:57 PM
NGEN.exe Alec Windows Vista Performance & Maintenance 0 07-31-2006 02:35 AM
Sonic Stage Help Renee Windows XP Music 3 01-18-2006 04:39 AM
Sonic Stage MS Coleman Windows XP Music 3 12-09-2003 07:36 PM


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90