Jump to content

AutoIt error


Recommended Posts

Hi,

I'm trying to get this on an usb-stick /Verbatim STORE N GO, 8GB): Win7 Pro 64Bit, BartPE, PartedMagic (iso). After clicking GO I get this error "Line7657 (file folder and name) Subscript used with non Array-variable.

WinSetupFromUSB_1-0-beta7 ends up at this point (log-file):


2011/07/09 12:37:21- WinSetupFromUSB 1.0 beta7 started
2011/07/09 12:37:21- OS: WIN_7 Architecture type: X64 ServicePack: Service Pack 1 OS Language: 0407
2011/07/09 12:37:21- Program directory: E:\SetupFiles
2011/07/09 12:37:21- Getting USB drives information
2011/07/09 12:37:21- Show all drives option is NOT selected, displaying USB drives only
2011/07/09 12:37:21- Verbatim STORE N GO USB Device
2011/07/09 12:37:21- DeviceID: \\.\PHYSICALDRIVE2
2011/07/09 12:37:21- PNPDeviceID: USBSTOR\DISK&VEN_VERBATIM&PROD_STORE_N_GO&REV_PMAP\07A61C0929769218&0
2011/07/09 12:37:21- Partitions count: 2
2011/07/09 12:37:21- Disk--Partition: Disk #2, Partition #0
2011/07/09 12:37:22- Logical Disk: F: File system: FAT32 Primary: True
2011/07/09 12:37:22- Disk--Partition: Disk #2, Partition #1
2011/07/09 12:37:22- Drive letter of the selected partition- F:
2011/07/09 12:37:22- Drive letter of the first primary partition in selected disk- F:
2011/07/09 12:37:22- Disk number of the selected disk- 2
2011/07/09 12:37:22- PNPId of the selected disk- USBSTOR\DISK&VEN_VERBATIM&PROD_STORE_N_GO&REV_PMAP\07A61C0929769218&0
2011/07/09 12:37:22- File system type of the selected partition- FAT32
2011/07/09 12:37:22- Disk type of the selected disk- Removable
2011/07/09 12:37:22- Total target size avialable- 7616 MB
2011/07/09 12:37:22- Checking sizes...
2011/07/09 12:37:22- Total source size- 0 MB
2011/07/09 12:37:22- Target space available- 7616 MB
2011/07/09 12:37:30- Launching RMPrepUSB
2011/07/09 12:38:20-
2011/07/09 12:38:20-
2011/07/09 12:38:20- RMPrepUSB closed
2011/07/09 12:38:25- Flushing disk cache to \\.\F:
2011/07/09 12:38:25- FlushFileBuffers Output: 1
2011/07/09 12:38:26- CloseHandle Output: 1
2011/07/09 12:38:26- Getting USB drives information
2011/07/09 12:38:26- Show all drives option is NOT selected, displaying USB drives only
2011/07/09 12:38:26- Verbatim STORE N GO USB Device
2011/07/09 12:38:26- DeviceID: \\.\PHYSICALDRIVE2
2011/07/09 12:38:26- PNPDeviceID: USBSTOR\DISK&VEN_VERBATIM&PROD_STORE_N_GO&REV_PMAP\07A61C0929769218&0
2011/07/09 12:38:26- Partitions count: 2
2011/07/09 12:38:26- Disk--Partition: Disk #2, Partition #0
2011/07/09 12:38:26- Logical Disk: F: File system: FAT32 Primary: True
2011/07/09 12:38:26- Disk--Partition: Disk #2, Partition #1
2011/07/09 12:38:26- Drive letter of the selected partition- F:
2011/07/09 12:38:26- Drive letter of the first primary partition in selected disk- F:
2011/07/09 12:38:26- Disk number of the selected disk- 2
2011/07/09 12:38:26- PNPId of the selected disk- USBSTOR\DISK&VEN_VERBATIM&PROD_STORE_N_GO&REV_PMAP\07A61C0929769218&0
2011/07/09 12:38:26- File system type of the selected partition- FAT32
2011/07/09 12:38:26- Disk type of the selected disk- Removable
2011/07/09 12:38:26- Total target size avialable- 7617 MB
2011/07/09 12:38:26- Checking sizes...
2011/07/09 12:38:26- Total source size- 0 MB
2011/07/09 12:38:26- Target space available- 7617 MB
2011/07/09 12:39:05- Checking sizes...
2011/07/09 12:39:05- Total source size- 0 MB
2011/07/09 12:39:05- Target space available- 7617 MB
2011/07/09 12:39:16- Checking sizes...
2011/07/09 12:39:16- Total source size- 3128.9 MB
2011/07/09 12:39:16- Target space available- 7617 MB
2011/07/09 12:39:16- Vista source selected- E:\SetupFiles\Win7
2011/07/09 12:39:19- Checking sizes...
2011/07/09 12:39:19- Total source size- 3128.9 MB
2011/07/09 12:39:19- Target space available- 7617 MB
2011/07/09 12:39:32- Checking sizes...
2011/07/09 12:39:32- Total source size- 3673.9 MB
2011/07/09 12:39:32- Target space available- 7617 MB
2011/07/09 12:39:32- PE source selected- E:\SetupFiles\UBCD4Win\BartPE
2011/07/09 12:39:36- Checking sizes...
2011/07/09 12:39:36- Total source size- 3673.9 MB
2011/07/09 12:39:36- Target space available- 7617 MB
2011/07/09 12:39:39- Checking sizes...
2011/07/09 12:39:40- Total source size- 3816.9 MB
2011/07/09 12:39:40- Target space available- 7617 MB
2011/07/09 12:39:40- PartedMagic source selected- E:\SetupFiles\PartedMagic\pmagic-5.10.iso
2011/07/09 12:39:52- Flushing disk cache to \\.\F:
2011/07/09 12:39:52- FlushFileBuffers Output: 1
2011/07/09 12:39:52- CloseHandle Output: 1
2011/07/09 12:39:52- Removing TEMP folder
2011/07/09 12:39:52- Flushing disk cache to \\.\F:
2011/07/09 12:39:52- FlushFileBuffers Output: 1
2011/07/09 12:39:52- CloseHandle Output: 1
2011/07/09 12:39:52- Checking if grub4dos is installed properly
2011/07/09 12:39:52- grub4dos MBR and files are NOT installed properly
2011/07/09 12:39:52- Flushing disk cache to \\.\F:
2011/07/09 12:39:52- FlushFileBuffers Output: 1
2011/07/09 12:39:52- CloseHandle Output: 1
2011/07/09 12:39:53- Installing grub4dos MBR and files
2011/07/09 12:39:53- Flushing disk cache to \\.\F:
2011/07/09 12:39:53- FlushFileBuffers Output: 1
2011/07/09 12:39:53- CloseHandle Output: 1
2011/07/09 12:39:53- Backing up MBR of disk #2
2011/07/09 12:39:53- E:\SetupFiles\files\grub4dos\grubinst.exe -v --skip-mbr-test -s=mbrdisk2-20110709-123720.dat -t (hd2)
2011/07/09 12:39:54-
2011/07/09 12:39:54- Start sector: 0x0
Image type: MBR
Num of heads: 255
Sectors per track: 63
Partition table
bt h0 s0 c0 fs h1 s1 c1 base leng
80 01 01 00 0C FE FF CC 3F EE834E
00 00 C1 CD 21 00 FF CD EE838D 3F
00 00 00 00 00 00 00 00 0 0
00 00 00 00 00 00 00 00 0 0
Install mode
Read only mode

