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

Jump to content


  • 100 Pages +
  • « First
  • 20
  • 21
  • 22
  • 23
  • 24
  • 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

#421 User is offline   HKCU 

  • Group: Members
  • Posts: 5
  • Joined: 22-January 08

Posted 22 April 2009 - 12:41 AM

Hi ilko. Maybe you should take a look at this auction on ebay:

Install Windows From USB

http://cgi.ebay.com/Install-Windows-From-U...93%3A1|294%3A50


#422 User is offline   nai22 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 09-May 08

Posted 22 April 2009 - 04:33 AM

@ ilko t

please i need your help :hello:

my source is a nlite integrated xp sp3 version with guirunonce command like this

[GuiRunOnce]
"%SystemRoot%\System32\nLite.cmd"


but it doesnt run this script, so all my progs like painnet, skype etc. couldnt be installed

please i ve tried everything, read all topics but couldnt find any solutions

ps. im using winsetupfromusb latest version 0.2.1

thanx in advance for replying. winsetupfromusb is realy great tool

best regards

#423 User is offline   jaclaz 

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

Posted 22 April 2009 - 04:53 AM

View PostHKCU, on Apr 22 2009, 08:41 AM, said:

Hi ilko. Maybe you should take a look at this auction on ebay:

Install Windows From USB

http://cgi.ebay.com/Install-Windows-From-U...93%3A1|294%3A50



Hmm. the seller, besides selling something he does not own, is clearly a jerk.

He also sells:
a Vista WAREZ :ph34r: release
http://cgi.ebay.com/Windows-Vista-Lite-Mix...%3A1%7C294%3A50


Look how the "positive" feedbacks are made in groups of the same "contented customer" thanking him like 13 times in 7 minutes:
http://feedback.ebay.com/ws/eBayISAPI.dll?...s=25&page=8

If anyone has an e-bay account, he should be reported as a dishonest seller.

jaclaz

#424 User is offline   ilko_t 

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

Posted 22 April 2009 - 05:34 AM

View PostHKCU, on Apr 21 2009, 10:41 PM, said:

Hi ilko. Maybe you should take a look at this auction on ebay:...


Thanks for that, I have reported the seller. Hopefully ebay will take an action against him.

View Postnai22, on Apr 22 2009, 02:33 AM, said:

@ ilko t

please i need your help :hello:

my source is a nlite integrated xp sp3 version with guirunonce command like this

[GuiRunOnce]
"%SystemRoot%\System32\nLite.cmd"


but it doesnt run this script, so all my progs like painnet, skype etc. couldnt be installed...


Please put in a zip archive and attach the following files, remove product code and personal details if present:

USB_stick\$WIN_NT$.~BT\winnt.sif
USB_stick\$WIN_NT$.~LS\I386\tempunat.inf
nLite.cmd wherever it is on USB stick
\WINDOWS\SYSTEM32\$winnt$.inf <--- this is where you installed windows to
\WINDOWS\System32\nLite.cmd

#425 User is offline   nai22 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 09-May 08

Posted 22 April 2009 - 07:34 AM

View Postilko_t, on Apr 22 2009, 06:34 AM, said:

View PostHKCU, on Apr 21 2009, 10:41 PM, said:

Hi ilko. Maybe you should take a look at this auction on ebay:...


Thanks for that, I have reported the seller. Hopefully ebay will take an action against him.

View Postnai22, on Apr 22 2009, 02:33 AM, said:

@ ilko t

please i need your help :hello:

my source is a nlite integrated xp sp3 version with guirunonce command like this

[GuiRunOnce]
"%SystemRoot%\System32\nLite.cmd"


but it doesnt run this script, so all my progs like painnet, skype etc. couldnt be installed...


Please put in a zip archive and attach the following files, remove product code and personal details if present:

USB_stick\$WIN_NT$.~BT\winnt.sif
USB_stick\$WIN_NT$.~LS\I386\tempunat.inf
nLite.cmd wherever it is on USB stick
\WINDOWS\SYSTEM32\$winnt$.inf <--- this is where you installed windows to
\WINDOWS\System32\nLite.cmd


thank you for replying

and here are my files

Attached File(s)

  • Attached File  files.zip (1.79K)
    Number of downloads: 64


#426 User is offline   ilko_t 

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

Posted 22 April 2009 - 07:43 AM

Was nLite.cmd in \windows\system32\ ?
Was directory C:\Install\ present on the target computer?

