BUG: Installation of Image from Target Designer Fails If Target Path Is Set to the Root of the Target Media (267372)



The information in this article applies to:

  • Microsoft Windows NT Embedded 4.0

This article was previously published under Q267372

SYMPTOMS

An attempt to use Target Designer to install an image into the root drive of the target media fails. There are two possible failure modes:
  • The installation process fails immediately. -or-

  • An attempt to clone the system fails, depending on the Target Path setting.

RESOLUTION

There is no known, reliable way to work around this problem.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

This problem can easily be reproduced as follows:

Assume that you want to install Windows NT Embedded 4.0 to a removable hard disk (the following examples use drive D) that becomes the boot disk of the target device. Format drive D.

Scenario 1:

In Target Designer, specify the Target Path as D:\.

Result 1:

Although drive D has been freshly formatted, a message box appears stating:

The target directory D:\ is not empty. Do you want to delete all files and subdirectories?

If you click Yes to confirm, another message box appears:

The target directory D:\ is the root directory of the drive. Deleting this directory will delete all files stored on D:, which can make your development system unusable if operating system files are also stored on this drive. Are you sure you want to delete the root directory on D:?

If you again click Yes to confirm, the following error messages are added to the status list box:
ERROR: Failed to delete directory D:\
Install Failed
Scenario 2:

Again after formatting the disk, open Target Designer. Specify the Target Path as D:.

Result 2:

The results are the same as in Scenario 1, except that the second message does not appear:

The target directory D:\ is the root directory of the drive. Deleting this directory will delete all files stored on D: which can make your development system unusable if operating system files are also stored on this drive. Are you sure you want to delete the root directory on D:?

Scenario 3:

As before, after formatting the disk, open Target Designer. Specify the Target Path as D.

Result 3:

The image files are properly copied to the D drive. However, when the installation process wants to clone the target, the following error messages are added to the status list box:
ERROR: This device does not recognize the command
Install Failed

Modification Type:MinorLast Reviewed:12/27/2003
Keywords:kbbug kbnofix KB267372