MSFN Forum: How to install Windows from USB- WinSetupFromUSB with GUI - MSFN Forum

Jump to content


  • 100 Pages +
  • « First
  • 13
  • 14
  • 15
  • 16
  • 17
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

How to install Windows from USB- WinSetupFromUSB with GUI Lets make it easy

#281 User is offline   Lagerstars 

  • Newbie
  • Group: Members
  • Posts: 21
  • Joined: 24-January 09

Posted 28 January 2009 - 06:29 AM

Ok thanks, I've searched some more after posting my question and thought that might be the case but wanted to check.
Thanks for a quick reply!


#282 User is offline   Lagerstars 

  • Newbie
  • Group: Members
  • Posts: 21
  • Joined: 24-January 09

Posted 28 January 2009 - 07:21 AM

Hmmm it seems i spoke too soon.
It was prompting for partition info (as intended according the answer to my last question) when using my 1GB USB Stick.

However when i use my 8GB stick which then contains 1 additional folder within $OEM$\$$ that contains other application files for later installation its giving me an error saying its unable to create \Windows prior to trying to copy files to the hard drive at the start of the text based installation

Im guessing from reading other info, its working on the 1GB disk because it doesnt have enough room to install Windows and therefore prompts for another location to install and the 8GB has enough room so there is no prompting, which leads me to think that its trying to install on to the USB Stick when using the 8GB.

Its probably worth noting that this machine does not require any F6 additional drivers to install and will happily proceed with installation with whatever is shipped on the CD as standard

How do i correct this issue?

This post has been edited by Lagerstars: 28 January 2009 - 07:49 AM


#283 User is offline   ilko_t 

  • MSFN Addict
  • Group: Super Moderator
  • Posts: 1,605
  • Joined: 06-December 06
  • OS:none specified
  • Country: Country Flag

Posted 28 January 2009 - 07:53 AM

What are contents of that folder $OEM$\$$, what do you install through it?
Does the 8GB stick gives that error when using the source, used for the 1Gb stick?
Are the proper drivers integrated in both sources? Is the disk contreoller in AHCI/SATA mode?
Did you put back unattended section in winnt.sif, or did the program fail to remove it? Check winnt.sif.

Similar problem, reported as solved by integrating BTS mass storage drivers pack:
http://www.msfn.org/...howtopic=128718

#284 User is offline   Lagerstars 

  • Newbie
  • Group: Members
  • Posts: 21
  • Joined: 24-January 09

Posted 28 January 2009 - 08:15 AM

As stated above, when performing the installation the $OEM$\$$ folders are identical on the 1GB and 8GB memory sticks. The only change is a subfolder under $oem$\$$ and the additional folder is titled Install and simply contains source files for other applications for the runonceex.cmd and the only reason thats not on the 1GB stick is due to its size.

The source files are the same files for both the 1Gb and 8Gb sticks with the one exception of that install folder due to size.

The $$ folder copies across wallpaper files, power scheme files, a theme, couple of tools to the system32 folder and the installation files for applications.

It does not have an AHCI/SATA controller or drives and as per above, it will install fine with the standard WinXP SP2 CD, however i have just tested with the base driver pack and mass storage inc textmode based drivers slipstreamed in

I have not touched the WINNT.SIF at all after running the tool and have checked that the [Unattended] section has been removed by the tool.

As i say though, on a DVD, the files work perfectly, but using your tool to create the USB stick install seems to trip up so i just need to work out where and why as this will help speed up my testing and adjustments considerably

This post has been edited by Lagerstars: 28 January 2009 - 08:23 AM


#285 User is offline   ilko_t 

  • MSFN Addict
  • Group: Super Moderator
  • Posts: 1,605
  • Joined: 06-December 06
  • OS:none specified
  • Country: Country Flag

Posted 28 January 2009 - 09:18 AM

Hmm, I am puzzled.
A few ideas:
Does the machine have USB card readers or any other USB mass storage device, including USB printer with card reader, iPod, etc. etc.? It may "shift" USB disks numbering. Try disabling/removing everything, but the hard disk.
What type is the 8GB USB stick? Does it have CD-like part?
Try renaming migrate.inf to migrate.inf.bak in ~BT folder. Go only to the partitioning screen in Text mode. What drive letter each device/partition got? Which one is listed first? A picture of that screen may help you have camera around.
Try renaming $oem$ to $oem$.bak. Does setup continue?

#286 User is offline   Lagerstars 

  • Newbie
  • Group: Members
  • Posts: 21
  • Joined: 24-January 09