2011/07/09 12:39:56- Backed up MBR of disk #2
2011/07/09 12:39:56- Installing grub4dos MBR to (hd2)
2011/07/09 12:39:56- Launching grubinst.exe -v (hd2)
2011/07/09 12:39:56-
2011/07/09 12:39:56- Start sector: 0x0
Image type: MBR
Num of heads: 255
Sectors per track: 63
Partition table
bt h0 s0 c0 fs h1 s1 c1 base leng
80 01 01 00 0C FE FF CC 3F EE834E
00 00 C1 CD 21 00 FF CD EE838D 3F
00 00 00 00 00 00 00 00 0 0
00 00 00 00 00 00 00 00 0 0
Install mode

2011/07/09 12:39:56- Launching touchdrv.exe F:
2011/07/09 12:39:57-
2011/07/09 12:39:57-
2011/07/09 12:40:01- Flushing disk cache to \\.\F:
2011/07/09 12:40:03- FlushFileBuffers Output: 1
2011/07/09 12:40:03- CloseHandle Output: 1
2011/07/09 12:40:03- Checking for grldr string in MBR of disk #2
2011/07/09 12:40:03- Launching E:\SetupFiles\files\grub4dos\grubinst.exe -v --skip-mbr-test -s=mbrdisk2-20110709-123720check.dat -t (hd2)
2011/07/09 12:40:03-
2011/07/09 12:40:03- Start sector: 0x0
Image type: MBR
Num of heads: 255
Sectors per track: 63
Partition table
bt h0 s0 c0 fs h1 s1 c1 base leng
80 01 01 00 0C FE FF CC 3F EE834E
00 00 C1 CD 21 00 FF CD EE838D 3F
00 00 00 00 00 00 00 00 0 0
00 00 00 00 00 00 00 00 0 0
Install mode
Read only mode

2011/07/09 12:40:05- Saved MBR of disk #2
2011/07/09 12:40:06- Grub4dos MBR found
2011/07/09 12:40:09- Copying grldr to F:
2011/07/09 12:40:09- Copying usbdrive.tag to F:
2011/07/09 12:40:09- Copying menu.lst to F:
2011/07/09 12:40:09- Copying default to F:
2011/07/09 12:40:09- Copying plpbt.bin to F:
2011/07/09 12:40:09- grub4dos installed
2011/07/09 12:40:09- Preparing PE source

All files are stored on an attached disk (eSATA). OS is Win 7 64Bit SP1 and runs on a DELL vostro 3500 with 8GB memory.

I didn't yet find a solution in the posts covering this issue. Maybe it is sufficient to copy the folders with the programs I like to install to the stick at this point (as grub4dos seems to be installed properly)?

Thanks for any help.

Regards

Link to comment
Share on other sites


Are there any files in E:\SetupFiles\UBCD4Win\BartPE\ ? Not in the subfolders, in BartPE. If not- put a dummy file, empty or whatever, doesn't matter.

Seems like a bug, will be fixed, thanks for feedback.

Link to comment
Share on other sites

Hi,

thanks for your quick reply. There are a couple of files in E:\SetupFiles\UBCD4Win\BartPE like autorun.inf, bootfont.bin, win5lip and win5lip.sp3 while the last two are empty files.

And thanks for your tool!

Regards.

Link to comment
Share on other sites

Yes, it happens even when I only chose BartPE.

There are empty subdirectories: BCDW, images, isolinux and syslinux. After adding a file to every of this folders it works now. I'll tell you if the prgram has completed without errors and the stick is bootable.

Thanks so far!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...