Jump to content

How to install Windows from USB- WinSetupFromUSB with GUI


Recommended Posts

Right now program fails to find DPMS folder in C:\

Lets make a clean start :

1) Stop temporarily any antivirus programs running

2) Download a fresh copy of beta8:

http://winsetupfromusb.googlecode.com/files/Win%20Setup_1_0_beta8.7z

3) Extract the archive in c:\WinSetup. Use 7-zip for the purpose, some other programs do not handle properly 7z archives. The executable files WinSetupFromUSB_1-0-beta8.exe and WinSetupFromUSB_1-0-beta8_x64.exe should end up in c:\WinSetup\ directory.

4) Extract the test version in c:\WinSetup\ too and run it.

5) Try with XP SP3 source and post the log file produced.

By the way- program searches for its files in paths, relative to the executable file location, hence you can't run the exe file, say from desktop, while the FILES directory is elsewhere. In addition, if DPMS folder is missing and XP/2000/2003 source is being transferred, and "do not use DPMS" option is not selected , program would error out the same way.

Link to comment
Share on other sites


ilko_t - Thank you its working.

After following your steps, i found i had missed one vital folder when unzipping first time "Files" !! I must be blind I did not see it.

This was my first time working with this utility, sorry this was a waste of your time, it was my fault all along :unsure:

Link to comment
Share on other sites

Hello

I'm having a problem installing XP on an Acer Aspire 3810T laptop.

Booting the laptop from a USB keydrive with WinSetupFromUSB works fine, but no matter what I try, it won't see the SATA drive.

I tried WSFU's "Autodetect and use F6", or copying Acer's AHCI driver onto a second USB keydrive and hitting the F6 key in XP's installer, to no avail:

Setup could not determine the type of one or more mass storage devices installed in your system.

Hit "S":

Setup could not find a floppy drive on your machine to load OEM drivers

Also tried changing the SATA drive in the BIOS from AHCI to IDE, nogo.

Could I somehow copy the AHCI driver onto the WSFU keydrive?

Thank you.

Link to comment
Share on other sites

Try integrating BTS mass storage driver pack in your source and redo the USB disk:

By the way- Setup should see the hard disk in IDE/ATA mode, is the source modified in some way, drivers removed?

Link to comment
Share on other sites

Thanks for the info.

I did try changing the BIOS from AHCI to IDE before asking for help, but it didn't work. But this time, it did. It might have to do with the fact that I booted a Linux USB keydrive to reduce the size of the first partition to something smaller, but I'm not positive.

Although XP won't boot if I set the BIOS back to AHCI, I can live with that.

Thanks for the help. WSFU is a very useful tool.

Edit : Not a good idea, as this is a test host and images I did previously in AHCI mode with Clonezilla won't start (at least Windows7 won' t start.

Looks like I'll have to learn how to add the SATA driver in the XP ISO.

Edited by Winfried
Link to comment
Share on other sites

Windows XP SP3, preconfigured wIth nLite and DriverPacks:

I got this error message window when Part 2 setup began (GUI mode), just before extracting the DriverPacks.

Windows : No disk

Clicking the "Cancel" button for 3 times, it went on OK.

The message appeared again during the RunOnceEx phase for 2 times. It continued to run after clicking Cancel button. And the resulting Windows OS was OK.

Actually , I did the Windows setup 2 times, the error message problem were exactly the same.

Edited by ykchanaed
Link to comment
Share on other sites

Do you have a card reader?

What drive letter did the USB disk get during setup?

The error shows up when presetup.cmd script is searching for OEM folder in each drive letter accessing the empty card reader slots, same must be happening with another script run by RunOnceEx.

Disconnect the card reader, ignore the errors, or amend the scripts as in setup.cmd, drive letters where USB disk is most likely to be found go first:


