Extra files problem


G

Guest

Hi,
I want to add ad bootlogo.
For that I need to modify boot.ini and add a boot.bmp in the windows folder.

I have those files in a folder somewhere.
When I set the "extra files folder" in the options to that folder, my build
fails.
The error is :
An internal error ocurred while building the runtime image
code=0x800a0046
Description= The index specified does not reference an existing item in the
collection.

When I make the path empty again, the build succeeds, exept for the missing
extra files.

I am quite new to XPE, so sorry if this is a dumb mistake.

Greetings,
Rob.
 
Ad

Advertisements

M

MARTIN SPENCE

Rob,

Do not add the boot.ini as an extra folder - edit the boot.ini string in the
TD options page for the image (at the root level of the TD if I remember
rightly).

Here is a quick google search. You will still need the bootlogo swicth and
add the bmp to the windows file in your image.

Booting the Embedded Device Without the Splash Screen

Because you are building a device that has a customized shell, you may also
be interested in adding a final piece to the boot image of your device. By
default, a Windows XP Embedded device boots showing the Windows XP Embedded
splash screen. You can remove this screen by modifying the configuration
properties in Target Designer before the runtime is built. In Target
Designer, select the Settings item under your configuration. In the Details
pane, find Other Settings, and click Show under it. Select the Do not
display GUI boot screens check box and build your configuration.

This setting changes the ARC path for your runtime in the BOOT.INI to
include the /noguiboot switch. Your ARC path would look something like this:

multi(0)disk(0)rdisk(1)partition(1)\WINDOWS="Windows XP Embedded"
/fastdetect /noguiboot
 
G

Guest

Hi Martin,
Thanks for your response.
I found the setting, very nice, I already thought copying boot.ini was
fishy.....

This still does not explain the build-error when adding files.
I still need to add boot.bmp.
Any idea ?


Greetings,
Rob.
 
M

MARTIN SPENCE

I'm thinking that you need to create a component with a repository and the
file - either that or take the brute force and ignorance route and just copy
the file into the windows directory of the image before deploying it and
FBA. The second route is how I went to demonstrate the noguiboot and
bootlogo functionality

Good luck
 
G

Guest

Hi,
Sounds like a big hassle....
I am not familiar with "components" (yet).

In WINCE there is a "pre-makeimage buildstep" which can be used to call a
batchfile just before the image is built.
Is there any way to automatically run a batchfile as part of the
buildprocess in XPE ?

All I want is to automatically copy some files into the image.
I thought this "extra files" thing was meant for that, what else is it for ?

Greetings,
Rob.
 
Ad

Advertisements

K

KM

Rob,

No, XPe build process is very different from CE build. Maybe eventually XPe team will pick up Visual Studio's MSBuild system where
lots of things can be customized.

TD doesn't support calling a batch, CMD or WHS scripts at the end of the build process either.
If you really looking for automating operations during XPe build process, CMI is way to go but those interfaces are undocumented.
With FP2007 there is a tool though (xpecmd: http://msdn2.microsoft.com/en-us/library/aa940741.aspx) that can help you to automate
some things.

More details on the boot.ini changes during build you will find in this thread:
http://groups.google.com/group/micr...d/browse_thread/thread/89d19a650bf9dc63?hl=en
Or on this page:
http://km-dev.blogspot.com:80/2007/04/xpe-tip-28-bootini-extra-switches.html
 

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