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
2120 replies to this topic

#1951
cdob

cdob

    MSFN Expert

  • Member
  • PipPipPipPipPipPip
  • 1,000 posts

if i connect it on 3.0 ports, it doesn't boot!!

There are no USB 3 drivers at Windows 7 by default, hence the missing USB disk connected to USB 3.0 port.

no problem...i use 2.0 port

Yes, this works. There are USB 2 driver by default.


How to remove advertisement from MSFN

#1952
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,380 posts
  • OS:none specified
  • Country: Country Flag

EDIT:
probabibly i found the mistake: with BOOTICE i hid partition used with Winsetup then i tried to boot windows and it doesn't work !!!

Maybe, but still that screenshot sounds more like a timing problem.
Some External USB's and particularly WD "Green" drives have been reported to be "slow" at booting.
The traditional solution (for 3.5" disks) was to power the disk before the computer, for 2.5" disks to use an external power supply and power the disk before the computer and/or do a warm boot, or enter BIOS and add boot time RAM check, anything that could provide a few seconds of "advantage", but usually that timing problem made the external disk not bootable, not "unavailable" after the setup has started :unsure: .

However, JFYI and as side note as it is not related to the issue at hand, you may want to correct the partition table on that disk, a number of softwares may NOT "like" partition entries in an order different from what is on disk.

jaclaz

#1953
majinzin

majinzin

    Newbie

  • Member
  • 23 posts
  • OS:Windows 7 x86
  • Country: Country Flag

However, JFYI and as side note as it is not related to the issue at hand, you may want to correct the partition table on that disk, a number of softwares may NOT "like" partition entries in an order different from what is on disk.


i konw....but i must change order of the partition to view movies on divx player...the player find partition only if it's the first in partition table....

i tried three time to hide and unhide partition and seems be that the problem...

#1954
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,380 posts
  • OS:none specified
  • Country: Country Flag

i konw....but i must change order of the partition to view movies on divx player...the player find partition only if it's the first in partition table....

Well, then just take care when you use MBR/partition table/partitioning/formatting related tools :).
Just in case of need (only seemingly unrelated):
http://www.911cd.net...showtopic=24392

i tried three time to hide and unhide partition and seems be that the problem...

Good :), then it is solved.

jaclaz

Edited by jaclaz, 23 March 2013 - 02:26 PM.


#1955
ilko_t

ilko_t

    MSFN Addict

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

i used beta 9, first i deleted all files of windows 7...then i used winsetup. i tried boot...when i select win7 setup on grub, i select first part of installation (partition 1) and works!! Then i aborted, i suppose that i will select the second stage of installation when system reboot . correct? old procedure has only one stage, the problem is it?

Correct. The second menu is added only for user convenience, for easy unattended setups if after first reboot BIOS boots again from USB, it simply boots the MBR on the first internal disk, just as BIOS would do if the internal disk was first in boot priority order.

i thought that was possible modify menu.lst or other files to arrive at the same result of winsetup 1.0 beta 8...

I still don't get your idea, maybe an example would help, but nothing stops you to edit menu.lst for example, or any other file, as long as you know what you are doing.


...
With all due respect :), you could change the description of WinSetupFromUSB_1-0-beta9_rc4.7z to "Experimental", instead of "Deprecated", that of WinSetupFromUSB 1.0 Beta8 from "nothing" to "Current", and post a link to:
http://code.google.c...e DownloadCount

jaclaz

I want those experimental as well as the old ones versions hidden from the default view.:
http://code.google.c.../downloads/list

Marking them as Deprecated seems to be the way to keep them hidden and still accessible. As far as I see I can add new labels, Experimental for example, but cannot hide such files.

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


#1956
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,380 posts
  • OS:none specified
  • Country: Country Flag

]I want those experimental as well as the old ones versions hidden from the default view.:
http://code.google.c.../downloads/list

