Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

How to install Windows from USB- WinSetupFromUSB with GUI


  • Please log in to reply
2116 replies to this topic

#1676
Weed

Weed

    U got brainwashed from everyone since u can walk!!

  • Member
  • PipPipPip
  • 381 posts
  • OS:none specified
  • Country: Country Flag
Ah but still doesnt work correctly
G: ST950042 0ASG (5 Bytes Tot) (FAT32) (5 Bytes Free)
...

2012/04/18 16:13:45- WinSetupFromUSB 1.0 beta8 started
2012/04/18 16:13:45- OS: WIN_7  Architecture type: X64 ServicePack: Service Pack 1 OS Language: 0407
2012/04/18 16:13:45- Program directory: D:\USB_Boot\WinsetupUsb
2012/04/18 16:13:45- Getting USB drives information
2012/04/18 16:13:45- Show all drives option is NOT selected, displaying USB drives only
2012/04/18 16:13:45-   ST950042 0ASG USB Device
2012/04/18 16:13:45- 	DeviceID: \\.\PHYSICALDRIVE1
2012/04/18 16:13:45- 	PNPDeviceID: USBSTOR\DISK&VEN_ST950042&PROD_0ASG&REV_0002\56409641&0
2012/04/18 16:13:45- 	DiskSize: 465 GB Signature: 4429A494
2012/04/18 16:13:45- 	Partitions found: 3  MediaType: External hard disk media
2012/04/18 16:13:45- 		Disk--Partition: Disk #1, Partition #0
2012/04/18 16:13:45- 			Logical Disk:G:  File system:FAT32 Primary:True  Bootable:True
2012/04/18 16:13:45- 			FreeSpace: 0 Bytes Partition Size: 0 Bytes
2012/04/18 16:13:45- 			Partition Starting Offset: 1048576 HiddenSectors: 
2012/04/18 16:13:45- 		Disk--Partition: Disk #1, Partition #1
2012/04/18 16:13:46- 			Logical Disk:H:  File system:NTFS Primary:True  Bootable:False
2012/04/18 16:13:46- 			FreeSpace: 0 Bytes Partition Size: 0 Bytes
2012/04/18 16:13:46- 			Partition Starting Offset: 5369757696 HiddenSectors: 
2012/04/18 16:13:46- 		Disk--Partition: Disk #1, Partition #2
2012/04/18 16:13:46- 			Logical Disk:I:  File system:NTFS Primary:True  Bootable:False
2012/04/18 16:13:46- 			FreeSpace: 0 Bytes Partition Size: 0 Bytes
2012/04/18 16:13:46- 			Partition Starting Offset: 16107175936 HiddenSectors: 
2012/04/18 16:13:46- Drive letter of the selected partition- G:
2012/04/18 16:13:46- Drive letter of the first primary partition in selected disk- G:
2012/04/18 16:13:46- Disk number of the selected disk- 1
2012/04/18 16:13:46- PNPId of the selected disk- USBSTOR\DISK&VEN_ST950042&PROD_0ASG&REV_0002\56409641&0
2012/04/18 16:13:46- File system type of the selected partition- FAT32
2012/04/18 16:13:46- Disk type of the selected disk- Fixed
2012/04/18 16:13:46- Total target space avialable- 5 Bytes
2012/04/18 16:13:46- Checking sizes...
2012/04/18 16:13:46- Total source size- 0 Bytes
2012/04/18 16:13:46- Target space available- 5 Bytes

"No one knows our faces, no one knows our Names, we travel like a shadow across the Streets the City, with the target destroyin our Enemies, our Power to brace and in ones night to get the World domination"
"Humans doesnt search the truth, so we compare them like Animals."
"Anyone who dont use there brain and fight for his Freedom, they dont miss it anyway" The Illuminati


How to remove advertisement from MSFN

#1677
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,705 posts
  • OS:none specified
  • Country: Country Flag
Oops, my bad, re-uploaded.

Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#1678
Weed

Weed

    U got brainwashed from everyone since u can walk!!

  • Member
  • PipPipPip
  • 381 posts
  • OS:none specified
  • Country: Country Flag
yess now it views the size correctly in GB, though in MB is better or in real it doesnt matter? when an ISO is for example 720MB and winsetup say 0,7GB it may not work or?
thank you

this is for me one of the most useful apps here :)
"No one knows our faces, no one knows our Names, we travel like a shadow across the Streets the City, with the target destroyin our Enemies, our Power to brace and in ones night to get the World domination"
"Humans doesnt search the truth, so we compare them like Animals."
"Anyone who dont use there brain and fight for his Freedom, they dont miss it anyway" The Illuminati

#1679
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,705 posts
  • OS:none specified
  • Country: Country Flag
Only displaying in GUI is in MB, GB and so on according to the actual bytes. Internally, all sizes are in bytes, so if it doesn't complain about lack of free space all should be good.

Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#1680
Weed