Posted 28 January 2009 - 09:36 AM

Thanks, i'll try your suggestions.
Im just recreating my source files with original CD files and a very basic WINNT.SIF and will try again to see what happens and if that works i'll then attempt to build up further from there.

Incidently, no there are no other devices in the machine USB etc.

The 8gb stick is a Kingston DataTraveller DTI/8GB.

If this still fails after me cutting things back to the most basic and out of the box Unattended settings then i'll try your suggestion to see what else is happening with device partition lettering but im hoping the original files will work and i can build from there and narrow down the problem afterwards, will know in about half hour or so.

#287 User is offline   ilko_t 

  • MSFN Addict
  • Group: Super Moderator
  • Posts: 1,605
  • Joined: 06-December 06
  • OS:none specified
  • Country: Country Flag

Posted 28 January 2009 - 09:43 AM

This is interesting problem, please keep us informed :)

#288 User is offline   Lagerstars 

  • Newbie
  • Group: Members
  • Posts: 21
  • Joined: 24-January 09

Posted 28 January 2009 - 10:03 AM

Ok, I have just tested again.
With the orginal Volume License version of WinXP SP2 CD i have, this PC is able to install with no additional storage controller drivers.

I have copied this XP CD to my hard drive, path C:\XPCD and then run the setupmgr to create a new WINNT.SIF from scratch and copied this WINNT.SIF in to the i386 folder in that directory. I have not configured or added anything beyond anything put in by this program (I have obviously removed company specific info in the below code, entries in the SIF file are correct)

The WINNT.SIF is shown below:

 
;SetupMgrTag
[Data]
    AutoPartition=1
    MsDosInitiated="1"
    UnattendedInstall="Yes"
floppyless="1"
winntupgrade="no"
win9xupgrade="no"
EulaComplete="1"


[GuiUnattended]
    AdminPassword=*
    EncryptedAdminPassword=NO
    AutoLogon=Yes
    AutoLogonCount=1
    OEMSkipRegional=1
    TimeZone=85
    OemSkipWelcome=1

[UserData]
    ProductKey=Our Key here
    FullName="Company here"
    OrgName="Company here"
    ComputerName=*

[Display]
    BitsPerPel=24
    Xresolution=1024
    YResolution=768
    Vrefresh=60

[TapiLocation]
    CountryCode=44
    Dialing=Tone
    AreaCode=01895

[RegionalSettings]
    LanguageGroup=1
    SystemLocale=00000809
    UserLocale=00000809
    InputLocale=0809:00000809

[Branding]
    BrandIEUsingUnattended=Yes

[URL]
    Home_Page=intranet here

[Proxy]
    Proxy_Enable=0
    Use_Same_Proxy=1

[Identification]
    JoinWorkgroup=WORKGROUP

[Networking]
    InstallDefaultComponents=No

[NetAdapters]
    Adapter1=params.Adapter1

[params.Adapter1]
    INFID=*

[NetClients]
    MS_MSClient=params.MS_MSClient

[NetServices]
    MS_SERVER=params.MS_SERVER

[NetProtocols]
    MS_TCPIP=params.MS_TCPIP

[params.MS_TCPIP]
    DNS=Yes
    UseDomainNameDevolution=No
    EnableLMHosts=Yes
    AdapterSections=params.MS_TCPIP.Adapter1

[params.MS_TCPIP.Adapter1]
    SpecificTo=Adapter1
    DHCP=Yes
    WINS=No
    NetBIOSOptions=0
    DNSDomain=domain here


[GuiRunOnce]
"undoren.cmd"
[SetupParams]
UserExecute="binifix4.cmd C:"
 


I have then used your tool to compile this set of files to the USB Key which i freshly formatted using the HP Tool and formatted it to NTFS and im still getting the following screen:

 
Setup Cannot Create the folder:
\WINDOWS

Setup cannot continue until the folder is created

To retry press enter
To quite press F3 



Im stumped now

This post has been edited by Lagerstars: 28 January 2009 - 10:07 AM


#289 User is offline   Lagerstars 

  • Newbie
  • Group: Members
  • Posts: 21
  • Joined: 24-January 09

Posted 28 January 2009 - 10:19 AM

I just tried renaming the Migrate.INF file to try your other suggestion above but i get the same issue.

The error above is generated directly after it says its checking the C: drive, it doesnt show any partition information.

