Deploying images
The easiest way to deploy an image (if you are not using a CF card which can be easily removed from the target device) is to use the Windows PE environment from Target Designer CD1. Using Windows PE you can deploy the image via a network share very easy.
Prequisits
Target Designer CD1
Network Share which contains your XP Embedded image
DHCP Server to assign an IP to WinPE
Deployment
Connect the target device to the same network as the development machine.
Boot Windows PE from Target Designer CD1.
Use ipconfig to check if you have received a valid IP address.
Map a network drive to the development machines share using the following command
net use N: \<IP of development machine> /User:domainusername
Enter the password if required.
Run diskpart to prepare the target disk.
To create a single primary partition on the first disk in the target disk use the following commands
SELECT DISK 0
CLEAN
CREATE PARTITION PRIMARY
ACTIVE
ASSIGN LETTER=C
EXIT
Format the previous created partition
format c: /fs:ntfs /q /y
Copy the image from the network share to the target device
xcopy N:*.* C: /H /E /Y /V /C
Reboot
Now you have successfully transfered the image from the development machine to the target device and it should boot correctly.
You can of course automate the commands from above by using a batchfile and a diskpart file. You can run diskpart with the /S parameter to specify a scriptfile.
Written by Wolfgang Unger
October 3, 2008 at 17:08
Posted in Windows XP Embedded
Leave a comment