Build Error with partition set to 4 and drive name set to D:

B

Boby George

I get the errors in the end, when I make the following changes in target
device settings. Default was partition(1) and C:, and this configuration
worked fine. Any suggestions?

Boot Drive: D:
Windows Folder: D:\WINDOWS
Program Files Folder: D:\Program Files
Documents and Settings folder: D:\Documents and Settings
Boot Arc Path: multi(0)disk(0)rdisk(0)partition(4)
Boot Partition Size: 1024
Partition Cluster Size: 4096

Thanks,

Boby


Building: "Standard Start Menu Shortcuts [Version 5.1.2600.3333, R3333]"...
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Games","Minesweeper.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Games","Internet Spades.lnk">": (Error
-2147024894 (0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Games","Internet Reversi.lnk">": (Error
-2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Games","Spider
Solitaire.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Games","Solitaire.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Games","Pinball.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Games","Internet Hearts.lnk">": (Error
-2147024894 (0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Games","Freecell.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Administrative
Tools","Services.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Administrative
Tools","Performance.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Games","Internet Checkers.lnk">": (Error
-2147024894 (0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Games","Internet Backgammon.lnk">": (Error
-2147024894 (0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Games","Hearts.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%53%\Start
Menu\Programs\Accessories\Accessibility","On-Screen Keyboard.lnk">":
(Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%53%\Start
Menu\Programs\Accessories\Accessibility","Narrator.lnk">": (Error
-2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%53%\Start
Menu\Programs\Accessories\Accessibility","Magnifier.lnk">": (Error
-2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "Wireless Network Setup Wizard
shortcut": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "Shortcut(819):
%16407%\Accessories\Entertainment "Sound Recorder"": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%53%\Start
Menu\Programs\Accessories\Accessibility","Utility Manager.lnk">": (Error
-2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%53%\Start
Menu\Programs\Accessories","Windows Explorer.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%53%\Start
Menu\Programs\Accessories","Command Prompt.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%53%\Start
Menu\Programs","Windows Media Player.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%53%\Start
Menu\Programs","Remote Assistance.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%53%\Start
Menu\Programs\Accessories","Synchronize.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%53%\Start
Menu\Programs\Accessories","Notepad.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Administrative
Tools","Local Security Policy.lnk">": (Error -2147024894 (0x80070002) in
"": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Accessories\Communications","Network Setup
Wizard.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Accessories\Communications","Network
Connections.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Accessories\Communications","NetMeeting.lnk">":
(Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Accessories\Communications","Remote Desktop
Connection.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Accessories\Communications","New Connection
Wizard.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Accessories\Communications","HyperTerminal.lnk">":
(Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Accessories","Paint.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Accessories","Calculator.lnk">": (Error
-2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%","Windows
Messenger.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Accessories\Accessibility","Accessibility
Wizard.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Accessories","WordPad.lnk">": (Error
-2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "Shortcut(819):"%16407%","Windows Movie
Maker.lnk"": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Administrative
Tools","Component Services.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Accessories\System Tools","System
Restore.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Accessories\System Tools","Scheduled
Tasks.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Administrative
Tools","Event Viewer.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Administrative
Tools","Data Sources (ODBC).lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Administrative
Tools","Computer Management.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Accessories\System Tools","Files and Settings
Transfer Wizard.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Accessories\Entertainment","Windows Media
Player.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Accessories\Entertainment","Volume
Control.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Accessories\System Tools","Disk
Defragmenter.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Accessories\System Tools","Disk Cleanup.lnk">":
(Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Accessories\System Tools","Character
Map.lnk">": (Error -2147024894 (0x80070002) in "": )
Building: "Standard Template Libraries (STL) [Version 5.1.2600.2180,
R2890]"...
 
K

KM

Boby,

Are you working with FP2007?

Let me guess, you don't have D: drive on your development machine with Documents and Settings folder there?
Similar issue I reported for FP2007 CTP1/2. Doesn't seem to have been fixed, though.

In FP2007 there is another way of dealing with file paths under Documents and Settings (don't ask me why).

XP Embedded Feature Pack 2007 Release Notes:
http://msdn2.microsoft.com/en-us/library/aa940744.aspx
Read "Setting the Path to Documents and Settings" section.

--
=========
Regards,
KM
I get the errors in the end, when I make the following changes in target device settings. Default was partition(1) and C:, and this
configuration worked fine. Any suggestions?

Boot Drive: D:
Windows Folder: D:\WINDOWS
Program Files Folder: D:\Program Files
Documents and Settings folder: D:\Documents and Settings
Boot Arc Path: multi(0)disk(0)rdisk(0)partition(4)
Boot Partition Size: 1024
Partition Cluster Size: 4096

Thanks,

Boby


Building: "Standard Start Menu Shortcuts [Version 5.1.2600.3333, R3333]"...
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Games","Minesweeper.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Games","Internet Spades.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Games","Internet Reversi.lnk">": (Error -2147024894 (0x80070002) in
"": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Games","Spider Solitaire.lnk">": (Error -2147024894 (0x80070002) in
"": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Games","Solitaire.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Games","Pinball.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Games","Internet Hearts.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Games","Freecell.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Administrative Tools","Services.lnk">": (Error -2147024894 (0x80070002)
in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Administrative Tools","Performance.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Games","Internet Checkers.lnk">": (Error -2147024894 (0x80070002) in
"": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Games","Internet Backgammon.lnk">": (Error -2147024894 (0x80070002) in
"": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Games","Hearts.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%53%\Start Menu\Programs\Accessories\Accessibility","On-Screen Keyboard.lnk">":
(Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%53%\Start Menu\Programs\Accessories\Accessibility","Narrator.lnk">":
(Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%53%\Start Menu\Programs\Accessories\Accessibility","Magnifier.lnk">":
(Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "Wireless Network Setup Wizard shortcut": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "Shortcut(819): %16407%\Accessories\Entertainment "Sound Recorder"": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%53%\Start Menu\Programs\Accessories\Accessibility","Utility Manager.lnk">":
(Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%53%\Start Menu\Programs\Accessories","Windows Explorer.lnk">":
(Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%53%\Start Menu\Programs\Accessories","Command Prompt.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%53%\Start Menu\Programs","Windows Media Player.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%53%\Start Menu\Programs","Remote Assistance.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%53%\Start Menu\Programs\Accessories","Synchronize.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%53%\Start Menu\Programs\Accessories","Notepad.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Administrative Tools","Local Security Policy.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Accessories\Communications","Network Setup Wizard.lnk">":
(Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Accessories\Communications","Network Connections.lnk">":
(Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Accessories\Communications","NetMeeting.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Accessories\Communications","Remote Desktop Connection.lnk">":
(Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Accessories\Communications","New Connection Wizard.lnk">":
(Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Accessories\Communications","HyperTerminal.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Accessories","Paint.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Accessories","Calculator.lnk">": (Error -2147024894 (0x80070002) in
"": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%","Windows Messenger.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Accessories\Accessibility","Accessibility Wizard.lnk">":
(Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Accessories","WordPad.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "Shortcut(819):"%16407%","Windows Movie Maker.lnk"": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Administrative Tools","Component Services.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Accessories\System Tools","System Restore.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Accessories\System Tools","Scheduled Tasks.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Administrative Tools","Event Viewer.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Administrative Tools","Data Sources (ODBC).lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Administrative Tools","Computer Management.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Accessories\System Tools","Files and Settings Transfer Wizard.lnk">":
(Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Accessories\Entertainment","Windows Media Player.lnk">":
(Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Accessories\Entertainment","Volume Control.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Accessories\System Tools","Disk Defragmenter.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Accessories\System Tools","Disk Cleanup.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Accessories\System Tools","Character Map.lnk">": (Error -2147024894
(0x80070002) in "": )
Building: "Standard Template Libraries (STL) [Version 5.1.2600.2180, R2890]"...
 
B

Boby George

KM,

I am working with OEM version of SP2 + FP2007. It is going to take
awhile to read the release notes at the link you sent me. I will try it
out. I didn't know about this issue.

Thanks,

Boby
 
B

Boby George

KM,

I just applied the first procedure from the release notes, which is to
set the *HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\ProfileList\ProfilesDirectory *key in Windows
Subsystem component to D:\Documents and Settings. But it doesn't seem to
resolve the problem. I still get the invalid resource error. And I guess
I do have the Documents and settings residing in the %SystemDrive%,
which is D: since I set my boot drive to D:

Am I running into a new problem? And it looks as if it is complaining
about shortcuts!

Building: "Standard Start Menu Shortcuts [Version 5.1.2600.3333, R3333]"...
Error 1004: Invalid resource: "<Shortcut(819):"%53%\Start
Menu\Programs","Windows Media Player.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%53%\Start
Menu\Programs\Accessories","Command Prompt.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%53%\Start
Menu\Programs","Remote Assistance.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%53%\Start
Menu\Programs\Accessories","Notepad.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Accessories\System Tools","Character
Map.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Accessories\System Tools","Disk Cleanup.lnk">":
(Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Accessories\System Tools","Disk
Defragmenter.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%53%\Start
Menu\Programs\Accessories","Synchronize.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%53%\Start
Menu\Programs\Accessories","Windows Explorer.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "Shortcut(819):
%16407%\Accessories\Entertainment "Sound Recorder"": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "Wireless Network Setup Wizard
shortcut": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Accessories\System Tools","Files and Settings
Transfer Wizard.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Accessories\Communications","HyperTerminal.lnk">":
(Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Accessories","Paint.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Accessories","WordPad.lnk">": (Error
-2147024894 (0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Accessories\Communications","Network
Connections.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Accessories\Communications","Remote Desktop
Connection.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Accessories\Entertainment","Volume
Control.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Accessories\Entertainment","Windows Media
Player.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Accessories\Communications","Network Setup
Wizard.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Accessories\Communications","New Connection
Wizard.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Administrative
Tools","Computer Management.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Administrative
Tools","Data Sources (ODBC).lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Administrative
Tools","Event Viewer.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Accessories\System Tools","Scheduled
Tasks.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Administrative
Tools","Component Services.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Administrative
Tools","Local Security Policy.lnk">": (Error -2147024894 (0x80070002) in
"": )
Error 1004: Invalid resource:
"<Shortcut(819):"%16407%\Accessories","Calculator.lnk">": (Error
-2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Administrative
Tools","Performance.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Administrative
Tools","Services.lnk">": (Error -2147024894 (0x80070002) in "": )
Building: "Standard Template Libraries (STL) [Version 5.1.2600.2180,
R2890]"...

Thanks,

Boby
 
K

KM

Boby,
I just applied the first procedure from the release notes, which is to set the *HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\ProfileList\ProfilesDirectory *key in Windows Subsystem component to D:\Documents and Settings. But it doesn't
seem to resolve the problem. I still get the invalid resource error. And I guess I do have the Documents and settings residing in
the %SystemDrive%, which is D: since I set my boot drive to D:

I actually meant the development machine. Do you have D: drive available at the build time on the development computer? Hpope that
drive (D:) is not a CDROM or etc but rather another partiton on a hard disk and it should have a Document&Settings folder there.
It may sound irrelevant but it is. TD scripts are checking sometimes for the drive letters on build machine locally.
Am I running into a new problem? And it looks as if it is complaining about shortcuts!


Maybe. 0x80070002 code means the sytem cannot find the file specified.
From the release notes it sounds a little bit different, though. (too bad they didn't mention if any TD build errors were there)

But my personal issue that I encountered with CTP1/2 was that if my build drive letter (the one where I had the toolkit and Windows
Embedded Images on) doesn't match the target drive some system component shortcuts get broken at run time (no build errors, though).
This tells me that there is some wierd procedure on how the shortcut target paths get resolved by TD during build time. Likely your
issue is another side effect of the same script code built-in TD (or likely into some component in database).

So my suggestion is to try to match the build drive letter to the target boot drive letter. Pretty hard restriction though :-(
Or you can ignore those errors and check the shortcuts at run time. I wonder if those are going to get created properly.

Btw, that error you may also see if something went wrong during XPe database upgrade to SP2 or FP2007.
Also, it may be seen in XPe tools install on a localized OS (non English).

--
=========
Regards,
KM

Building: "Standard Start Menu Shortcuts [Version 5.1.2600.3333, R3333]"...
Error 1004: Invalid resource: "<Shortcut(819):"%53%\Start Menu\Programs","Windows Media Player.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%53%\Start Menu\Programs\Accessories","Command Prompt.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%53%\Start Menu\Programs","Remote Assistance.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%53%\Start Menu\Programs\Accessories","Notepad.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Accessories\System Tools","Character Map.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Accessories\System Tools","Disk Cleanup.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Accessories\System Tools","Disk Defragmenter.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%53%\Start Menu\Programs\Accessories","Synchronize.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%53%\Start Menu\Programs\Accessories","Windows Explorer.lnk">":
(Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "Shortcut(819): %16407%\Accessories\Entertainment "Sound Recorder"": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "Wireless Network Setup Wizard shortcut": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Accessories\System Tools","Files and Settings Transfer Wizard.lnk">":
(Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Accessories\Communications","HyperTerminal.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Accessories","Paint.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Accessories","WordPad.lnk">": (Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Accessories\Communications","Network Connections.lnk">":
(Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Accessories\Communications","Remote Desktop Connection.lnk">":
(Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Accessories\Entertainment","Volume Control.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Accessories\Entertainment","Windows Media Player.lnk">":
(Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Accessories\Communications","Network Setup Wizard.lnk">":
(Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Accessories\Communications","New Connection Wizard.lnk">":
(Error -2147024894 (0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Administrative Tools","Computer Management.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Administrative Tools","Data Sources (ODBC).lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Administrative Tools","Event Viewer.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Accessories\System Tools","Scheduled Tasks.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Administrative Tools","Component Services.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Administrative Tools","Local Security Policy.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Accessories","Calculator.lnk">": (Error -2147024894 (0x80070002) in
"": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Administrative Tools","Performance.lnk">": (Error -2147024894
(0x80070002) in "": )
Error 1004: Invalid resource: "<Shortcut(819):"%16407%\Administrative Tools","Services.lnk">": (Error -2147024894 (0x80070002)
in "": )
Building: "Standard Template Libraries (STL) [Version 5.1.2600.2180, R2890]"...

Thanks,

Boby

Boby said:
KM,

I am working with OEM version of SP2 + FP2007. It is going to take awhile to read the release notes at the link you sent me. I
will try it out. I didn't know about this issue.

Thanks,

Boby
 
B

Boby George

KM,

I think I found the problem. I have 4 partitions on my target machine,
and partition 4 is my active partition, where I will be copying my XPe
image. Partition 2 and 3 are unreadable partitions by Windows, since it
contains some kind of encrypted data. So my assumption was that
partition 1 will be C: and partition 4 will be d:. But it looks like
partition 4 will be C: and partition 1 will be D: So now with this new
configuration I am installing the Documents and Settings to the same
system drive (c:). And it seems to build fine. So now my configuration
is boot drive c: and ARC path multi(0)disk(0)rdisk(0)partition(4). Now I
need to test it and see whether it works

Thanks,

Boby
 

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