WinUSB Maker - The Windows Setup to USB Solution

Discussion in 'MDL Projects and Applications' started by Josh Cell, Oct 10, 2011.

Thread Status:
Not open for further replies.
  1. ItielMaN

    ItielMaN MDL Senior Member

    Apr 30, 2011
    367
    59
    10
    Hi,

    If you can, please avoid from spaces before dots/colons/question mark/exclamation mark/ '[' / ']' / '(' / ')' etc in your softwares, and everywhere you write :)
    One more thing- the drive size is shown as X,XX and not as X.XX - is that on purpose? I think that's what most of the world is using.
    Will WinUSB Maker support Windows XP in the future?

    And.. please notice to the PM I sent you about WinUSB Maker.

    Thanks :)
     
  2. Josh Cell

    Josh Cell MDL Developer

    Jan 8, 2011
    3,513
    7,174
    120
    Re-updated the EXE ...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. rasputinuk

    rasputinuk MDL Member

    May 21, 2007
    115
    7
    10
    #163 rasputinuk, Nov 17, 2011
    Last edited: Nov 17, 2011
    Hi,

    Thanks for this, only one problem with V1.5. It will delete all partitions on A USB HDD. In my case I have a Hitachi 189 gig usb drive which I have made a small 10gig partition for WIN7AIO installation files and the remainder of the drive partitioned to store my other bit's and pieces!!! I lost all my files on the drive, my advice is use with caution.....
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Josh Cell

    Josh Cell MDL Developer

    Jan 8, 2011
    3,513
    7,174
    120
    Yes, is needed delete all partitions to rewrite the MBR Boot Sector ...

    I'll add an warning here ...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Josh Cell

    Josh Cell MDL Developer

    Jan 8, 2011
    3,513
    7,174
    120
    "All USB data will be lost with it"

    When, All usb data will killed with this procedure, is an read-warning ..

    Changed to:

    "All partitions data will be lost with it"

    When, All partitions data will killed by this procedure .

    ______________________________________________________________________________

    Added multithreading for the Refresh functions without hand the application in the new v1.5 reuploaded version [ I not can release other updates in the same day ] .
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. rasputinuk

    rasputinuk MDL Member

    May 21, 2007
    115
    7
    10
    Thanks Josh Cell, That change makes it clearer now....:biggrin:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. laddanator

    laddanator MDL Junior Member

    Oct 13, 2009
    71
    5
    0
    Sent you a pm, Josh
     
  8. Josh Cell

    Josh Cell MDL Developer

    Jan 8, 2011
    3,513
    7,174
    120
    Releasing other product today, I'll reply your ask in a few hours ...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. laddanator

    laddanator MDL Junior Member

    Oct 13, 2009
    71
    5
    0
    #169 laddanator, Nov 20, 2011
    Last edited by a moderator: Apr 20, 2017
    Thanks. I got everything some what working. I cannot install Windows 7 from USB Hard Drive with grub. I have used Friadisk with no luck. I can boot from usb jump drive fine but really need to load 7 from grub menu. Copied this into my boot.win
    Code:
    @echo off
    
    TITLE MYSETUP.CMD
    REM run wpeinit after loading ISO file
    
    cmd /q /c  "FOR %%i IN (C D E F G H I J K L N M O P Q R S T U V W X Y Z) DO IF EXIST %%i:\FIRADISK\LOADISO.CMD  cmd /k %%i:\FIRADISK\LOADISO.cmd"
    
    TITLE MYSETUP.CMD
    REM find RAMDRIVE with ISO contents
    for %%I 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 if exist %%I:\ISO\sources\install.wim set RAMdrive=%%I:
    If NOT "%RAMdrive%"=="" echo Found Install.wim at %RAMdrive%\sources\install.wim
    IF "%RAMdrive%"=="" (
    echo ERROR - COULD NOT FIND INSTALL.WIM!
    pause
    pause
    REM Reboot
    goto :EOF
    )
    
    echo Trying to run setup (with Repair option) from X: drive
    REM if exist X:\Setup.exe X:\setup.exe
    
    echo X:\Setup.exe not found!
    echo Looking for setup.exe in \sources on DVD ISO
    If exist %RAMdrive%\sources\setup.exe  (
    %RAMdrive%
    REM setup will use its path to find the install.wim
    echo Launching %RAMdrive%\sources\setup.exe
    %RAMdrive%\sources\setup.exe
    goto :RBT
    )
    
    
    echo looking for setup in root of DVD ISO
    If exist %RAMdrive%\setup.exe  (
    %RAMdrive%
    REM setup will use its path to find the install.wim
    %RAMdrive%\setup.exe
    goto :RBT
    )
    
    
    REM if not then just call setup in root of boot.wim and point it at install.wim
    
    if exist X:\sources\Setup.exe X:\sources\setup.exe /installfrom:%RAMdrive%\sources\install.wim
    if exist X:\Setup.exe X:\setup.exe /installfrom:%RAMdrive%\sources\install.wim
    goto :RBT
    
    
    :BAD
    dir X:\ /b
    echo Cannot find X:\Setup.exe !
    @echo Press a key to reboot now...
    pause
    
    :RBT
    wpeutil reboot
    pause
    Just like I was instructed to from the grub forums but nothing. I got XP and everything else loading from that USB hard drive except 7.
     
  10. Josh Cell

    Josh Cell MDL Developer

    Jan 8, 2011
    3,513
    7,174
    120
    You're trying to create a Multiboot USB Pen-Drive ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. laddanator

    laddanator MDL Junior Member

    Oct 13, 2009
    71
    5
    0
    #171 laddanator, Nov 21, 2011
    Last edited by a moderator: Apr 20, 2017
    No on a USB HDD but I got it all working now except I can't figured out how to chainload my bootmgr for Vista from my second partition with Grub4dos.

    This loads Win7 AIO I made with your program just fine

    Code:
    title 11. Windows 7 SP1 Setup & Vista-Win7 Repair Console\nNovember 2011. Password Tools, Boot Fix Tools and More
    password pizza
    --set-root /SOURCES/BOOT.WIM 
    chainloader /BOOTMGR
    I put Vista on partition 2 because of the sources folder conflict but can't figure out the grub command. I know it (hd0,1) is the root but not sure the rest
     
  12. Josh Cell

    Josh Cell MDL Developer

    Jan 8, 2011
    3,513
    7,174
    120
    #172 Josh Cell, Nov 21, 2011
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Well, the tool will format and rebuild all partitions, I'll test an method to integrate the Windows Vista + Windows 7 in one WIM, by Boot.wim merging in the WinAIO Maker ...

    _______________________________________________________________________________

    Planning the USB Backup / Restore with MBR Data for the next update, the user can make an full backup of your USB Drive transporting all to an .ISO Image ;

    Can restore with one click selecting the ISO When backed-up the USB Data .
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. Josh Cell

    Josh Cell MDL Developer

    Jan 8, 2011
    3,513
    7,174
    120
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. ItielMaN

    ItielMaN MDL Senior Member

    Apr 30, 2011
    367
    59
    10
    Nice :)
    Any changes except the UI & Backup and Restore options?
     
  15. Josh Cell

    Josh Cell MDL Developer

    Jan 8, 2011
    3,513
    7,174
    120
    Using other method to change the options ...

    Faster ...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. calpo

    calpo MDL Member

    Apr 23, 2010
    212
    60
    10
    @Josh Cell

    As you said, this tool will not work with Windows XP, right ?
     
  17. user_hidden

    user_hidden MDL Expert

    Dec 18, 2007
    1,034
    1,062
    60
    yup only version 1.0 worked on XP
     
  18. Josh Cell

    Josh Cell MDL Developer

    Jan 8, 2011
    3,513
    7,174
    120
    Planning add support for Windows XP for create Vista / 7 / Server in this OS :french_blank:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. user_hidden

    user_hidden MDL Expert

    Dec 18, 2007
    1,034
    1,062
    60
    that would be nice :cool:
     
  20. Josh Cell

    Josh Cell MDL Developer

    Jan 8, 2011
    3,513
    7,174
    120
    Done with drive backup / restore including the MBR Boot code, in an image ...

    Coding the XP support, is hard, many lines of replacement ...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...