autostart application in XPe

F

FCBfreak

Hi,

I would like to autostart a custom application right after boot up.

To accomplish this, is it always required to make components for the
application, integrate them into the image and create a custom shell
to launch it?

In my case, creating components in order for the program to autoload
isn't a self-evident process cause the main program resides on several
other programs.

Or is it also possibly to manage this afterwards (when XPe image is up
and running on target) by modifying the registry key
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run"
with the registry editor component?

Reference: http://msdn2.microsoft.com/en-us/library/ms940034.aspx

Thanks in advance.
 
S

Sean Liming \(eMVP\)

It is entirely up to you.

1. You can create a custom shell component.
2. Use a shell like Explorer and have the application start using the
Startup folder or use the run once key.

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental
Toolkit
 
F

FCBfreak

It is entirely up to you.

1. You can create a custom shell component.
2. Use a shell like Explorer and have the application start using the
Startup folder or use the run once key.

Regards,

Sean Limingwww.sjjmicro.com/www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental
Toolkit










- Tekst uit oorspronkelijk bericht weergeven -

Edit the run once key, is this before (in slx-configuration file) or
after the XPe runtime has been deployed to the target board (registry
editor)?

Or maybe both ways are possible...
 
S

Sean Liming \(eMVP\)

You can edit the key by - create a component with the key, in the SLX, or
after the image has gone through FBA.

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental
Toolkit
 
F

FCBfreak

You can edit the key by - create a component with the key, in the SLX, or
after the image has gone through FBA.

Regards,

Sean Limingwww.sjjmicro.com/www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental
Toolkit








- Tekst uit oorspronkelijk bericht weergeven -

I noticed adding a shortcut to the "startup" folder is the easiest way
to autostart an application.

Thanks for helping.
 
K

KM

I noticed adding a shortcut to the "startup" folder is the easiest way
to autostart an application.

The "Startup" folder items would only work if you used Explorer shell.
I thought you're talking about a custom shell app.
 

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