#290 User is offline   ilko_t 

  • MSFN Addict
  • Group: Super Moderator
  • Posts: 1,605
  • Joined: 06-December 06
  • OS:none specified
  • Country: Country Flag

Posted 28 January 2009 - 10:25 AM

Comment out AutoPartition=1 in ~BT\WINNT.SIF and try again.

#291 User is offline   Lagerstars 

  • Newbie
  • Group: Members
  • Posts: 21
  • Joined: 24-January 09

Posted 28 January 2009 - 10:26 AM

Here are the last 3 screen sequences i get...

Attached File(s)



#292 User is offline   Lagerstars 

  • Newbie
  • Group: Members
  • Posts: 21
  • Joined: 24-January 09

Posted 28 January 2009 - 10:30 AM

Ok, commenting out that line gets me to the Partition prompt.
The hard drive is showing as Disk 0, ID 0, Bus 0 and is first to show
The USB Stick is showing as Disk on Disk [MBR] and is below the HDD.

The HDD is C:
The USB is D: - Shouldnt this be U: or is that a later stage?

Selecting the Hard drive then proceeds with copying the files in the text based part.
Im going to compile the USB stick again with my original files with that line commented out to see if it then works, i guess changing it to a zero would also have the same effect?

This post has been edited by Lagerstars: 28 January 2009 - 10:35 AM


#293 User is offline   ilko_t 

  • MSFN Addict
  • Group: Super Moderator
  • Posts: 1,605
  • Joined: 06-December 06
  • OS:none specified
  • Country: Country Flag

Posted 28 January 2009 - 10:35 AM

Rename back migrate.inf, it's responsible for U: letter and write-protecting USB stick during Text mode.
You may need to rebuild the stick if you started file copy part. Some compressed files must have been deleted.
Or simply copy over I386 folder from c:\xpcd\i386 to ~LS\i386 skipping existing files.

The program will create autopartition=0 in the next version. Should have spotted that in your first winnt.sif posted :blushing:

This post has been edited by ilko_t: 28 January 2009 - 10:37 AM


#294 User is offline   Lagerstars 

  • Newbie
  • Group: Members
  • Posts: 21
  • Joined: 24-January 09

Posted 28 January 2009 - 10:42 AM

Perfect, thanks for your help. Ive just formatted the disk again and the tool is running now using all my original files, i'll then manually change that line but that looks to be promising

:)

#295 User is offline   Serge2 

  • Group: Members
  • Posts: 7
  • Joined: 23-August 06

Posted 04 February 2009 - 09:34 AM

Got a perfect result! Within 30 minutes I can have a brand new WinXPsp3 on my desktop, installed from my USB-stick, completely updated, and even configured as I want it, and done while I did my laundry. :-) And everything I want to add and install, is already at hand on the inserted USB-stick. Breath taking! Nothing but compliments to the authors..

But some advice and remarks from this newbie.. (correct me if I’m wrong.)

1. Install WinSetupFromUSB in the default directory.

First I installed it under Program Files; That gave problems. The USB-stick I made could boot and install, but gave error messages in the first phase, saying files could not be copied. (I don’t know which files, but there were a lot.)

2. Better not partition the USB-stick?

First tool I found to format my 8 GB A-data stick, that really worked was UT165_UFDUtility_v3.2.4.0.exe.
That could partition the stick in a Public part and a Secure (password protected) partition.
So I created a public part less than 2 GB, assuming (wrongly) I had to format it FAT.
Later I installed WinSetupFromUSB, and formatted that public part FAT again, using PEtoUSB.
But while installing XP the USB-stick I made gave error messages; it could not copy Bootfont.bin, ntldr and NTdetect.com. (but it did copy all the rest)
So I used the same utility again to make the whole stick public, resulting in one partition of 8 GB.
Then I used WinSetupFromUSB, and formatted the stick NTFS with the HP Format Tool in that. No errors anymore, when installing XP.

3. Hal.dll Error: Watch closely what you boot!

The automatic startup choice may fail. Immediately after booting from the stick, a window appears, telling there is a “first part” and a “second part” in the boot process. And after a few seconds it will start the selected part.
If there is nothing on the HDD yet, it will automatically select- and boot the first part. And after files are copied in the install process, the system will reboot, and in the window it will automatically select- and boot the second part (from the HDD).
But this can fail, especially when something went wrong before, and you are trying again. Then it may boot the second part, while there is (almost) nothing on the disk. This results in a Hal.dll error. Just reboot, and when the message “first part” appears on screen, press Enter.

Someone did a great job, making sure, the PC starts from the HDD and not from the stick, once XP is installed.

