USBboot.tbs throws Unexpected 'then' error

User discussion and information resource forum for scripting of TeraByte products using script lanugages such as TBScript, VBScript, Batch Files, and more.
Post Reply
click-click
Posts: 8
Joined: Thu Apr 18, 2013 11:27 am

USBboot.tbs throws Unexpected 'then' error

Post by click-click »

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'
..

@c:\usbboot\NtdPatch>[/spoiler]

I haven't tried booting yet.
Eric
Posts: 224
Joined: Mon Sep 05, 2011 6:53 pm
Location: France

Re: USBboot.tbs throws Unexpected 'then' error

Post by Eric »

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.
Eric
Posts: 224
Joined: Mon Sep 05, 2011 6:53 pm
Location: France

Re: USBboot.tbs throws Unexpected 'then' error

Post by Eric »

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