Weed

    U got brainwashed from everyone since u can walk!!

  • Member
  • PipPipPip
  • 381 posts
  • OS:none specified
  • Country: Country Flag
hey,
iam not really sure how to do this what i want, though i just need a push in the right direction because i already have known that, rusted and confused iam :/
i want several W7 versions in my last partition, i already made an AIO ISO but i want for example in my bootmenu W7 Ult x64+x86 Lite, Unattended and Full and maybe one for Preinstall Apps
i just can remember it was very easy... :)

same for XP, what i have done now:
first i used bts base and integrated a few drivers, then i run nlite and made 2 versions of this folder (lite, "full")
then i added this line in winnt.sif on both folders cause its removed when using nlite with unattended options
[GUIRunOnce]
command9="%SystemDrive%\DPsFnshr.exe"
last i used winsetupusb for both version and selected shared bts drivers
i tried and this work anyway but i can remember i have used last time for example the lite version for 2 other edtitions like Lite Unattened and Lite Preinstall Apps and only with other winnt.sif file but same sourcefolder so i dont need to waste space, u know or maybe iam wrong and it wasnt possible...?

thanks!
"No one knows our faces, no one knows our Names, we travel like a shadow across the Streets the City, with the target destroyin our Enemies, our Power to brace and in ones night to get the World domination"
"Humans doesnt search the truth, so we compare them like Animals."
"Anyone who dont use there brain and fight for his Freedom, they dont miss it anyway" The Illuminati

#1681
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,705 posts
  • OS:none specified
  • Country: Country Flag
It's hard for me to figure out what exactly you want to achieve. How would only different winnt.sif help you achieve that?
There are possible sollutions, for example placing it in a virtual floppy, or maybe in the small ISO file...
You may also want use NTFS and hard links on the USB disk in order to save disk space, DFHL.exe is included in \files\tools.

As a side note- as far as I know as rule of thumb, BTS stuff goes last, after using nLite.

Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#1682
momchilandonov

momchilandonov

    Newbie

  • Member
  • 10 posts
  • OS:Windows 7 x86
  • Country: Country Flag
Weed did you simply try adding the installations one after another on the same partition? I didn't had problems doing so with Windows XP and I even made 4 separated installations :D. Also I used Win 7 installation containing two languages and x32 and x64 installation choices and they work without problems in installers made by WinSetup. You simply need to use your AIO installer and integrade it with WinSetup.
I found it little annoying that the boot menu starts in XP by default after 10 seconds and I guess it can be changed because I have the latest version and still there aren't boot options. Maybe I need to edit the boot file :).
Nlite has an option to disable automatic SFC which decreases the time to install the OS but how can I manually enable it after Windows XP installation?

Edited by momchilandonov, 21 April 2012 - 03:25 AM.


#1683
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,705 posts
  • OS:none specified
  • Country: Country Flag

...
I found it little annoying that the boot menu starts in XP by default after 10 seconds and I guess it can be changed because I have the latest version and still there aren't boot options. Maybe I need to edit the boot file :). ..

It starts XP setup menu if it was the last one used. In latest beta8 versions, there is another boot menu for Second part and consequent boots of Vista/7/8 Setup, which becomes default if First part of this setup was used once, making the setup unattended in the same way as with XP/2000/2003.
Timeout value can be edited in file menu.lst and in winsetup.lst for XP/2000/2003, change the values per your needs.

Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#1684
craftsman

craftsman
  • Member
  • 1 posts
  • OS:none specified
  • Country: Country Flag
under windows 7 download links at datafilehost looks like broken:
"Accessing directly the download link doesn't work. The download only starts if you click from the download page. "

upd:
succesfuly downloaded file under Ubuntu

Edited by craftsman, 22 April 2012 - 11:21 AM.


#1685
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,705 posts
  • OS:none specified
  • Country: Country Flag
Links work just fine here, Windows 7 x64.

Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#1686
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,705 posts
  • OS:none specified
  • Country: Country Flag
New 1.0 beta8 version uploaded.
Please refer to first post for list of changes and download links.

Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#1687
tomasz86

tomasz86

    www.windows2000.tk

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,510 posts
  • OS:XP Pro x86
  • Country: Country Flag
Thank you ilko_t.

Unfortunately I must say that something is wrong with the "display disk drives on all interfaces" option. This happens when I try to enable it.