Please attach USB_stick\$WIN_NT$.~LS\I386\presetup.cmd and c:\dir.txt from your computer, which is made after running this:

dir /s /a U: > c:\dir.txt
Replace U: with the drive letter of your USB stick.

#427 User is offline   nai22 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 09-May 08

Posted 22 April 2009 - 08:37 AM

View Postilko_t, on Apr 22 2009, 08:43 AM, said:

Was nLite.cmd in \windows\system32\ ?
Was directory C:\Install\ present on the target computer?

Please attach USB_stick\$WIN_NT$.~LS\I386\presetup.cmd and c:\dir.txt from your computer, which is made after running this:

dir /s /a U: > c:\dir.txt
Replace U: with the drive letter of your USB stick.


yes nlite.cmd was in \windows\system32\ (because its from nlite.cm_ \$WIN_NT$.~LS\I386\

yes install directory was present because i put it \$WIN_NT$.~LS\$OEM$\$1\ before

sorry i cant find any "c:\dir.txt"

yes my setup-usbstick always get u: as driveletter, i think its ok so, maybe i dont need to make an extra directory "install", cause all these guirunonce files already exist in this folder \$WIN_NT$.~LS\I386\SVCPACK\

if i burn this xp-iso to dvd. everything went ok.
[GuiRunOnce]
"%systemroot%\system32\nlite.cmd"

Attached File(s)



#428 User is offline   jaclaz 

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

Posted 22 April 2009 - 08:42 AM

View Postnai22, on Apr 22 2009, 04:37 PM, said:

sorry i cant find any "c:\dir.txt"


Sure :), there isn't any.

Open a Console Window, (Start->Run->cmd.exe-> click OK or Start>Programs->Accessories->Command Prompt) and type in it:

View Postilko_t, on Apr 22 2009, 08:43 AM, said:

dir /s /a U: > c:\dir.txt


and press [ENTER].

A C:\dir.txt file will be created containing the output of the command dir /a /s i.e. a complete listing of files and directories on the stick.

jaclaz

This post has been edited by jaclaz: 22 April 2009 - 08:44 AM


#429 User is offline   nai22 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 09-May 08

Posted 22 April 2009 - 09:29 AM

gratie jaclaz :thumbup

and here is my dir.txt

Attached File(s)

  • Attached File  dir.zip (102.29K)
    Number of downloads: 10


#430 User is offline   ilko_t 

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

Posted 22 April 2009 - 10:08 AM

So everything is in place (C:\install\ exists, right?), but nLite.cmd is not executed. I an not aware with any issue with GUIRunOnce entries and USB setup, actually it has been used successfully since the first batch files to execute undoren.cmd and binifix.cmd.

Maybe looking at setup log files may reveal what went wrong :unsure:
Please attach the following files from the target computer:
c:\windows\setuplog.txt
c:\windows\setuperr.log
c:\windows\Setuperr.txt
c:\windows\Setupact.log

#431 User is offline   nai22 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 09-May 08

Posted 22 April 2009 - 10:57 AM

View Postilko_t, on Apr 22 2009, 11:08 AM, said:

So everything is in place (C:\install\ exists, right?), but nLite.cmd is not executed.


yes you are right, i dunno why nlite.cmd is not executed, realy strange

the origin nlite.cmd (nlite.cm_) which im using on my installation-dvd looks like this

for /f "tokens=3" %%i IN ('reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup /v "SourcePath" ^| findstr "REG_SZ"') do set SOURCE=%%i
"%Source%I386\SVCPACK\IRFA.EXE"
"%Source%I386\SVCPACK\MP3D.exe"
"%Source%I386\SVCPACK\QIP.EXE"
"%Source%I386\SVCPACK\MPUI.EXE"
"%Source%I386\SVCPACK\Skype40.exe"
"%Source%I386\SVCPACK\GIMP.EXE"
"%Source%I386\SVCPACK\XNVF.EXE"
"%Source%I386\svcpack\OpenOffice.org3.0.1.exe"
"%Source%I386\SVCPACK\PAIN.EXE"
"%Source%I386\SVCPACK\AV9_Silent.exe"
"%Source%I386\SVCPACK\PDFC.EXE"
EXIT


but this untouched nlite.cmd also didnt work on usb, thats why i made a directory called "install"with this above ssetups. thought something went wrong if the folders name look like this "$WIN_NT$.~LS"

Attached File(s)

  • Attached File  setup.zip (108.96K)
    Number of downloads: 8