4. Copy additional files and folders Afterwards to the stick.

Once the stick is ready, you can simply copy/paste files and folders to it in Explorer, or remove them. So you can add manuals, Activation data, and installation programs.
And what’s even better: you can edit (update) those added files, because the stick simply is a HDD. This is a big advantage compared to a CD, that cannot (easily) be edited. Aaahh.. too good to be true!..

Warning: If you added extra files to your source-folder with your XP-install files, these will NOT be copied to the stick by WinSetupFromUSB. Add them manually afterwards.
So if you used Nlite to update the install files in the source folder, and you added your own files and folders there (to let Nlite create a XP-install ISO), and you use the same folder now to make the bootable USB-stick, the added files and folders will NOT be copied to the stick. Add them afterwards in Explorer.

5. Use Nlite first, to create the newest XP files. (for newbies: )

If you create an USB-XP-installstick, you want the newest updated XP-version, right? That takes some time, but is fun and useful..
WinSetupFromUSB needs a folder with all XP-files. So you copy everything from your XPsp1 or XPsp2 CD to that folder.
But then, first use Nlite to update that folder by slipstreaming the newest files into that. You can even pre-configure the new XP-look and choose options. And you can do an unattended installation, is you fill in all the questions at the XP-installation in advance. Nlite is fantastic!

OK, it takes some time to do it.. First you have to download:
- Service Pack 3 for your XP-type and language.
- Nlite.
- .Net Framework 2.0 or higher. Nlite needs it to be installed..
- Windows Updates Downloader, to download all essential XP-updates after SP3 at once.
- Use WUD to download all these updates.

Nlite operates as a Wizard. First you specify the folder with the XP-files, that will be changed. Second, it gives 8 options for slipstreaming and configuring. To avoid errors, I used Nlite 4 times.
a. Only select Service Pack in Nlite. Slipstream SP3. Start Nlite again and..
b. Only select Hotfixes.. in Nlite. Slipstream Internet Explorer 7. (1 file, found with WUD) Start Nlite again and..
c. Only select Hotfixes in Nlite. (be sure IE7 is not in the folder) Slipstream all essential Updates (Hotfixes).

Now better make a copy of the folder first, because during the next step many things may go wrong, especially forgetting to fill in a field for an unattended installation. I don’t trust Nlite to do it all well in several sessions, and I saw the advice here often, to do it all at once. So if something goes wrong at the later XP-installation, delete everything in the folder, paste the copied files back, and start again.

d. Select everything you want in Nlite (except SP and Hotfixes.) Click Next. For every selected category you’ll get many options to choose. When done with the last category, be sure to Save what you chose; Below, click Preset > Save Name: X.
If you are not satisfied with the XP-installation later, run Nlite again, and load that preset in the third Nlite window; Select the shown preset X, and below press Load. And after making the last change; again press Preset below > Save to X.
Still not good? Replace all files in the source folder, and start Nlite again, and load Preset X.

Nlite, at the end, will make a bootable ISO, or CD-Image. But you don’t have to. You can use the same source folder in WinSetupFromUSB to make a bootable USB-stick for XP-install.
Don’t forget to add your own files and folders to that stick, after making that.

6. Kiss..
Man!.. Who do I have to kiss for all this?!.. I offer a sheep to Odin or something.. But to keep everyone satisfied, a donation might be the best..

#296 User is offline   ilko_t 

  • MSFN Addict
  • Group: Super Moderator
  • Posts: 1,605
  • Joined: 06-December 06
  • OS:none specified
  • Country: Country Flag

Posted 04 February 2009 - 05:29 PM

Wow! Nice review and thanks for the kind words :)

A few notes:

Quote

1. Install WinSetupFromUSB in the default directory.
This is fixed in 0.2, which is ready, but I'd have no test rig around for a few weeks.

Quote

Warning: If you added extra files to your source-folder with your XP-install files, these will NOT be copied to the stick by WinSetupFromUSB.
It copies everything in I386 folder to ~LS\I386 + some additional folders (PRINTERS etc.) from Windows CD. ReadMe.txt describes exactly what is copied.

Quote

5. Use Nlite first, to create the newest XP files.
Be careful and do NOT select Manual Install and Upgrade for removal. This is critical part.
And better off manually slipstream SP3 if needed. It seems some nLite versions break WMI when integrating SP3.thoro

Quote

Who do I have to kiss for all this
To mention a few:
http://www.msfn.org/...howtopic=111401
http://www.msfn.org/board/index.php?showto...st&p=780004

