Switch to full style
User discussion and information resource forum for scripting of TeraByte products using script lanugages such as TBScript, VBScript, Batch Files, and more.
Forum rules
Post a reply

USBboot.tbs throws Unexpected 'then' error

Wed Oct 07, 2015 5:06 am

I downloaded USBBoot 2.32 (June 15, 2015) TBS script to enable booting 2K, XP,W7,W8,W10 from USB. from the Additional Items section and ran the Enable Windows Already Installed on a USB Drive to Boot option (TBOSDT Professional v1.161a). Everything ran fine except at the end when the script ended with an abort.

[spoiler] Processing installation...
NTDETECT.COM 04-08-04 05:00 => 07-02-05 01:36 Updating!
Update complete!
Reading USB drivers...
TeraByte OSD Tool Script 4.19
Searching for HD2 Partition (01)...
Processing Installation HD2 Partition (1)\Windows...
System found: Microsoft Windows XP Service Pack 3 x86
Backing-up System registry...Complete
Backing-up Software registry...Complete
Installing IDE drivers...
Operation successful: IDE drivers have been installed
Setting HAL file halaacpi.dll... HAL has been changed to halaacpi.dll

Operation completed.

** Abort **
Script: c:\usbboot\usbboot.tbs (line 2694)
Reason: Unexpected 'then'


I haven't tried booting yet.

Re: USBboot.tbs throws Unexpected 'then' error

Wed Oct 07, 2015 5:37 am

Corrected here. We'll send you the new version for you to finish the process.
On your system, the process is not ended, so you won't be able to boot. You'll just have to run the new script on your system. No need to restore the backup.

Re: USBboot.tbs throws Unexpected 'then' error

Wed Oct 07, 2015 7:55 am

You can download the new usbboot.zip from the additional items: it has the script corrected.
Post a reply