Jump to content

How to install Windows from USB- WinSetupFromUSB with GUI


Recommended Posts

I have been unable to get Smartepants' OEM SLP Activator to work with any of the 1.0 betas of WinSetupFromUSB, though it does work with v.23 if I copy the win51* files into the root of the USB drive as well as the individual XP setup folder(s) on the drive. Has anyone else run into this problem? Anyone have a solution?

TIA

Link to comment
Share on other sites


I have been unable to get Smartepants' OEM SLP Activator to work with any of the 1.0 betas of WinSetupFromUSB, though it does work with v.23 if I copy the win51* files into the root of the USB drive as well as the individual XP setup folder(s) on the drive. Has anyone else run into this problem? Anyone have a solution?

TIA

Can you provide a link to that activator?
Link to comment
Share on other sites

I guess you'd need to figure out what exactly that addon does and what paths it uses, thus what has to be changed in order to support different paths.

Maybe good idea to ask where it's being developed. I have no clues, sorry.

Link to comment
Share on other sites

I kept getting "Null hard disk number value during grub4dos MBR install" error, I tried ticking the "Do not check for and install grub4dos" in advance option still get the error.

However I dont get the error when I try making the usb on another computer, anyone know why?

Link to comment
Share on other sites

2010/04/22 16:30:17- WinSetupFromUSB 1.0 beta6 started
2010/04/22 16:30:17- OS: WIN_XP Architecture type: X86 ServicePack: Service Pack 3 OS Language: 0409
2010/04/22 16:30:17- Program directory: F:\____temp\WinSetupFromUSB
2010/04/22 16:30:17- Getting USB drives information
2010/04/22 16:30:17- Show all drives option is NOT selected, displaying USB drives only
2010/04/22 16:30:17- TOSHIBA TransMemory USB Device
2010/04/22 16:30:17- DeviceID: \\.\PHYSICALDRIVE0
2010/04/22 16:30:17- PNPDeviceID: USBSTOR\DISK&VEN_TOSHIBA&PROD_TRANSMEMORY&REV_6.51\0DD0757001F35ABF&0
2010/04/22 16:30:17- Partitions count: 1
2010/04/22 16:30:17- Disk--Partition: Disk #0, Partition #0
2010/04/22 16:30:17- Logical Disk: D: File system: NTFS Primary: True
2010/04/22 16:30:17- WD Ext HDD 1021 USB Device
2010/04/22 16:30:17- DeviceID: \\.\PHYSICALDRIVE1
2010/04/22 16:30:17- PNPDeviceID: USBSTOR\DISK&VEN_WD&PROD_EXT_HDD_1021&REV_2002\574341563541303436333933&0
2010/04/22 16:30:17- Partitions count: 1
2010/04/22 16:30:17- Disk--Partition: Disk #1, Partition #0
2010/04/22 16:30:17- Logical Disk: F: File system: NTFS Primary: True
2010/04/22 16:30:17- Drive letter of the selected partition- D:
2010/04/22 16:30:17- Drive letter of the first primary partition in selected disk- D:
2010/04/22 16:30:17- Disk number of the selected disk- 0
2010/04/22 16:30:17- PNPId of the selected disk- USBSTOR\DISK&VEN_TOSHIBA&PROD_TRANSMEMORY&REV_6.51\0DD0757001F35ABF&0
2010/04/22 16:30:17- File system type of the selected partition- NTFS
2010/04/22 16:30:17- Disk type of the selected disk- Removable
2010/04/22 16:30:17- Total target size avialable- 3791 MB
2010/04/22 16:30:17- Checking sizes...
2010/04/22 16:30:17- Total source size- 0 MB
2010/04/22 16:30:17- Target space available- 3791 MB
2010/04/22 16:30:18- Checking sizes...
2010/04/22 16:30:18- Total source size- 0 MB
2010/04/22 16:30:18- Target space available- 3791 MB
2010/04/22 16:30:23- Checking sizes...
2010/04/22 16:30:23- Total source size- 681.4 MB
2010/04/22 16:30:23- Target space available- 3791 MB
2010/04/22 16:30:23- Windows source selected- F:\____temp\winxp.mine
2010/04/22 16:30:23- Windows version- XPp
2010/04/22 16:30:23- Service Pack- Windows XP Professional Service Pack 3
2010/04/22 16:30:23- Windows source- F:\____temp\winxp.mine
2010/04/22 16:30:23- Windows version- XPpSP3
2010/04/22 16:30:23- Service Pack- SP3
2010/04/22 16:30:23- AMD64 flag- 0
2010/04/22 16:30:23- Boot menu name- Windows XP Professional SP3
2010/04/22 16:30:25- Removing TEMP folder
2010/04/22 16:30:25- Checking if grub4dos is installed properly
2010/04/22 16:30:25- grub4dos MBR and files are NOT installed properly
2010/04/22 16:30:25- Installing grub4dos MBR and files
2010/04/22 16:30:25- Fatal error! Bad hard disk number value during grub4dos MBR install, something went wrong, aborting!
2010/04/22 16:30:26- Removing TEMP folder
2010/04/22 16:30:26- ---------------------------------Program quited-----------------------------------------------

Edited by ilko_t
codebox
Link to comment
Share on other sites

Are you running Windows from USB device?

For some reason the selected disk appears as PHYSICALDRIVE0, which the program will not operate on for safety reasons.