#432 User is offline   nai22 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 09-May 08

Posted 22 April 2009 - 11:03 AM

in my $winnt$.inf

[GuiRunOnce]
"%SystemRoot%\System32\nLite.cmd"=""

is that normal? "=""

#433 User is offline   jaclaz 

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

Posted 22 April 2009 - 11:38 AM

@nai22

How do you know if the .cmd is not executed?

The whole .cmd is dependent upon a "conditional" variable definition (depending of a string in Registry) and has no error control, thus if the for loop returns an empty string and the SOURCE varaible is not defined it won't ever work.

Edit it as follows:

Quote

for /f "tokens=3" %%i IN ('reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup /v "SourcePath" ^| findstr "REG_SZ"') do set SOURCE=%%i
SET SOURCE
PAUSE
IF NOT DEFINED SOURCE ECHO "SOURCE variable is NOT defined"&PAUSE

"%Source%I386\SVCPACK\IRFA.EXE"
"%Source%I386\SVCPACK\MP3D.exe"
"%Source%I386\SVCPACK\QIP.EXE"
"%Source%I386\SVCPACK\MPUI.EXE"
"%Source%I386\SVCPACK\Skype40.exe"
"%Source%I386\SVCPACK\GIMP.EXE"
"%Source%I386\SVCPACK\XNVF.EXE"
"%Source%I386\svcpack\OpenOffice.org3.0.1.exe"
"%Source%I386\SVCPACK\PAIN.EXE"
"%Source%I386\SVCPACK\AV9_Silent.exe"
"%Source%I386\SVCPACK\PDFC.EXE"
PAUSE
EXIT


and see what happens.

Whatever value SOURCE may get, the resulting path will be:
<whatever>I386\SVCPACK\

which can NEVER be the right value:
U:\$WIN_NT$.~LS\$OEM$\$1\INSTALL


dir.txt said:

Verzeichnis von U:\$WIN_NT$.~LS\$OEM$\$1\INSTALL

22.04.2009 11:40 <DIR> .
22.04.2009 11:40 <DIR> ..
15.04.2009 20:26 30.675.464 AV9_SILENT.EXE
23.11.2008 22:28 16.175.084 GIMP.EXE
18.02.2009 01:06 9.047.574 IRFA.EXE
12.01.2009 14:49 277.856 MP3D.EXE
23.11.2008 19:42 27.763.683 MPUI.EXE
13.02.2009 12:48 138.755.378 OPENOFFICE.ORG3.0.1.EXE
10.09.2008 01:03 1.671.431 PAIN.EXE
31.12.2008 00:36 16.203.379 PDFC.EXE
04.03.2009 22:39 3.376.810 QIP.EXE
23.02.2009 01:50 15.101.049 SKYPE40.EXE
22.04.2009 11:34 329 UPDATE.CMD
23.11.2008 22:33 9.210.824 XNVF.EXE
12 Datei(en) 268.258.861 Bytes


:whistle:

jaclaz

#434 User is offline   ilko_t 

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

Posted 22 April 2009 - 12:03 PM

View Postnai22, on Apr 22 2009, 09:03 AM, said:

in my $winnt$.inf

[GuiRunOnce]
"%SystemRoot%\System32\nLite.cmd"=""

is that normal? "=""
I guess yes. This line is made out of winnt.sif and the syntax there seems correct, so I assume this "translation" is also correct.

Try modifying winnt.sif to:
[GuiRunOnce]
Command0=%SystemRoot%\System32\nLite.cmd


If still no luck- try adding START /WAIT to each line of nLite.cmd.

Ensure nLite.cmd is not executed indeed- add a line on the top:
echo TEST > c:\test.txt

After install is file c:\test.txt present?

======================

You may also try to modify the original nlite.cmd from svcpack and use this method, replace the top line with this:

SET TAGFILE=\$WIN_NT$.~LS
FOR %%h IN (U D M N O P Q R S T V W X Y) DO IF EXIST "%%h:%TAGFILE%" SET CDDRIVE=%%h:
if "%CDDRIVE%" == "" (
FOR %%h IN (C E F G H I J K L) DO IF EXIST "%%h:%TAGFILE%" SET CDDRIVE=%%h:
)
SET Source = %CDDRIVE%\$WIN_NT$.~LS\


Jaclaz- nLite.cmd he used is attached in archive in one of the previous posts. The one you quoted is produced by nLite I guess, unless he modified it.

