Startup App without logging in

  • Thread starter Thread starter Darryl
  • Start date Start date
D

Darryl

This is my first post on these forums. I am changing over
to the Windows environment after having programmed another
platform for many years.

A little background about my App. We are using a PC104
terminal as a machine controller on the shop floor and we
do not want the machine operator to get access to the XP
desktop. We are going to display machine status messages.

Under Windows XP Embedded, how can I startup a program at
boot without having to login. I setup the system with one
account and set the "use welcome screen" option and it
works ok. The problem is that the desk top is visible for
a short period of time before the program starts.
 
Hello Darryl

Some inputs:

Use the "auto logon" component or a "minlogon" if you don't
want any user. (only system)

You can add your own application as the main shell.
Then, you can't see any "desktop" because your application is
the real desktop:


Before you start authoring a component for your custom shell, create a new
repository for your shell binary files. For information about creating a
repository, see Adding a New Repository in the Component Designer Guide.
To create a custom shell component

1.. Open Component Designer.
2.. From the File menu, choose New to create a new .sld file.
3.. Expand the platform node, right-click Components, and then choose Add
Component.
4.. In the details pane, type or choose the following properties for your
shell component:
a.. Name
b.. Description
c.. Prototype component. To select the prototype component, choose
Browse, in the Select Prototype Component dialog box, search for Shell
prototype component, and then choose OK.
5.. In the details pane, choose Advanced.
6.. In the Advanced Properties dialog box, choose Add.
7.. In the Extended Property dialog box, type the following information:
Name: cmiShellPath

Format: String

Value: Name of your shell application, for example,
%SystemRoot%\System32\cmd.exe

8.. Choose OK.
The properties you entered appear in the Advanced Properties dialog box.

9.. Choose OK.
10.. To add your shell component to a dependency group, in the SLD
browser, under your component, right-click Group Memberships, and then
choose Add Group Membership.
11.. In the Add Component Group Memberships dialog box, expand the
Dependencies node, and then search for the Shell group, and then choose OK.
12.. To add your shell component to a category, in the SLD browser, under
your component, right-click Group Memberships, and then choose Add Group
Membership.
13.. In the Add Group Memberships dialog box, expand the Categories node,
and then browse for Software\System\User Interface\Shells, and then choose
OK.
14.. From the File menu, choose Save, and then save the .sld file.
To import your custom shell component into the component database

1.. Run Component Database Manager.
2.. On the Database tab, choose Import.
3.. Browse for the .sld file, and then select it, and then choose Open.
4.. In the Repository root box, select the repository you created for your
shell component.
5.. Choose Import.
6.. After the import process has completed, choose Close.
To add your custom shell component to your configuration

1.. Run Target Designer.
2.. From the File menu, choose New, and then choose OK to open a new
configuration.
3.. In the component browser, browse to Software\System\User
Interface\Shells, and then add your new shell component to your
configuration.
You are now ready to add additional components to your configuration,
perform a dependency check, and then build your run-time image.


--

Martin Grossen

AVNET EMG Silica
FM/FAM Microsoft Embedded Europe

Your competent partner for Microsoft Embedded licencing

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
Back
Top