Jump to content

How to install Windows from USB- WinSetupFromUSB with GUI


Recommended Posts

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.

Link to post
Share on other sites

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
Link to post
Share on other sites
...

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.

Link to post
Share on other sites

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
Link to post
Share on other sites

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

post-310716-0-50599800-1335531367_thumb.

Edited by tomasz86
Link to post
Share on other sites
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.

Link to post
Share on other sites

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:

2012/04/29 05:44:38- WinSetupFromUSB 1.0 beta7 started
2012/04/29 05:44:38- OS: WIN_2000 Architecture type: X86 ServicePack: Service Pack 4 OS Language: 0409
2012/04/29 05:44:38- Program directory: D:\TW86\Programy\WinSetup 1.0 beta7
2012/04/29 05:44:38- Getting USB drives information
2012/04/29 05:44:39- Show all drives option is NOT selected, displaying USB drives only
2012/04/29 05:44:39- No USB Disks detected or not properly formatted
2012/04/29 05:44:39- Checking sizes...
2012/04/29 05:44:39- Total source size- 0 MB
2012/04/29 05:44:39- Target space available- 0 MB
2012/04/29 05:44:52- Getting USB drives information
2012/04/29 05:44:52- Show all drives option is selected
2012/04/29 05:44:53- LSILOGIC Logical Volume SCSI Disk Device
2012/04/29 05:44:53- DeviceID: \\.\PHYSICALDRIVE0
2012/04/29 05:44:53- PNPDeviceID: SCSI\DISK&VEN_LSILOGIC&PROD_LOGICAL_VOLUME&REV_3000\5&1D01176&0&000
2012/04/29 05:44:53- Partitions count: 1
2012/04/29 05:44:53- ModusLnk MXR3036SA000600X SCSI Disk Device
2012/04/29 05:44:53- DeviceID: \\.\PHYSICALDRIVE1
2012/04/29 05:44:53- PNPDeviceID: SCSI\DISK&VEN_MODUSLNK&PROD_MXR3036SA000600X&REV_M108\5&1D01176&0&040
2012/04/29 05:44:53- Partitions count: 1
2012/04/29 05:44:53- Disk--Partition: Disk #1, Partition #0
2012/04/29 05:44:54- Logical Disk: C: File system: NTFS Primary: True
2012/04/29 05:44:54- SAMSUNG 470 Series SSD SCSI Disk Device
2012/04/29 05:44:54- DeviceID: \\.\PHYSICALDRIVE3
2012/04/29 05:44:54- PNPDeviceID: SCSI\DISK&VEN_SAMSUNG&PROD_470_SERIES_SSD&REV_AXM0\4&2362F263&0&020
2012/04/29 05:44:54- Partitions count: 1
2012/04/29 05:44:54- SAMSUNG HD502HJ SCSI Disk Device
2012/04/29 05:44:54- DeviceID: \\.\PHYSICALDRIVE2
2012/04/29 05:44:54- PNPDeviceID: SCSI\DISK&VEN_SAMSUNG&PROD_HD502HJ&REV_1AJ1\4&2362F263&0&000
2012/04/29 05:44:54- Partitions count: 1
2012/04/29 05:44:54- UFDBM T6.21 USB Device
2012/04/29 05:44:54- DeviceID: \\.\PHYSICALDRIVE4
2012/04/29 05:44:54- PNPDeviceID: USBSTOR\DISK&VEN_UFDBM&PROD_T6.21&REV_1.00\000FF1012261808216872123&0
2012/04/29 05:44:54- Partitions count: 1
2012/04/29 05:44:54- Disk--Partition: Disk #4, Partition #0
2012/04/29 05:44:54- Logical Disk: I: File system: FAT32 Primary: True
2012/04/29 05:44:54- Drive letter of the selected partition- C:
2012/04/29 05:44:54- Drive letter of the first primary partition in selected disk- C:
2012/04/29 05:44:54- Disk number of the selected disk- 1
2012/04/29 05:44:54- PNPId of the selected disk- SCSI\DISK&VEN_MODUSLNK&PROD_MXR3036SA000600X&REV_M108\5&1D01176&0&040
2012/04/29 05:44:54- File system type of the selected partition- NTFS
2012/04/29 05:44:54- Disk type of the selected disk- Fixed
2012/04/29 05:44:54- Total target size avialable- 3047 MB
2012/04/29 05:44:54- Checking sizes...
2012/04/29 05:44:54- Total source size- 0 MB
2012/04/29 05:44:54- Target space available- 3047 MB

Edited by tomasz86
Link to post
Share on other sites
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?
Link to post
Share on other sites

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
Link to post
Share on other sites
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.microsoft.com/en-us/library/windows/desktop/aa394132%28v=vs.85%29.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.

Link to post
Share on other sites
  • 2 weeks later...

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 :)

Link to post
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...