Emdedded Studio questions: registry edit, adding dependencies, re-importing components

M

MReich

Hello,

Following up and elaborating on a question asked in a previous post:
From: MReich ([email protected])
Subject: Evaluating XPe, Hello World problem executing on target
Newsgroups: microsoft.public.windowsxp.embedded
Date: 2003-08-20 14:12:04 PST


Five questions:

1. Should the write option, in the key edit dialogue box, TD or CD,
advanced properties, be set to 'always write the value', which is
the default, or to ' always edit the value'? For example:

Suppose that one wants to extend the HelloWorld tutorial to run on a
target and wants to have the explorer shell auto boot the
application. Or, more generally, to have any app auto run. Then,
the run key would be set to the apps executable.

key name:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
key value: %24%\XPE_tut\HELLOWORLD.EXE


2. Why does TD default to addding so many registry keys?

TD allows registry data to be added only at the top level, under
'Extra Registry Data', which is reasonable. And attempting to add a
key results in key added one at a time. The advenced mode warning
dalogue box is superflous. However, attempting to the RUN key to
HelloWorld in CD automatically adds 17 keys, all under the desired
RUN key, and the OPTION sub key. The first is the desired blank
key, the rest duplicate keys on the desktop, which is also the
target as scanned by TAP. Is CD dulicating the desktop or the
scanned target keys? Why this default?


3. Adding dependancies to components. Under what conditions would
one add a dependency under the 'Windows XP Embedded Client',
'dependencies' item? HelloWorld requires VB 6.0. I added it to
HelloWorld.sld using CD under the HelloWorld component, 'component
or group dependencies' item.


4. What is required to re-import with repository file copying?

After revising the existing HelloWorld component, I attempted to
update the component in the component database by re-importing it as
described in Windows Embedded Studio Help, Concepts guide, item
Component Database. Doing so using the Component Database Manager,
exclusive mode, import sld, with 'copy files to resository root'
checked produced the following result:

Copying 'HelloRepository' repository files to
\\NTCMA08\Repositories\{1FBC23D6-B5FA-439F-B54C-292A3048B85C}
Error: Cannot delete repository files in the target folder. Please
make sure you have write access to the files.

The following files have not been imported
C:\XPE_tut\HelloWorld.sld

File(s) Processed : 1, File(s) Succeeded : 0


Attempting to delete the component, and the associated repository,
then import again, failed with the same messsage. Import only worked
without copying files to the repository. Then it worked multiple
times.

What is required to re-import with repository file copying? The
component originally had repository files copied, as per the tutorial.


5. Why does the target take at least two minutes to respond after
clicking on 'Restart' in the Explorer shell shut down dialogue box?
 
S

Slobodan Brcin

5. Why does the target take at least two minutes to respond after
clicking on 'Restart' in the Explorer shell shut down dialogue box?

Just to test if we have the same problem. After boot don't touch your device
for three minutes. And after that period try rebooting it. It should go
instantly.

Slobodan
 

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