2012/04/27 21:54:14- WinSetupFromUSB 1.0 beta8 started
2012/04/27 21:54:14- OS: WIN_2000  Architecture type: X86 ServicePack: Service Pack 4 OS Language: 0409
2012/04/27 21:54:14- Program directory: D:\Pulpit\Win Setup_1_0_beta8
2012/04/27 21:54:14- Getting USB drives information
2012/04/27 21:54:14- Show all drives option is NOT selected, displaying USB drives only
2012/04/27 21:54:15- No USB Disks detected or not properly formatted
2012/04/27 21:54:15- Checking sizes...
2012/04/27 21:54:15- Total source size- 0 bytes
2012/04/27 21:54:15- Target space available- 0 bytes
2012/04/27 21:54:21- Getting USB drives information
2012/04/27 21:54:21- Show all drives option is selected
2012/04/27 21:54:22-   ATA SAMSUNG HD502HJ SCSI Disk Device
2012/04/27 21:54:22- 	DeviceID: \\.\PHYSICALDRIVE1
2012/04/27 21:54:22- 	PNPDeviceID: SCSI\DISK&VEN_ATA&PROD_SAMSUNG_HD502HJ&REV_0001\5&1D01176&0&040

Attached Files


Edited by tomasz86, 27 April 2012 - 06:57 AM.

post-47483-1123010975.png
Unofficial Service Pack 5.2 for MS Windows 2000 <- use this topic if you need help with UURollup, Update Rollup 2 and other unofficial packages

#1688
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,705 posts
  • OS:none specified
  • Country: Country Flag

2012/04/27 21:54:14- OS: WIN_2000

Did you run it on Windows 2000? I have never tested the program on it...
Have the previous versions worked with this option enabled?

Added: The WMI function used, not supported in 2000 is Win32_DiskDrive.Signature. I can get around this one, but another used in this version and important one is FSCTL_DISMOUNT_VOLUME, which doesn't seem to be present in 2000 either. For a few other used I recall to be present since XP.
In short- many of the new features wouldn't work in Windows 2000, so for now, unfortunately, I won't be planning on running the program on 2000 host OS.
2000 being added to the USB disk, as long as program is run on XP onwards is still supported as far as I have tested.

Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#1689
tomasz86

tomasz86

    www.windows2000.tk

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,510 posts
  • OS:XP Pro x86
  • Country: Country Flag
The previous version works fine with the same option enabled :}

Maybe it would be good to put a note that the last Win2K compatible version is 1.0 beta7?

This is a log from 1.0 beta7:
Spoiler

Edited by tomasz86, 28 April 2012 - 02:46 PM.

post-47483-1123010975.png
Unofficial Service Pack 5.2 for MS Windows 2000 <- use this topic if you need help with UURollup, Update Rollup 2 and other unofficial packages

#1690
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,705 posts
  • OS:none specified
  • Country: Country Flag

The previous version works fine with the same option enabled

Did a few tests under 2000, turned out it's not only displaying the drives is not working, otherwise would have been an easy fix. Unfortunately a few other WinAPIs in use are not supported in 2000. On top of that the included version of WinContig didn't work, nor did BootIce. RMPrepUSB returned an error when formatting the USB disk but it seemed properly formatted. FBInstTool worked fine.

Maybe it would be good to put a note that the last Win2K compatible version is 1.0 beta7?

I have never tested previous versions under 2000, must rely on user reports. Does everything work properly, apart from USB drives displayed as SCSI ones due to the way WMI works in 2000?

Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#1691
tomasz86

tomasz86

    www.windows2000.tk

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,510 posts
  • OS:XP Pro x86
  • Country: Country Flag
Well, except for the issues I reported last time, everything seems to work fine with the previous version. Of course I couldn't try all options but at least creating a W2K installation works perfectly fine and I also used it to prepare a Win7/8 installation (everything was done under Windows 2000 as a host). No problems occured. I just use the system's "format.com" to format the USB flash disk before using WinSetupFromUSB instead of Bootice / RMPrepUSB.

By the way, not only USB drives but all drives seem to be detected as SCSI. I've got both SAS & SATA devices connected but all of them are listed as SCSI in the log file.

Edited by tomasz86, 30 April 2012 - 10:27 AM.

post-47483-1123010975.png
Unofficial Service Pack 5.2 for MS Windows 2000 <- use this topic if you need help with UURollup, Update Rollup 2 and other unofficial packages

#1692
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,705 posts
  • OS:none specified
  • Country: Country Flag

Well, except for the issues I reported last time, everything seems to work fine with the previous version. Of course I couldn't try all options but at least creating a W2K installation works perfectly fine and I also used it to prepare a Win7/8 installation (everything was done under Windows 2000 as a host). No problems occured. I just use the system's "format.com" to format the USB flash disk before using WinSetupFromUSB instead of Bootice / RMPrepUSB.

Will keep in mind Win 2000 compatibility when coding another version. Can't say more.
Can't claim 2000 support for host OS in previous versions as it seems half broken half working.

By the way, not only USB drives but all drives seem to be detected as SCSI. I've got both SAS & SATA devices connected but all of them are listed as SCSI in the log file.