Marking them as Deprecated seems to be the way to keep them hidden and still accessible. As far as I see I can add new labels, Experimental for example, but cannot hide such files.

Well, it's your files, but it seems to me a "queer" way to manage a project (or versioning).

Basically you have not on that page the "stable" 0.2.3 (which would be the "logical" thing to use if you come here the first time),
you have the 1.0beta8 (which, comeon :), is Beta since more than one year, has contributed to install more XP's than you might ever think :thumbup ), but you go around:
http://reboot.pro/to...setup/?p=170008
suggesting the beta9 (which is experimental BUT not listed by default).

IMHO a project should have:
  • last "previous" versions (just in case) <- let's say 0.2.3 <-Marked as "Previous stable"
  • "current" version <- the 1.0Beta8, aptly renamed to 1.0 <- Marked as "current"
  • "experimental" version <- the 1.0Beta9, aptly renamed to 1.0Beta <- Marked as "experimental"
these three versions should be available on the "default list", while all the versions but the three above should be not listed by default, but available in the advanced list:
  • "previous" versions (just in case) <- let's say anything before 0.2.3 and all the 1.0beta's <-Marked as "Deprecated"

jaclaz

#1957
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,722 posts
  • OS:none specified
  • Country: Country Flag
I agree, the versioning is a little mess. The reason not to clear it up already is that I had long to-do list with enhancements and futures for "stable" 1.x version, but due to the lack of time to code and thoroughly test them I just add another beta. Regular users seem to not mind much, I guess first time users are put off the word beta.
To be fixed soon though.

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


#1958
semiono

semiono
  • Member
  • 4 posts
  • OS:XP Pro x64
  • Country: Country Flag
Please help me, Is it possible to hide cmd.exe under GUI mode of install WinXP (x64) ? Where is the start it in a script? How I do to make it with hidec.exe /w command ?
And thanks for Your good works! My nLite WinXP64 good working with the tools!

#1959
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,722 posts
  • OS:none specified
  • Country: Country Flag
You may edit \I386\setup.cmd, which is cab compressed to setup.cm_ and remove the line:
start /min "Keeping USB disk mounted workarround, do NOT close!" pushd %CDDRIVE%

Why is it bothering you? It's been put there on purpose. In some cases during PnP detection the USB disk may disappear, then Setup, naturally, complains about missing source files. That window keeps open handle to the USB disk during GUI mode, so it does not disappear. All this to work as expected, in the next version of the program another line is added just above this one:
%CDDRIVE%

If you want to keep that window, but hide it, start pushd by hidec.exe or any other alternative. Add the relevant lines in txtsetup.sif in the corresponding small ISO file and the file itself in I386 or AMD64.

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


#1960
semiono

semiono
  • Member
  • 4 posts
  • OS:XP Pro x64
  • Country: Country Flag

If you want to keep that window, but hide it, start pushd by hidec.exe or any other alternative.

Yes, it i need. Thanks!

This is one line that show cmd.exe ?

start /min "Keeping USB disk mounted workarround, do NOT close!" pushd %CDDRIVE%


hidec /w pushd %CDDRIVE% will be correct for me?

Only large and very cool file setup.cmd difficult to understand the beginner :)

Edited by semiono, 04 April 2013 - 08:46 AM.


#1961
ilko_t

ilko_t

    MSFN Addict

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

This is one line that show cmd.exe ?

Yes.

hidec /w pushd %CDDRIVE% will be correct for me?

I have not used it. Looking at switches I would not use /w, since we want the script to continue.

hidec.exe has 2/45 detection ratio by AntiVir and Ikarus on Virustotal.com . You may want to write to these companies to exclude it from their signatures or use it as is if that doesn't bother you.

I'd also try RunWait.exe which has a switch to disable SysWow64 redirection (you were installing XP x64, right?) from ImDisk package or cWnd.