#435 User is offline   nai22 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 09-May 08

Posted 22 April 2009 - 01:18 PM

View Postjaclaz, on Apr 22 2009, 12:38 PM, said:

@nai22

How do you know if the .cmd is not executed?

The whole .cmd is dependent upon a "conditional" variable definition (depending of a string in Registry) and has no error control, thus if the for loop returns an empty string and the SOURCE varaible is not defined it won't ever work.


because, i can start this script (windows\system32\nlite.cmd) manually by doubleclick and all programs will be installed ok. but i will follow you suggestion and add the checking options :yes:

#436 User is offline   nai22 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 09-May 08

Posted 22 April 2009 - 01:40 PM

View Postjaclaz, on Apr 22 2009, 12:38 PM, said:

Quote

for /f "tokens=3" %%i IN ('reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup /v "SourcePath" ^| findstr "REG_SZ"') do set SOURCE=%%i
SET SOURCE
PAUSE
IF NOT DEFINED SOURCE ECHO "SOURCE variable is NOT defined"&PAUSE

"%Source%I386\SVCPACK\IRFA.EXE"
"%Source%I386\SVCPACK\MP3D.exe"
"%Source%I386\SVCPACK\QIP.EXE"
"%Source%I386\SVCPACK\MPUI.EXE"
"%Source%I386\SVCPACK\Skype40.exe"
"%Source%I386\SVCPACK\GIMP.EXE"
"%Source%I386\SVCPACK\XNVF.EXE"
"%Source%I386\svcpack\OpenOffice.org3.0.1.exe"
"%Source%I386\SVCPACK\PAIN.EXE"
"%Source%I386\SVCPACK\AV9_Silent.exe"
"%Source%I386\SVCPACK\PDFC.EXE"
PAUSE
EXIT





i started this script manually
this is the result:

C:\WINDOWS\system32>for /F "tokens=3" %i IN ('reg query HKLM\SOFTWARE\Microsoft\
Windows\CurrentVersion\Setup /v "SourcePath" | findstr "REG_SZ"') do set SOURCE=
%i

C:\WINDOWS\system32>set SOURCE=U:\$WIN_NT$.~LS

C:\WINDOWS\system32>SET SOURCE
SOURCE=U:\$WIN_NT$.~LS

C:\WINDOWS\system32>PAUSE
Drücken Sie eine beliebige Taste . . .

C:\WINDOWS\system32>IF NOT DEFINED SOURCE ECHO "SOURCE variable is NOT defined"
 & PAUSE

C:\WINDOWS\system32>"U:\$WIN_NT$.~LSI386\SVCPACK\IRFA.EXE"
Das System kann den angegebenen Pfad nicht finden.

C:\WINDOWS\system32>"U:\$WIN_NT$.~LSI386\SVCPACK\MP3D.exe"
Das System kann den angegebenen Pfad nicht finden.

C:\WINDOWS\system32>"U:\$WIN_NT$.~LSI386\SVCPACK\QIP.EXE"
Das System kann den angegebenen Pfad nicht finden.

C:\WINDOWS\system32>"U:\$WIN_NT$.~LSI386\SVCPACK\MPUI.EXE"
Das System kann den angegebenen Pfad nicht finden.

C:\WINDOWS\system32>"U:\$WIN_NT$.~LSI386\SVCPACK\Skype40.exe"
Das System kann den angegebenen Pfad nicht finden.

C:\WINDOWS\system32>"U:\$WIN_NT$.~LSI386\SVCPACK\GIMP.EXE"
Das System kann den angegebenen Pfad nicht finden.

C:\WINDOWS\system32>"U:\$WIN_NT$.~LSI386\SVCPACK\XNVF.EXE"
Das System kann den angegebenen Pfad nicht finden.

C:\WINDOWS\system32>"U:\$WIN_NT$.~LSI386\svcpack\OpenOffice.org3.0.1.exe"
Das System kann den angegebenen Pfad nicht finden.

C:\WINDOWS\system32>"U:\$WIN_NT$.~LSI386\SVCPACK\PAIN.EXE"
Das System kann den angegebenen Pfad nicht finden.

C:\WINDOWS\system32>"U:\$WIN_NT$.~LSI386\SVCPACK\AV9_Silent.exe"
Das System kann den angegebenen Pfad nicht finden.

C:\WINDOWS\system32>"U:\$WIN_NT$.~LSI386\SVCPACK\PDFC.EXE"
Das System kann den angegebenen Pfad nicht finden.

