Can you give a more precise example on how you modify TXTSETUP.SIF
Could you Install XP from USB in all three of your computer systems ?
Yes, I can install it for all three computers if I manually edit the TXTSETUP.SIF. Looking at the dplist.txt, MBRWiz.exe is reporting the correct list of drives in all three systems.
Since MBRWiz.exe is reporting the correct drive list, we can use the dplist.txt to manually edit the TXTSETUP.SIF.
For example, if the dplist.txt list the following:
Disk: 0 Size: 14G CHS: 1826 255 63
Pos MBRndx Type/Name Size Active Hide Start Sector Sectors DL Vol Label
--- ------ ---------- ---- ------ ---- ------------ ------------ -- ----------
0 0 07-NTFS 9.0G Yes No 63 18,426,492 C: BOOT
1 1 0F-EXTEND 5.3G No No 18,426,555 10,892,070 -- <None>
Disk: 1 Size: 238G CHS: 30401 255 63
Pos MBRndx Type/Name Size Active Hide Start Sector Sectors DL Vol Label
--- ------ ---------- ---- ------ ---- ------------ ------------ -- ----------
0 0 07-NTFS 238G Yes No 63 488,375,937 D: Data
Disk: 2 Size: 982M CHS: 125 255 63
Pos MBRndx Type/Name Size Active Hide Start Sector Sectors DL Vol Label
--- ------ ---------- ---- ------ ---- ------------ ------------ -- ----------
0 0 0E-FAT16X 982M Yes No 63 2,013,121 F: XP_INSTALL
and the user enters the following information for USB_XP_SETUP.cmd
XP Source Folder: D:\XP
XP Target Folder: C:
To edit the TXTSETUP.SIF manually, we have to use the dplist.txt to translate
D:\XP with the following steps:
1. Search the dplist.txt for
D: drive letter to determine the drive number (which disk 1). If it can't find it, then we know MBRWiz.exe failed for sure.
2. Once you know which drive letter, you look at the Pos column to determine the partition (which partition 0 meaning partition 1).
3. For the XP source folder, we already know it's
\XP.
Therefore, it will look like this:
SetupSourcePath = "\XP"
SetupSourceDevice = " \device\harddisk1\partition1"
So you need implement a search function to search a string in the dplist.txt.
Kenneth