On a second thought- you do not have to include the file in txtsetup.sif, just put it somewhere on the USB disk, say in WINSETUP folder and use the %CDDRIVE% variable to launch it. At that time it refers to the USB disk root, i.e.
%CDDRIVE%\WINSETUP\the_file_you_chose.exe parameters

For example, NOT TESTED:
%CDDRIVE%\WINSETUP\cwnd.exe /hstart "cmd /c pushd %CDDRIVE%"
Or
%CDDRIVE%\WINSETUP\runwait.exe /64 /hide cmd /c start pushd %CDDRIVE%

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


#1962
semiono

semiono
  • Member
  • 4 posts
  • OS:XP Pro x64
  • Country: Country Flag
Thank You for help!

#1963
semiono

semiono
  • Member
  • 4 posts
  • OS:XP Pro x64
  • Country: Country Flag
title First part of Windows SP2 x64 setup from partition 0
...
title Second part of Windows SP2 x64 setup/Boot first internal disk
...

Why need?
I've removed second entry and it works normal.

---

And the same this good works with my Win_XP_x64_SP2_nLite
rem start /min "Keeping USB disk mounted workarround, do NOT close!" pushd %CDDRIVE%

:rolleyes:

Edited by semiono, 06 April 2013 - 04:48 PM.


#1964
ilko_t

ilko_t

    MSFN Addict

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

title First part of Windows SP2 x64 setup from partition 0
...
title Second part of Windows SP2 x64 setup/Boot first internal disk
...

Why need?
I've removed second entry and it works normal.

Because one can have fully unattended setup once the partitioning screen was passed. If computer is set to boot from USB, the second part will start and continue automatically.
You can safely remove all the menus for the second part of Setup, or simply do not use them ;)

And the same this good works with my Win_XP_x64_SP2_nLite

rem start /min "Keeping USB disk mounted workarround, do NOT close!" pushd %CDDRIVE%

:rolleyes:

As already mentioned- this is required for some BIOS/USB stick combinations, NOT always. If it works on your combination without that line then fine, but keep it in mind if you come across such combination.
As for me personally, I'd rather keep that line and cause tiny little user inconvenience and annoyance by that bad, nasty little minimized black window, but have as close as possible to 100% success rate of properly completed and successful Setup ;)

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


#1965
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,380 posts
  • OS:none specified
  • Country: Country Flag
OT but not much :unsure: , you can probably do the same by running something *like* these :unsure:
http://www.bgreco.net/reminder.php
http://code.google.c...drive-reminder/

Or put together something in AutoIt ...
http://www.autoitscr...t-your-usb-key/

jaclaz

Edited by jaclaz, 07 April 2013 - 10:58 AM.


#1966
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,722 posts
  • OS:none specified
  • Country: Country Flag
Jaclaz, what are you referring to? Do the same like what, the pushd cmd window?

AutoIt script would not work that early, this is before the real GUI mode part starts.
I was thinking of a simple program in other language which opens and keeps a handle to the USB disk volume(s), but haven't moved any further yet in this direction.

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


#1967
cdob

cdob

    MSFN Expert

  • Member
  • PipPipPipPipPipPip
  • 1,000 posts

I was thinking of a simple program in other language which opens and keeps a handle to the USB disk volume(s), but haven't moved any further yet in this direction.

Idea, not tested: Can we use fake setup.exe?
Copy setup.exe "%temp%"
create a file "%temp%\setup.cmd" (push to USB disk and wait)
pushd "%temp%"
start setup.exe
popd

#1968
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,380 posts
  • OS:none specified
  • Country: Country Flag

Jaclaz, what are you referring to? Do the same like what, the pushd cmd window?

AutoIt script would not work that early, this is before the real GUI mode part starts.
I was thinking of a simple program in other language which opens and keeps a handle to the USB disk volume(s), but haven't moved any further yet in this direction.

Yep :), that was also my general idea a very simple program keeping a handle open and not "needing" a CMD Window, didn't thought much to the environment in which it is run, sorry :blushing: .
Of course one could use nircmd to simply hide that window :unsure: but it would be a little like "cheating" :unsure:

jaclaz

#1969
ilko_t

ilko_t

    MSFN Addict

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

I was thinking of a simple program in other language which opens and keeps a handle to the USB disk volume(s), but haven't moved any further yet in this direction.

Idea, not tested: Can we use fake setup.exe?
Copy setup.exe "%temp%"
create a file "%temp%\setup.cmd" (push to USB disk and wait)
pushd "%temp%"
start setup.exe
popd

Brilliant idea, thanks, no need of extra external files.
Will test it soon and report.

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


#1970
ilko_t

ilko_t

    MSFN Addict

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

I was thinking of a simple program in other language which opens and keeps a handle to the USB disk volume(s), but haven't moved any further yet in this direction.

Idea, not tested: Can we use fake setup.exe?
Copy setup.exe "%temp%"
create a file "%temp%\setup.cmd" (push to USB disk and wait)
pushd "%temp%"
start setup.exe
popd


This worked perfectly, thanks again
...
if not exist %SystemRoot%\temp md %SystemRoot%\temp >> %SystemRoot%\WinPreSetup.log
copy setup.exe %SystemRoot%\temp >> %SystemRoot%\WinPreSetup.log
echo %CDDRIVE% > %SystemRoot%\temp\setup.cmd
echo pushd %CDDRIVE% >> %SystemRoot%\temp\setup.cmd
echo pause >> %SystemRoot%\temp\setup.cmd
pushd %SystemRoot%\temp
echo Launching setup.exe in temp >> %SystemRoot%\WinPreSetup.log
start %SystemRoot%\temp\setup.exe
popd
...

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


#1971
leonsmith17

leonsmith17
  • Member
  • 2 posts
  • OS:none specified
  • Country: Country Flag
how does this even work...??

I have tried this over and over and still not running.


I am trying to install XP on a net book (Acer aspire one) and it starts off fine but when it get to the Install options (Enter=Continue Installation of window xp, E=repair & F3=Exit) i am not able to make a selection at all..

Its like it doesn't even care about what i press on the keyboard unless its cancel "F3"and that just stuff up the entire install process...


Has anyone had this issue and care to advise a resolution.



P>S this is probably the 5 software I've try and still all fail.

And I have my own XP key to use so...

Thank you.

#1972
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,722 posts
  • OS:none specified
  • Country: Country Flag
Are you saying that at this point when you press ENTER key on the keyboard nothing happens, but F3 quits the setup? Does "R" key gets you to Recovery console?
Is it this point?

Posted Image

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


#1973
leonsmith17

leonsmith17
  • Member
  • 2 posts
  • OS:none specified
  • Country: Country Flag
yes both enter and R don't work but i can exit setup.
Sorry if my first reply didnt make sense.

Have you had the above or heard of the above issue?

#1974
ilko_t

ilko_t

    MSFN Addict

  • Super Moderator
  • 1,722 posts
  • OS:none specified
  • Country: Country Flag
Never seen similar issue...

What's your source, have tried unmodified MSDN one?
What version of the program have you used?

Added:
When you get to the grub4dos menu First part and Second part of setup, on bluish background, does pressing "c" gets you to grub4dos command prompt?
"Esc" will bring back the menus.

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


#1975
eadmaster

eadmaster
  • Member
  • 2 posts
  • OS:none specified
  • Country: Country Flag
I'm trying to install Win2k3 from a USB pendrive (single partition) into a USB-HDD (2nd partition, 3GB, FAT32-formatted).

The first installation step goes well, but after the reboot i get the BSOD:
Stop:  c000021a {Fatal System Error}
The Session Manager Initialization system process terminated unexpectedly with a status of ...
The system has been shut down.

Edited by eadmaster, 02 May 2013 - 06:08 AM.





20 user(s) are reading this topic

0 members, 20 guests, 0 anonymous users



How to remove advertisement from MSFN