This has nothing to do with WinSetupFromUSB. It uses WMI query to list drives with InterfaceType USB and every other application relying on WMI will behave the same way. Why 2000 lists USB and other disks as SCSI ones in WMI space I have no clue.MS documentation doesn't have a hint about differences in 2000, look at InterfaceType.:
http://msdn.microsof...2(v=vs.85).aspx

The proper solution would be to get rid of WMI alltogether but that would require a lot of coding as well as most likely introducing new bugs until everyting gets polished.

Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#1693
tomasz86

tomasz86

    www.windows2000.tk

  • Member
  • PipPipPipPipPipPipPipPip
  • 2,510 posts
  • OS:XP Pro x86
  • Country: Country Flag
No problem. For now I'll keep using beta7 since it does the job well.

Thanks for your interest anyway :)
post-47483-1123010975.png
Unofficial Service Pack 5.2 for MS Windows 2000 <- use this topic if you need help with UURollup, Update Rollup 2 and other unofficial packages

#1694
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,705 posts
  • OS:none specified
  • Country: Country Flag
Just keep in mind to do the fix for XP/2000/2003 installs, link is in the first page next to info for beta7.

Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#1695
neuro42

neuro42

    Junior

  • Member
  • Pip
  • 68 posts
Glad to see this project is still getting updates.

It has been in BETA so long i'm wondering if google is behind it LOL

Going to retry it tonight,. Multi boot USB sticks have not worked for me in the past, then again x86/x64 windows 7 disks from MSDN don't either. (well they work fine in IDE mode but you cant load a 64bit storage driver with a 32bit installer and a 64 bit installer wont work for a 32bit OS...seems obvious but...) thats not your guys issues, just much easier to buy 10 4GB USB sticks and use each for its one boot installer :) Hoping this still works for XP, I dont buy optical disks anymore :)

thanks again for keeping your project up to date :)

#1696
wingzeroismine

wingzeroismine
  • Member
  • 6 posts
  • OS:Windows 7 x64
  • Country: Country Flag
I have been using this to make bootable flash drives for a couple years now and its great stuff.


Today however I have been trying to use it and getting an error.

I've tried 1.0b8, b7, and .23 all of them produce an AutoIt error upon opening, here is the b8 error:
Line 27623 Error: The requested action with this object has failed.

I am running Windows 7 64-bit and have tried both versions of b8, the error is the same.

b7 says line 7932.

I tried to search this thread for AutoIt Error but didn't find anything that seemed relevant.

Since I'm really just making basic Windows 7/8 flash drives I suppose I could go get the M$ one but I figured I'd at least ask here for anything I could try.


I know you may want to see the log file, it barely prints anything out to it before erroring out so here it is

2012/06/06 15:48:31- WinSetupFromUSB 1.0 beta8 started
2012/06/06 15:48:31- OS: WIN_7 Architecture type: X64 ServicePack: Service Pack 1 OS Language: 0409
2012/06/06 15:48:31- Program directory: C:\WinSetupFromUsb
2012/06/06 15:48:31- Getting USB drives information
2012/06/06 15:48:31- Show all drives option is NOT selected, displaying USB drives only

#1697
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,705 posts
  • OS:none specified
  • Country: Country Flag
Can you run the VBS script in this post to rule out if WMI on this machine is broken?
Does it run properly, no errors etc. ?
http://www.msfn.org/...post__p__995645

Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#1698
wingzeroismine

wingzeroismine
  • Member
  • 6 posts
  • OS:Windows 7 x64
  • Country: Country Flag
It ran, listed off info about every disk one painful window at a time, no errors of any kind.

#1699
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,705 posts
  • OS:none specified
  • Country: Country Flag
Attached is another one, please run it and report if any errors.

Modified from here:
http://www.activexpe.../vbscript/0054/

Attached Files


Install Windows from USB, boot Linux, multiboot and a lot more with WinSetupFromUSB


#1700
dagonas

dagonas
  • Member
  • 7 posts
  • OS:XP Pro x86
  • Country: Country Flag
Hello again

I'm going to tell you the steps i have made:

1) Winsetupfromusb with options:
Auto format it with Fbinst, NTFS, Align

Section "Add to USB DISK"

Windows 2000/XP/2003 Setup Checked and the correct drive with an iso mounted inside the textbox

Windows Vista / 7 ... Setup Checked and the correct drive with an iso mounted inside the textbox

2) Start the process

3) Try each installation

- On Windows XP, when i started the second part of the installation it get hanged when the installation said "39 minutes left"

- On Windows 7, it get hanged when the installation reached the Blue Screen of the installation beginning.



It seems WinSetupfromUSB have a problem detecting the USB pendrive


Is there another way to do this Multiboot?

Thanks

Edited by dagonas, 07 June 2012 - 01:54 AM.





7 user(s) are reading this topic

0 members, 7 guests, 0 anonymous users



How to remove advertisement from MSFN