I think I found a problem with the BTS drivers add-on when run from a network drive. My ubcd4win directory is on a network drive (Samba server), the directory is y:\pebuilder319 (no spaces). I use pebuilder 3.19 (ZIP file), renamed the plugin folder, and downloaded the UBCD4Win and UBCD4WinBTSDrivers files and extracted them in the pebuilder directory. I put the driverpacks from driverpacks.net in the correct folders (not extracted), and ran pebuilder from Windows XP SP2 Pro, all according to the instructions on ubcd4win.com and the BTS driver instructions on this forum.
However, the resulting ISO failed to boot with the error that the system couldn't find aftx2k.sys in the textmode part of the boot process. This file indeed wasn't on the CD or in the BARTPE folder, but it was referenced in TXTSETUP.SIF. After some debugging I found out that the rename in plugin/BTSdrivers/driverpack_base/autorun9_BTSDrivers.cmd failed on some of the files with a permission denied error.
Some of the files in the driverpacks are marked read-only. Although renaming a read-only file works fine on the local NTFS partition, it fails on the network drive. I'm not sure if this is because of Samba or the Windows client, it doesn't occur locally on the Windows client or the Unix server.
Since 7za doesn't have an option to ignore the read-only attributes as far as I know, and I didn't want to modify the driverpacks, I added these lines to autorun9_BTSDrivers.cmd just after the driverpacks are extracted (just before 'renaming extra files'):
CODE
:: Remove read-only attribute since rename fails for read-only files on network shares and
:: some of the files in the BTS unattended archives are marked read-only.
attrib -r %strtemp%\*.* /s > NUL 2>&1
The ISO that I built after this modification worked without errors.
Alson