...
FOR %%h IN (U V W X C D E F G H I J K L M N O P Q R S T Y) DO (
...

Link to comment
Share on other sites

Do you have a card reader?

What drive letter did the USB disk get during setup?

The error shows up when presetup.cmd script is searching for OEM folder in each drive letter accessing the empty card reader slots, same must be happening with another script run by RunOnceEx.

Disconnect the card reader, ignore the errors, or amend the scripts as in setup.cmd, drive letters where USB disk is most likely to be found go first:


...
FOR %%h IN (U V W X C D E F G H I J K L M N O P Q R S T Y) DO (
...

Ilko, cannot say if it applies specifically, but do check these:

jaclaz

Link to comment
Share on other sites

Hi Jaclaz, been a while : )

Thanks for reminder, actually, a bigger portion from setup.cmd:


...
if exist mountvol.exe (
for /f "tokens=1 delims=: " %%? in ('mountvol.exe ^|find ":\"') do (
dir %%?:%TAGFILE% > nul 2>&1 && set CDDRIVE=%%?:
if defined CDDRIVE goto :CDDRIVE_found
)
) else (
FOR %%h IN (U V W X C D E F G H I J K L M N O P Q R S T Y) DO (
IF EXIST "%%h:%TAGFILE%" (
SET CDDRIVE=%%h:
goto :CDDRIVE_found
)
)
)
...

As far as I remember mountvol.exe wasn't present on some systems or versions, hence the check above), and since I've started generating migrate.inf with the updated procedure, USB disk was reliably getting U V W or X drive letters, hence the previous post.

Link to comment
Share on other sites

As far as I remember mountvol.exe wasn't present on some systems or versions, hence the check above), and since I've started generating migrate.inf with the updated procedure, USB disk was reliably getting U V W or X drive letters, hence the previous post.

I see. :)

BUT the cdob's version needs not the mountvol.exe:

MOUNTVOL is actually used ONLY to limit the number of loops, but since all in all 26-2=24 can be categorized if not as "a few", at least as "not that many" ;).

Try this (let's call it "findTAG.cmd") ;):

@ECHO OFF
SETLOCAL ENABLEDELAYEDEXPANSION
SET Tagfile=test.txt
FOR %%D IN (C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO (
SET mymessage=Looking for "%%D:\%Tagfile%" .... Not found.
DIR "%%D:\%Tagfile%"> nul 2>&1 && SET mymessage=!mymessage:Not found.=FOUND.!
ECHO !mymessage!
)

or this (let's call it ListEdrives.cmd):

@ECHO OFF
SETLOCAL ENABLEDELAYEDEXPANSION
FOR %%D IN (C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO (
SET mymessage=Looking for drive %%D: .... Not Existing.
DIR %%D:\> nul 2>&1 && SET mymessage=!mymessage:Not Existing.=EXISTING.!
ECHO !mymessage!
)

And yes, in Explorer I have:

C: <--hard disk

D: <--hard disk

E: <- CD-ROM (no media in it)

F: <- Card reader drive letter #1

G:<- Card reader drive letter #2

H:<- Card reader drive letter #3

I:<- Card reader drive letter #4

J: <- Virtual disk (BUT with only hidden and system reserved folders/files)

K: <- USB stick

Output of ListEdrives.cmd:

C:\batches>ListEdrives.cmd
Looking for drive C: .... EXISTING.
Looking for drive D: .... EXISTING.
Looking for drive E: .... Not Existing.
Looking for drive F: .... Not Existing.
Looking for drive G: .... Not Existing.
Looking for drive H: .... Not Existing.
Looking for drive I: .... Not Existing.
Looking for drive J: .... Not Existing.
Looking for drive K: .... EXISTING.
Looking for drive L: .... Not Existing.
Looking for drive M: .... Not Existing.
Looking for drive N: .... Not Existing.
Looking for drive O: .... Not Existing.
Looking for drive P: .... Not Existing.
Looking for drive Q: .... Not Existing.
Looking for drive R: .... Not Existing.
Looking for drive S: .... Not Existing.
Looking for drive T: .... Not Existing.
Looking for drive U: .... Not Existing.
Looking for drive V: .... Not Existing.
Looking for drive W: .... Not Existing.
Looking for drive X: .... Not Existing.
Looking for drive Y: .... Not Existing.
Looking for drive Z: .... Not Existing.

jaclaz

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