C:\WINDOWS\system32>PAUSE
Drücken Sie eine beliebige Taste . . .


#437 User is offline   jaclaz 

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

Posted 23 April 2009 - 02:01 AM

As expected. :)

the .cmd runs allright, but it cannot find any file and closes without doing anything.

A more suitable .cmd:
for /f "tokens=3" %%i IN ('reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup /v "SourcePath" ^| findstr "REG_SZ"') do set SOURCE=%%i

::Adjust following to your actual path
SET RelPath=\$OEM$\$1\INSTALL
::Adjust the above to your actual path

"%Source%%RelPath%\SVCPACK\IRFA.EXE" 
"%Source%%RelPath%\SVCPACK\MP3D.exe"
"%Source%%RelPath%\SVCPACK\QIP.EXE"
"%Source%%RelPath%\SVCPACK\MPUI.EXE"
"%Source%%RelPath%\SVCPACK\Skype40.exe"
"%Source%%RelPath%\SVCPACK\GIMP.EXE"
"%Source%%RelPath%\SVCPACK\XNVF.EXE"
"%Source%%RelPath%\svcpack\OpenOffice.org3.0.1.exe"
"%Source%%RelPath%\SVCPACK\PAIN.EXE"
"%Source%%RelPath%\SVCPACK\AV9_Silent.exe"
"%Source%%RelPath%\SVCPACK\PDFC.EXE"
EXIT


jaclaz

#438 User is offline   nai22 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 09-May 08

Posted 23 April 2009 - 07:25 AM

dear ilko t, dear jaclaz,

thank you so much for helping me, now all problems being solved.

installation success with guirunonce option

solution:

winnt.sif
[GuiRunOnce]
Command0=%SystemRoot%\System32\nLite.cmd
:thumbup
@ ilko t
that is it !!!


nlite.cmd
for /f "tokens=3" %%i IN ('reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup /v "SourcePath" ^| findstr "REG_SZ"') do set SOURCE=%%i
SET SOURCE
"%Source%\I386\SVCPACK\IRFA.EXE"
"%Source%\I386\SVCPACK\MP3D.exe"
"%Source%\I386\SVCPACK\QIP.EXE"
"%Source%\I386\SVCPACK\MPUI.EXE"
"%Source%\I386\SVCPACK\Skype40.exe"
"%Source%\I386\SVCPACK\GIMP.EXE"
"%Source%\I386\SVCPACK\XNVF.EXE"
"%Source%\I386\svcpack\OpenOffice.org3.0.1.exe"
"%Source%\I386\SVCPACK\PAIN.EXE"
"%Source%\I386\SVCPACK\AV9_Silent.exe"
"%Source%\I386\SVCPACK\PDFC.EXE"
EXIT
:thumbup
jaclaz code was near 100% :) , only 1 "\" between %Source% and I386 was missing, thats why the script coudnt find the files on the stick


again thank you so much, the combination of your two tips was the solution for my problem, jiiipiii

cheers

#439 User is offline   ilko_t 

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

Posted 23 April 2009 - 04:31 PM

Happy the read everything is fixed now :)

#440 User is offline   Sergo 

  • Newbie
  • Group: Members
  • Posts: 23
  • Joined: 22-September 05

  Posted 29 April 2009 - 03:46 PM

Edit:

Tried on another machine (first one was Lenovo X61, this one lenovo M57e)
it seems to be working OK
============

Tried new version today
Seems ok, but for some reason,
windows doesn't boot from hard drive
no errors, just blinking cursor,
booting from usb using grub4dos and starting ntldr from _hard drive_ using boot.ini from hard drive works ok,
installing same image from CD - OK.

Fixmbr,fixboot from recovery console does not help. :(

Quote

winnt.sif unattended section is now FULLY supported, including custom directories and drivers paths


c.f. presetup.cmd

Quote

IF EXIST %CDDRIVE%\$WIN_NT$.~LS\$OEM$\$Progs\nul xcopy %CDDRIVE%\$WIN_NT$.~LS\$OEM$\$Progs\*.* "%systemdrive%\Program Files\" /i /k /e /r /y /h


I changed
%systemdrive%\Program Files\

to %programfiles%\

seems working.

This post has been edited by Sergo: 29 April 2009 - 04:33 PM


Share this topic:


  • 100 Pages +
  • « First
  • 20
  • 21
  • 22
  • 23
  • 24
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

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



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