#297 User is offline   jezza333 

  • Newbie
  • Group: Members
  • Posts: 22
  • Joined: 23-February 06

Posted 04 February 2009 - 06:19 PM

G'day everyone :)

This installer does not copy the XP setup files correctly when installing using Windows 7. I tried it in XP and it works fine...

OS: Windows 7 Beta 1 [Build 7000]
Target OS: Windows XP SP3 [pre-slipped]
Log: It's massive... but attached anyway.

The USB is recognised as bootable when I just copy the boot files [errors out though] and when I copy all of the files it boots straight from the HDD.

EDIT: Also, under XP, I cannot select the Winbuilder VistaPE folder. It has the 'Programs' folder, but is still rejected.

Thx :D

Attached File(s)


This post has been edited by jezza333: 04 February 2009 - 07:34 PM


#298 User is offline   ilko_t 

  • MSFN Addict
  • Group: Super Moderator
  • Posts: 1,605
  • Joined: 06-December 06
  • OS:none specified
  • Country: Country Flag

Posted 05 February 2009 - 02:17 AM

Windows 7 would be supported when all other programs used fully support it- AutoIt, grub4dos installer etc. etc.

As for the VistaPE- can you create an empty folder SOURCES if doesn't exist, next to folder BOOT. Does it accept it now?
Did you use Vista Setup/PE/Recovery ISO field or BartPE/UBCD4Win...? You should use the former one.

#299 User is offline   Serge2 

  • Group: Members
  • Posts: 7
  • Joined: 23-August 06

Posted 05 February 2009 - 10:53 AM

View Postilko_t, on Feb 5 2009, 01:29 AM, said:

Wow! Nice review and thanks for the kind words :)


Thanks for all your work, and your reply ilko!

Ever since Bart started with the subject Bootable, I find the atmosphere and the quality among people who work on that really great. Now and then I look at it, and discover very useful products and manuals. USB sticks? Multiboot? Of cóurse sysadmins are looking for that! And these experiments are really fun.. I was VERY satisfied with my first USB-stick, that did the ultimate job in 30 minutes! Okay, let there be some bugs.. not really my problem (yet), being just a customer. And I look forward to multiboot-sticks and multiboot installations on one partition. Just for fun, if I have the time.

But I am thinking about you.. It's fun to start all this, but as with anything, there come the bugs and the nags, the exceptions and the fixes you have to find fot everything. That is the hard work. I hope you survive all that, and that the whole business will keep on giving you pleasure. It is really useful what you do.. :-)

Quote

Be careful and do NOT select Manual Install and Upgrade for removal. This is critical part.


I do not even see that option in Nlite 1.4.9.1, so there can't be to many people getting into trouble by that.. Where is it?..

Quote

And better off manually slipstream SP3 if needed. .

How can you do that manually? Do you mean unpacking SP3, and copy everything into i386 or so, overwriting all existing files?

Quote

It seems some nLite versions break WMI when integrating SP3.thoro.

What is MPI? Not Windows Media Player? What do I have to look out for?..

Just answer, if you have any time.. I am sure, you do all you can, and I'll wait for updates.. I know all about being too busy. :-) I just hope you like what you do.. :-)

This post has been edited by Serge2: 05 February 2009 - 10:57 AM


#300 User is offline   ilko_t 

  • MSFN Addict
  • Group: Super Moderator
  • Posts: 1,605
  • Joined: 06-December 06
  • OS:none specified
  • Country: Country Flag

Posted 05 February 2009 - 11:42 AM

Quote

I do not even see that option in Nlite 1.4.9.1, so there can't be to many people getting into trouble by that.. Where is it?..
Look at the FAQs, Q2/A2:
http://www.msfn.org/...howtopic=116766

Is it still present in nLite?

Quote

How can you do that manually?
http://www.howtohaven.com/system/slipstrea...ce-pack-3.shtml

C:\Downloads\XPSP3.exe /integrate:C:\XPSETUPCD



Quote

What is MPI?
WMI*:
http://en.wikipedia.org/wiki/Windows_Manag...Instrumentation
http://msdn.microsof...y/aa394582.aspx

Some programs, VBS scripts etc. make use of WMI, WinSetupFromUSB as well, in order to obtain USB drive properties ;)

Share this topic:


  • 100 Pages +
  • « First
  • 13
  • 14
  • 15
  • 16
  • 17
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

26 User(s) are reading this topic
0 members, 26 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy