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

Jump to content


  • 100 Pages +
  • « First
  • 76
  • 77
  • 78
  • 79
  • 80
  • 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

#1541 User is offline   laddanator 

  • Member
  • PipPip
  • Group: Members
  • Posts: 126
  • Joined: 06-August 11
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 19 November 2011 - 01:46 PM

Sorry if I missed something but I would like to donate what I can to you and the donate tab on your program doesn't do anything. Words cant thank you enough for this and I will like to send a little donation but where to?


#1542 User is offline   laddanator 

  • Member
  • PipPip
  • Group: Members
  • Posts: 126
  • Joined: 06-August 11
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 06 December 2011 - 04:38 PM

Is this the only line in txtsetup that gets edited

[SetupData]
SetupSourcePath ="\WINSETUP\XPpSP33\"
MajorVersion = 5
MinorVersion = 1
DefaultPath=\WINDOWS
OsLoadOptions = "/fastdetect /noguiboot /nodebug"
ForceScsi = 1
ForceDiskClass = 1
ForceCDRom = 1
Architecture = i386
DriverCabName=driver.cab
ProductType = 0
LoadIdentifier  = %wks_id%
LoadIdentifierCancel  = %cancel_id%
LoadIdentifierWin9x  = %9x_id%
BaseVideoLoadId = %wks_id_vga%
RequiredMemory = 67108864
Pagefile = 115,250
SetupSourceDevice=\ArcName\multi(0)disk(0)rdisk(1)partition(1)
BootPath="\WINSETUP\XPpSP33\I386\"
BootDevice="multi(0)disk(0)rdisk(1)partition(1)" 


The reason I ask is because when I update my source files, I can just copy the new files to the WINSETUP folder already on my USB Hard Drive so I dont have to rerun the program every time and just add the line above to my new txtsetup file.

#1543 User is offline   ilko_t 

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

Posted 07 December 2011 - 12:40 PM

The boot group of the USB drivers is also changed. There are also a few lines added to SourceDisksFiles section.
Folder name is tied up to the lines you quoted, winsetup.lst and setup.cmd in \I386 folder.

If you want to go that route- get Beyond Compare:
http://www.scootersoftware.com/

Trial version works for looong time. Compare original txtsetup.sif in the small ISO file and the original in \I386 folder. Compare I386 folder structure on USB disk and in your source. I could be forgetting something.

#1544 User is offline   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,436
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 07 December 2011 - 02:10 PM

Just for the record, Examdiff is Freeware and have similar (or at least "enough") comparison capabilities:
http://www.prestosof...dp_examdiff.asp

jaclaz

#1545 User is offline   tomasz86 

  • http://www.windows2000.tk
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,220
  • Joined: 27-November 10
  • OS:Windows 2000 Professional
  • Country: Country Flag

Posted 07 December 2011 - 03:00 PM

KDiff3 is also good for comparing folders and text files. And it's free ;) There's also an explorer plugin for it.

#1546 User is offline   laddanator 

  • Member
  • PipPip
  • Group: Members
  • Posts: 126
  • Joined: 06-August 11
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 07 December 2011 - 06:25 PM

What I did was changed the folder names from example...XPhSP3 to Home and XPpSP3 to Pro XPpSP32 to PROCORP and so on (I have three diff Pros so it gets confusing). I want to take some of the confusion out. I have always used them folder names. When I was multibooting from CD. I changed the lines in setupdata and hex edit my SETUPLDR.BIN(change the I386 part to HOME, PRO1, MCE1 and so on in SETUPLDR.BIN. You can only use 4 to replace I386) I like ilko_t method much better. Anyway if I change the folder name to anything different then the ones the WintoUsb program sets and change the path in setupdata section, the computer install the files to C but on the reboot and the install starts, it stops and says can't find /WINSETUP/XPHSP3 so the path must be defined other than setupdata? I would like to change all path entries from XPhSP3 to HOME and so on and not sure where else they are defind.

#1547 User is offline   ilko_t 

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

Posted 07 December 2011 - 09:38 PM

View Postjaclaz, on 07 December 2011 - 02:10 PM, said:

Just for the record, Examdiff is Freeware and have similar (or at least "enough") comparison capabilities:
http://www.prestosof...dp_examdiff.asp

jaclaz

View Posttomasz86, on 07 December 2011 - 03:00 PM, said:

KDiff3 is also good for comparing folders and text files. And it's free ;) There's also an explorer plugin for it.
I tried them both along few others in the past, Beyond Compare is for me by far more intuitive, easy and with more options, comes like free as well.


View Postladdanator, on 07 December 2011 - 06:25 PM, said:

What I did was changed the folder names from example...XPhSP3 to Home and XPpSP3 to Pro XPpSP32 to PROCORP and so on (I have three diff Pros so it gets confusing). I want to take some of the confusion out. I have always used them folder names. When I was multibooting from CD. I changed the lines in setupdata and hex edit my SETUPLDR.BIN(change the I386 part to HOME, PRO1, MCE1 and so on in SETUPLDR.BIN. You can only use 4 to replace I386) I like ilko_t method much better. Anyway if I change the folder name to anything different then the ones the WintoUsb program sets and change the path in setupdata section, the computer install the files to C but on the reboot and the install starts, it stops and says can't find /WINSETUP/XPHSP3 so the path must be defined other than setupdata? I would like to change all path entries from XPhSP3 to HOME and so on and not sure where else they are defind.


Please read again:

View Postilko_t, on 07 December 2011 - 12:40 PM, said:

The boot group of the USB drivers is also changed. There are also a few lines added to SourceDisksFiles section.
Folder name is tied up to the lines you quoted, winsetup.lst and setup.cmd in \I386 folder.

If you want to go that route- get Beyond Compare:
http://www.scootersoftware.com/

Trial version works for looong time. Compare original txtsetup.sif in the small ISO file and the original in \I386 folder. Compare I386 folder structure on USB disk and in your source. I could be forgetting something.


In short, edit these, if I am not missing something:
1) winsetup.lst
2) txtsetup.sif in the small ISO file
3) setup.cmd in \WINSETUP\XP.....\I386

#1548 User is offline   laddanator 

  • Member
  • PipPip
  • Group: Members
  • Posts: 126
  • Joined: 06-August 11
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 07 December 2011 - 10:43 PM

Quote

In short, edit these, if I am not missing something:
1) winsetup.lst
2) txtsetup.sif in the small ISO file
3) setup.cmd in \WINSETUP\XP.....\I386


I rode the short bus growing up! :) I am not sure how I missed the setup.cmd part, sorry. I am with you now. Looks like allot in that setup.cmd file. I may just leave well enough alone. Thanks for all of your help, ilko_t


All I should have to do is replace this line

rem XPhSP3 string is dynamically changed by WinSetupFromUSB when prepariung source
set TAGFILE=\WINSETUP\XPhSP3


with this

rem XPhSP3 string is dynamically changed by WinSetupFromUSB when prepariung source
set TAGFILE=\WINSETUP\Home



Already changed my txtsetup to this

[SetupData]
SetupSourcePath ="\WINSETUP\HOME\"
MajorVersion = 5
MinorVersion = 1
DefaultPath=\WINDOWS
OsLoadOptions = "/fastdetect /noguiboot /nodebug"
ForceScsi = 1
ForceDiskClass = 1
ForceCDRom = 1
Architecture = i386
DriverCabName=driver.cab
ProductType = 0
LoadIdentifier  = %wks_id%
LoadIdentifierCancel  = %cancel_id%
LoadIdentifierWin9x  = %9x_id%
BaseVideoLoadId = %wks_id_vga%
RequiredMemory = 67108864
Pagefile = 115,250
SetupSourceDevice=\ArcName\multi(0)disk(0)rdisk(1)partition(1)
BootPath="\WINSETUP\HOME\I386\"
BootDevice="multi(0)disk(0)rdisk(1)partition(1)"



My menu.lst entry

title 01. XP Setup With MOST Driver\nOctober 2011
password --md5 $1$A$hzYlFap3SLNNQ/tA7c3.S.
# find the ISO folder by looking for a marker file
debug off
find --set-root /laddsbootusb.tag
clear
echo
# list all files in the /WINSETUP folder so the user can see them
ls ()/WINSETUP/ISO/
echo
# Ask user which iso they want (name is converted to uppercase as /u is specified)
set /p /u install=Enter XP Filename WITH NO .ISO EXTENSION. (ex.HOME ) :  
if "%install%"=="" echo No iso file specified! && configfile /menu.lst
clear
# check if user entered a valid filename with no ISO extension!
ls /WINSETUP/ISO/%install%.iso || echo Cannot find /WINSETUP/ISO/%install%.iso !!! && pause --wait=3 && configfile (bd)/menu.lst
echo Loading /WINSETUP/ISO/%install%.iso - please wait ...
#set root drive to USB stick
find --set-root /WINSETUP/ISO/%install%.iso
# run the grub4dos map command and specify the iso file we want to load
map --unmap=0:0xff
map --unhook
ls /WINSETUP/ISO/%install%.iso || find --set-root --ignore-cd /WINSETUP/ISO/%install%.iso
map /WINSETUP/ISO/%install%.iso (0xff) || map --mem /WINSETUP/ISO/%install%.iso (0xff)
savedefault 2
checkrange 0x00,0x01 read 0x8280 && configfile /BOOTWS/fd.lst
checkrange 8 calc *0x475 & 0xFF && configfile /BOOTWS/8.lst
checkrange 7 calc *0x475 & 0xFF && configfile /BOOTWS/7.lst
checkrange 6 calc *0x475 & 0xFF && configfile /BOOTWS/6.lst
checkrange 5 calc *0x475 & 0xFF && configfile /BOOTWS/5.lst
checkrange 4 calc *0x475 & 0xFF && configfile /BOOTWS/4.lst
checkrange 3 calc *0x475 & 0xFF && configfile /BOOTWS/3.lst
checkrange 2 calc *0x475 & 0xFF && configfile /BOOTWS/2.lst
checkrange 1 calc *0x475 & 0xFF && configfile /BOOTWS/1.lst
boot



I created a folder called ISO and copied the small iso files there. So when the files were listed so you could type the name of the XP you want to install, it would only show the iso stuff and not everything else. This works like a charm. just type (example) home and off the install goes

This post has been edited by laddanator: 07 December 2011 - 10:55 PM


#1549 User is offline   laddanator 

  • Member
  • PipPip
  • Group: Members
  • Posts: 126
  • Joined: 06-August 11
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 08 December 2011 - 01:01 PM

ilko_t what causes setup.cmd to run. Is XP design to run anything in the setup.cmd if present in the I386 folder?

#1550 User is offline   cdob 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 876
  • Joined: 29-September 05

Posted 08 December 2011 - 01:27 PM

View Postladdanator, on 08 December 2011 - 01:01 PM, said:

what causes setup.cmd to run. Is XP design to run anything in the setup.cmd if present in the I386 folder?

XP is designed to launch setup.exe.

A fake setup.exe is used to lauch setup.cmd.
Source code is at WinSetup\files\winsetup\PyronSetup\setup.c

Pyron created this approach http://www.msfn.org/...rivers-from-cd/
This version calls presetup.cmd. A new name was chosen to keep old solutions working.

#1551 User is offline   zhelev81 

  • Group: Members
  • Posts: 1
  • Joined: 09-December 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 09 December 2011 - 05:37 AM

Hello ,

I am interested in making Multy boot flash drive .

I would like to have on it :

Win xp

Win 7

Hirens boot cd

can you please help me with some tutorial how to do it ?

Thank you.

#1552 User is offline   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 8,325
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 09 December 2011 - 05:41 AM

NO no-one here can as you are asking for help with warez\illegal software!!!

(Hirens)

Please take some time to review our forum rules especially #1

#1553 User is offline   laddanator 

  • Member
  • PipPip
  • Group: Members
  • Posts: 126
  • Joined: 06-August 11
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 19 December 2011 - 06:46 PM

.I made a grub4dos boot CD to load my USB Sticks menu.lst on older computers. If I boot straight from the USB Stick, XP installs fine (I used the 1.0 beta 7) but if I boot from CD and pass the torch to my USB Stick, XP gives me an error FILE \WINSETUP\HOME\I386\biosinfo.inf cannot be read...error code 14. I have used Plop in the pass to start my USB Stick but its not 100%. Everything I have will load from the USB Stick if I use the BootCD to load the menu.lst except XP. I realize that Grub4Dos was not meant to pass bios codes but just curious if the biosinfo.inf could be altered? Let me repeat. If I boot the computer with the USB Stick, everything including XP loads fine. If I boot with my BootCD and load the menu.lst from USB Stick (I use a tag file) everything but XP will load?

#1554 User is offline   ilko_t 

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

Posted 19 December 2011 - 06:58 PM

In this case, boot from a CD or other source than the USB disk, there is no ARC path to the USB disk or it's not valid after the grub4dos mappings, Setup error is a bit misleading. There is nothing wrong with biosinfo.inf, it's the wrong path to it and Setup cannot read it.

Need to think a bit in this direction, it's possible the fix is easy.

#1555 User is offline   laddanator 

  • Member
  • PipPip
  • Group: Members
  • Posts: 126
  • Joined: 06-August 11
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 19 December 2011 - 07:12 PM

View Postilko_t, on 19 December 2011 - 06:58 PM, said:

In this case, boot from a CD or other source than the USB disk, there is no ARC path to the USB disk or it's not valid, Setup error is a bit misleading. There is nothing wrong with biosinfo.inf, it's the wrong path to it and Setup cannot read it.


I just made a Dec Complete XP DVD. I will use it for plan B. I hope Grub4Dos will in the future maybe pass the ARC to USB. I was hoping this to be a better alternative to PLop. On XP machines, I have found it's 50-50 if they will boot USB and Vista and up like 95-10. If I have a Vista or Win 7 not boot to USB for some strange reason, the Grub4Dos CD loads my USB menu.lst and Vista or 7 install fine. I make a AIO XP DVD but I have to hex the Setupldr.bin to match my folder name (can only use 4 letters and or numbers). Of course I have to change the path in txtsetup.sif like your program. I like booting and using USB, much faster but nothing is as reliable as CD or DVD booting.

#1556 User is offline   laddanator 

  • Member
  • PipPip
  • Group: Members
  • Posts: 126
  • Joined: 06-August 11
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 19 December 2011 - 07:13 PM

Quote

Need to think a bit in this direction, it's possible the fix is easy.


What if the biosinfo file was added to the small ISO to load to memory and hook it that way?

Maybe add a line to the path in the fd.lst?

This post has been edited by laddanator: 19 December 2011 - 07:21 PM


#1557 User is offline   ilko_t 

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

Posted 19 December 2011 - 07:21 PM

View Postladdanator, on 19 December 2011 - 07:13 PM, said:

Quote

Need to think a bit in this direction, it's possible the fix is easy.


What if the biosinfo file was added to the small ISO to load to memory and hook it that way?
Wouldn't help. Setup will complain about the next file, whichever it is, if the path in Txtsetup.sif to boot and source files is not valid.

#1558 User is offline   laddanator 

  • Member
  • PipPip
  • Group: Members
  • Posts: 126
  • Joined: 06-August 11
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 19 December 2011 - 07:26 PM

Quote

Wouldn't help. Setup will complain about the next file, whichever it is, if the path in Txtsetup.sif to boot and source files is not valid.


Very interesting :wacko: I will work on it some. I never give up! lol Maybe there is a fix. If not the good Ole'DVD will be just fine as a backup. Can't thank you enough, ilko_t

By the way, forgot to mention on my computer, I can pass the torch to USB from Grub4Dos BootCD and XP loads fine.

Asus Model:M4A88TD-M/USB3. Got this board last Dec

This post has been edited by laddanator: 19 December 2011 - 07:32 PM


#1559 User is offline   laddanator 

  • Member
  • PipPip
  • Group: Members
  • Posts: 126
  • Joined: 06-August 11
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 19 December 2011 - 07:55 PM

What does this do


default /windefault?


in the header of the winsetup.lst

This post has been edited by laddanator: 19 December 2011 - 08:01 PM


#1560 User is offline   ilko_t 

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

Posted 19 December 2011 - 08:35 PM

View Postladdanator, on 19 December 2011 - 07:55 PM, said:

What does this do


default /windefault?


in the header of the winsetup.lst
Sets another file where default entry of the sub-menu in winsetup.lst is written to. E.g. if user once starts Text mode, GUI mode will be set as default, thus next reboot if left unattended GUI mode will start automatically.
http://diddy.boot-la...enu.htm#default


Quote

By the way, forgot to mention on my computer, I can pass the torch to USB from Grub4Dos BootCD and XP loads fine.
Good to know, thanks.

Share this topic:


  • 100 Pages +
  • « First
  • 76
  • 77
  • 78
  • 79
  • 80
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

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



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