2010/04/22 16:30:17- TOSHIBA TransMemory USB Device
2010/04/22 16:30:17- DeviceID: \\.\PHYSICALDRIVE0
2010/04/22 16:30:17- PNPDeviceID: USBSTOR\DISK&VEN_TOSHIBA&PROD_TRANSMEMORY&REV_6.51\0DD0757001F35ABF&0
2010/04/22 16:30:17- Partitions count: 1
2010/04/22 16:30:17- Disk--Partition: Disk #0, Partition #0
2010/04/22 16:30:17- Logical Disk: D: File system: NTFS Primary: True
.....
2010/04/22 16:30:17- Drive letter of the selected partition- D:
2010/04/22 16:30:17- Drive letter of the first primary partition in selected disk- D:
2010/04/22 16:30:17- Disk number of the selected disk- 0
2010/04/22 16:30:17- PNPId of the selected disk- USBSTOR\DISK&VEN_TOSHIBA&PROD_TRANSMEMORY&REV_6.51\0DD0757001F35ABF&0
2010/04/22 16:30:17- File system type of the selected partition- NTFS
2010/04/22 16:30:17- Disk type of the selected disk- Removable
2010/04/22 16:30:17- Total target size avialable- 3791 MB

Can you check in advanced options to display drives on all interfaces, not only USB and post the new log?

Link to comment
Share on other sites

The Physicaldrive0 should mean that the target USB stick ON which it is to be run the program is the device FROM which the PC has booted. :w00t:

Maybe it's a quirk of the BIOS.

A good idea is to boot from internal hard disk or however connect the target USB device ON which you want to run the program AFTER having booted.

jaclaz

Link to comment
Share on other sites

It appears AutoIt internal function IniRead reads just the first section. Will have to dig in their support forums if it's a bug or expected behavior.

Meanwhile, to get you going, just merge these two sections into single one.

Sure :), it's the good guys at MS that invented a stupid format where multiple sections with same name are possible.

A similar issue has already been noted at the time and the original USB multiboot did use fedit "add once":

http://www.msfn.org/board/index.php?showtopic=61384&st=393

Maybe a good idea would be to pre-process these files to remove duplicate secions by merging them.

Something like this:

http://mindprod.com/project/inifiletidier.html

http://mindprod.com/products1.html#INI

http://www.boot-land.net/forums/index.php?autocom=Downloads&showfile=154

http://www.codeproject.com/KB/applications/iniutils.aspx

jaclaz

Thanks for the links.

Here is the thread in AutoIt forum:

http://www.autoitscript.com/forum/index.php?showtopic=113318

I'll see what I can do when get a chance.

Link to comment
Share on other sites

Are you running Windows from USB device?

For some reason the selected disk appears as PHYSICALDRIVE0, which the program will not operate on for safety reasons.

2010/04/22 16:30:17- TOSHIBA TransMemory USB Device
2010/04/22 16:30:17- DeviceID: \\.\PHYSICALDRIVE0
2010/04/22 16:30:17- PNPDeviceID: USBSTOR\DISK&VEN_TOSHIBA&PROD_TRANSMEMORY&REV_6.51\0DD0757001F35ABF&0
2010/04/22 16:30:17- Partitions count: 1
2010/04/22 16:30:17- Disk--Partition: Disk #0, Partition #0
2010/04/22 16:30:17- Logical Disk: D: File system: NTFS Primary: True
.....
2010/04/22 16:30:17- Drive letter of the selected partition- D:
2010/04/22 16:30:17- Drive letter of the first primary partition in selected disk- D:
2010/04/22 16:30:17- Disk number of the selected disk- 0
2010/04/22 16:30:17- PNPId of the selected disk- USBSTOR\DISK&VEN_TOSHIBA&PROD_TRANSMEMORY&REV_6.51\0DD0757001F35ABF&0
2010/04/22 16:30:17- File system type of the selected partition- NTFS
2010/04/22 16:30:17- Disk type of the selected disk- Removable
2010/04/22 16:30:17- Total target size avialable- 3791 MB

Can you check in advanced options to display drives on all interfaces, not only USB and post the new log?

No, running window from a physical hard disk

http://www.pastie.org/930395.txt

Link to comment
Share on other sites

The Physicaldrive0 should mean that the target USB stick ON which it is to be run the program is the device FROM which the PC has booted. :w00t:

Maybe it's a quirk of the BIOS.

A good idea is to boot from internal hard disk or however connect the target USB device ON which you want to run the program AFTER having booted.

jaclaz

I dont understand what you are trying to say there.

Link to comment
Share on other sites

I dont understand what you are trying to say there.

Shutdown your machine.

Disconnect the 'TOSHIBA TransMemory USB Device' and the 'WD Ext HDD 1021 USB Device'.

Boot your machine.

Attach your USB devices.

Run WinSetupFromUSB.

Which hardware, motherboard do you use?

Link to comment
Share on other sites

I dont understand what you are trying to say there.

Shutdown your machine.

Disconnect the 'TOSHIBA TransMemory USB Device' and the 'WD Ext HDD 1021 USB Device'.

Boot your machine.

Attach your USB devices.

Run WinSetupFromUSB.

Which hardware, motherboard do you use?

yea that "fixed" it, it was due to the bios setting the usb to Disk 0 instead of the hard drive.

I use the WD 500gb hd and asus p5 mb

Link to comment
Share on other sites

Hello Ilko_t,

I'm using your program for a long time it's very usefull thank you for this great program.

I have a problem latest time when I want to put my windows setup inside usb harddisk but I get every time eror message at the end that he could not copy the xp setup.exe

Used USB- WinSetupFromUSB with GUI program v1.0 beta6 - 7.March.2010 tried also earlier version but same result.

Used also other pc and other usb harddisk but unfortunately same error appeard.

see please the attachment for details.

Any idea what can be wrong?

error message.txt

Edited by vol
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...