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

WinNTSetup v3.6.1


  • Please log in to reply
960 replies to this topic

#151
ghfujianbin

ghfujianbin
  • Member
  • 6 posts
  • OS:none specified
  • Country: Country Flag


BTW, can you host your file on another site? Mediafire is blocked in my country. I think Data File Host is a great alternative. :rolleyes:

Sure have added Data File Host Mirror to first page :)

You rocks man! :lol:


How to remove advertisement from MSFN

#152
Atari800XL

Atari800XL

    Member

  • Member
  • PipPip
  • 184 posts
  • OS:none specified
  • Country: Country Flag
Thanks JFX for your replies and new version.

Another question for you (and others):

I can't get the "-drivers" commandline swith to "take"... When I type this:
(K:=Mounted XP Iso, Y:=USB)

WinNTSetup2_x86.exe -nt5 -source:k: -syspart:c: -unattend:"winnt.sif" -savedriveletters -drivers:"Y:\Drivers" -sysletter:c

... all the options are successfully set (and visible) in the program, except for the Drivers folder. When I manually select the folder in the GUI, it displays the exact same folder ("Y:\Drivers"). Now it's probably my own stupidity (again...) but I don't understand what I'm doing wrong (I studied your example in post #1, as far as I can see you use the same syntax: " -drivers:...")

#153
Atari800XL

Atari800XL

    Member

  • Member
  • PipPip
  • 184 posts
  • OS:none specified
  • Country: Country Flag

Update: Version 2.2.0.1
- fixed file copy errors for some nlite update packs

Funny you should mention this...
My XP setup (nlited with IE8, SATA, etc) is giving errors on the following files:
l3codec.xax, oleacc.dll, oleaccrc.dll
These file copy errors don't occur on a "normal" setup with this ISO on CD or USB.
Does this have anything to do with the file copy errors you were talking about?
I just tested it with version 2.2.0.1, but the errors on these 3 files still occur.

... but other that these issues, I think WinNTSetup2 is great!!!!!! So far I tested with XP, W7 and W8! All versions unattended.

#154
JFX

JFX

    Advanced Member

  • Member
  • PipPipPip
  • 446 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Atari800XL,

Please download again, I used wrong return code in one function that must cause failure of the "-drivers:" parameter.

For nlite packs, I only fixed some that were reported multiple times. Fixing the root of this nlite problem would be way to much work.

Thanks for reporting these bugs :thumbup

Posted Image

Edited by JFX, 09 March 2013 - 10:11 AM.


#155
Atari800XL

Atari800XL

    Member

  • Member
  • PipPip
  • 184 posts
  • OS:none specified
  • Country: Country Flag

Please download again, I used wrong return code in one function that must cause failure of the "-drivers:" parameter.

Thanks!!!! Working now!

For nlite packs, I only fixed some that were reported multiple times. Fixing the root of this nlite problem would be way to much work.

Is there another solution for this? Skipping the files/ Adding them somewhere manually/ Removing them from some "files_to_be_copied" list? Anything to prevent the filecopy to halt three times....

JFX, I'm amazed by the support you provide for your program, please feel free to tell me to shut up any time :lol:

... just kidding, thanks a lot for the support!

Edited by Atari800XL, 10 April 2012 - 01:21 PM.


#156
JFX

JFX

    Advanced Member

  • Member
  • PipPipPip
  • 446 posts
  • OS:Windows 7 x64
  • Country: Country Flag

somewhere manually/ Removing them from some "files_to_be_copied" list? Anything to prevent the filecopy to halt three times....

I think The reason of these errors is that setup somehow request these files in both states, compress (oleacc.dl_) and uncompressed (oleacc.dll)

If you only have oleacc.dl_ than try add expanded version to the same location. (with expand.exe or 7Zip)
if you only have oleacc.dll than just make a copy and rename it to oleacc.dl_ (does not need to be compressed API accept it both ways, just the extension matters )

JFX, I'm amazed by the support you provide for your program, please feel free to tell me to shut up any time :lol:

Thanks!

Actually I highly appreciate feedback! Supporting all these windows version is very time consuming. Knowing problems helps a lot. :)

Posted Image

Edited by JFX, 09 March 2013 - 10:11 AM.


#157
LeoZhu

LeoZhu
  • Member
  • 2 posts
  • OS:Windows 7 x86
  • Country: Country Flag
JFX Hello !!!
First of all Thank you very Much for WinNTSetup v2.2 !!!
Noticed the presence of language.ini - which is amenable to the Russification"well, and so the very WinNTSetup too.
The question arose, and can not be used WinNTSetup with Russified language.ini (unpacked),
no problems, etc. This information would be very interesting ! :rolleyes:

Spoiler


#158
Atari800XL

Atari800XL

    Member

  • Member
  • PipPip
  • 184 posts
  • OS:none specified
  • Country: Country Flag

I think The reason of these errors is that setup somehow request these files in both states, compress (oleacc.dl_) and uncompressed (oleacc.dll)

If you only have oleacc.dl_ than try add expanded version to the same location. (with expand.exe or 7Zip)
if you only have oleacc.dll than just make a copy and rename it to oleacc.dl_ (does not need to be compressed API accept it both ways, just the extension matters )

In the ISO, in \i386, I have:
l3codecx.ax_
oleacc.dl_
oleaccrd.dl_

So I should expand them to:
l3codecx.ax (that's the correct extension I believe, just the 2 letters "ax")
oleacc.dll
oleaccrd.dll

But where should I put them? Putting them inside the ISO proably has no effect? Because then I have to change the list of files to be copied? (Sorry, don't have the correct procedure in my head right now).

Or should I manually put them on the Harddisk, after WinNTSetup2 has run (just before the reboot)?

EDIT: Hold on, I took a look at TXTSETUP.SIF, and saw that there are *two* occurences of de the three files mentioned above:
l3codecx.ax = 1,,,,,,,2,0,0
l3codecx.ax = 100,,,,,,,2,0,0
oleacc.dll = 1,,,,,,,2,0,0,,1,2
oleacc.dll = 100,,,,,,,2,0,0
oleaccrc.dll = 1,,,,,,,2,0,0
oleaccrc.dll = 100,,,,,,,2,0,0

And the [SourceDisksNames.x86] section has this:
1 = %cdname%,%cdtagfilei%,,\i386
100 = %spcdname%,%spcdtagfilei%,,\i386,1

So the file must be missing in one of those places. Now I must admit that some of this is going over my head, but I *will* do some testing tonight, to see if I can safely delete one of those double entries, to prevent the "file not found" error.

Any help is appreciated, though...

[EDIT 2:]

This might have less and less to do with specific WinNTSetup things, but I *do* wonder why I don't have these "file not found" errors in a "normal" XP setup from CD or USB, using the same ISO (incl. same WINNT.SIF, etc)

Edited by Atari800XL, 11 April 2012 - 09:48 AM.


#159
IceBlackIce

IceBlackIce

    Member

  • Member
  • PipPip
  • 127 posts
Not sure if its working as intended but only giving the nt5/nt6 parameter in the command line does not work, it always runs the Windows7 setup screen, if I add the source parameter as well, it works and goes to the proper install screen

#160
JFX

JFX

    Advanced Member

  • Member
  • PipPipPip
  • 446 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Hi LeoZhu,
You very quick finding the language.ini. This "feature" is not ready yet and will change in subsequent version.
Well it's up to you, I've uploaded version 2.2.0.3 that will accept the file in "unpacked" form.


@Atari800XL,
You would need the rebuild the ISO with these files added to \I386 folder.
Carefully deleteing the lines in txtsetup.sif may help, have not tryed this. Maybe the same goes for dosnet.inf also.

But you could also copy these files after WinNtSetup has run. Place them inside \$WIN_NT$.~LS\i386\ folder.

The nomral Windows setup parses the txtsetup.sif and dosnet.inf to build up the $WIN_NT$.~LS folder.
WinNTSetup just copies the complete i386 folder.


@IceBlackIce
Thanks, fixed in version 2.2.0.3

Posted Image

Edited by JFX, 09 March 2013 - 10:12 AM.


#161
Atari800XL

Atari800XL

    Member

  • Member
  • PipPip
  • 184 posts
  • OS:none specified
  • Country: Country Flag

You would need the rebuild the ISO with these files added to \I386 folder.

OK, I added the expanded files and finally had time to test it. I've been thinking about possible solutions at work all day (hence all the edits in the above message). Of course, I should've just taken your first advice...

The nomral Windows setup parses the txtsetup.sif and dosnet.inf to build up the $WIN_NT$.~LS folder.
WinNTSetup just copies the complete i386 folder.

OK, very informative!

So, with those last annoyances out of the way (the missing files), it looks like my perfect USB drive is a reality:
- Boot with Win PE SE
- Silently setup XPSP3 (updated edition w/ IE8-SATA etc) (a nice tribute to "good old XP", to have it installed from USB)
- Same for Windows 7, Windows 8
- Automatic postinstall with all my apps, settings, etc. etc.
- Personal data backups in TrueCrypt containers (faster for USB and safe).

THANK YOU!!!!!
:thumbup :w00t: :thumbup

Edited by Atari800XL, 11 April 2012 - 12:04 PM.


#162
LeoZhu

LeoZhu
  • Member
  • 2 posts
  • OS:Windows 7 x86
  • Country: Country Flag
JFX Thank You!!! All works, it will be more comfortable now !!!
:thumbup :)

#163
IceBlackIce

IceBlackIce

    Member

  • Member
  • PipPip
  • 127 posts
@JFX
Could you please explain what is done in the "Integrate drivers" part? Do all files get copied to some folder?

#164
JFX

JFX

    Advanced Member

  • Member
  • PipPipPip
  • 446 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Could you please explain what is done in the "Integrate drivers" part? Do all files get copied to some folder?

For Windows Vista and 7 the offline servicing tools pkgmgr and dism are use directly on the selected folder.

XP and 2003 Install are a bit different:

- drivers are copied in "Drv" folder in the root of the installation drive
- all sub folder from this will be listed in "OemPnPDriversPath" of the unattended file "winnt.sif"
- MSSTMake is used on this folder to extract mass storage drivers and required information to load them in TXTMode of setup
- MSSTMake results are merge in txtsetup.sif and setupreg.hiv,
found driver files are copied to $WIN_NT$.~BT folder in the root of the selected boot drive

Edited by JFX, 19 April 2012 - 03:30 AM.


#165
IceBlackIce

IceBlackIce

    Member

  • Member
  • PipPip
  • 127 posts
Thank you for the explanation..
I'll take a look on some of that info to integrate on my deployment tools.

#166
JFX

JFX

    Advanced Member

  • Member
  • PipPipPip
  • 446 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Update: Version 2.2.1.1

- fixed command line -drivers not worked in some cases (Thanks Atari800XL)
- fixed command line -NT5/-NT6 not standalone (Thanks IceBlackIce)
- fixed command line -RunAfter not works with relative path (Thanks IceBlackIce)
- fixed some bugs with the ISO file option (Thanks Lancelot)
- fixed Windows 7 N and KN versions were not accepted for nativeVHDBoot
- fixed GUI respond a bit slow in last versions
- added bootmenu now contains edition name and VHD mark
- added log file now contains details of successfull and failed driver integrations (Win7 only)

Posted Image

Edited by JFX, 09 March 2013 - 10:12 AM.


#167
IceBlackIce

IceBlackIce

    Member

  • Member
  • PipPip
  • 127 posts
I think there's an issue with the RunAfter command, when running from winpe i must specify the full path of the command, even if the file is in the same folder as winntsetup.

#168
JFX

JFX

    Advanced Member

  • Member
  • PipPipPip
  • 446 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Thanks, have fixed this.

Btw: You will need to add leading and trailing quotes if the command includes spaces.

-RunAfter:"myprogram.exe parameter 1 parameter 2 parameter n"

RunAfter will now also add infos to log file.

Posted Image

Edited by JFX, 09 March 2013 - 10:12 AM.


#169
IceBlackIce

IceBlackIce

    Member

  • Member
  • PipPip
  • 127 posts
I just tested the ThinPC installation and it was successful.
One more issue, when installing windows7, from what I understand the program applies the selected image to the disk right? I tested with one that had applied a different language (and installs fine when running from the setup) and it doesnt work using WinNTSetup, it crashes after the first reboot (when installing devices)

#170
JFX

JFX

    Advanced Member

  • Member
  • PipPipPip
  • 446 posts
  • OS:Windows 7 x64
  • Country: Country Flag

One more issue, when installing windows7, from what I understand the program applies the selected image to the disk right?

Yes, it applies the WIM file and setup bootmgr and the \Boot\BCD store

I tested with one that had applied a different language (and installs fine when running from the setup) and it doesnt work using WinNTSetup, it crashes after the first reboot (when installing devices)

Not sure want happened there. How was that image created?

Posted Image

Edited by JFX, 09 March 2013 - 10:12 AM.


#171
IceBlackIce

IceBlackIce

    Member

  • Member
  • PipPip
  • 127 posts
It was a vanilla image with a dism command adding a language package.

#172
JFX

JFX

    Advanced Member

  • Member
  • PipPipPip
  • 446 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Need more infos, simple /Add-Package for langpack works alright for me.

Did you used /Set-UILang, /Set-UILangFallback, /Set-Syslocale, /Set-UserLocale, /Set-InputLocale, /Set-AllIntl, /Set-SKUIntlDefaults, /Set-SetupUILang ?

Why are there so many possibilities anyway :wacko:

Edited by JFX, 23 April 2012 - 03:31 PM.


#173
IceBlackIce

IceBlackIce

    Member

  • Member
  • PipPip
  • 127 posts
This was the command to insert the language pack into the wim file

Dism /image:%systemdrive%\work /add-package /LogPath:AddPackage.log /packagepath:win7_x86_en.cab

This is the info of the index I was trying to install with Winntsetup ...

Spoiler


I also have the lang.ini in the sources folder, but I dont believe Winntsetup cares for it.
I cant test it another time atm or see the exact details of the crash... but if I had to guess I would say its because I didnt use an english image and added the portuguese language, but did the other way around and somehow that messes up something when trying to apply that image instead of installing it.

-edit-
Since I couldnt try again, i've made some digging and found this:
http://technet.micro...255(WS.10).aspx

Important
You can use the default image file (Install.wim) included with the Windows product DVD only with Windows Setup (Setup.exe). Do not deploy this default image directly using ImageX.


That could explain it =)

Edited by IceBlackIce, 24 April 2012 - 09:55 AM.


#174
JFX

JFX

    Advanced Member

  • Member
  • PipPipPip
  • 446 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Thanks for the infos.

Indeed Winntsetup doesn't use language.ini it only get information form the image index xml you posted.
It actually don't touch any language settings, besides setting the received language in the BCD store.

Well i tried a few different language packs on my german install.wim file and had no problem.
I have no idea's what could be the cause here ...


Important
You can use the default image file (Install.wim) included with the Windows product DVD only with Windows Setup (Setup.exe). Do not deploy this default image directly using ImageX.


That could explain it =)


hmm maybe, thought that's actually what I did with WinNTSetup very often with no problem

Edited by JFX, 24 April 2012 - 10:03 AM.


#175
trashy

trashy
  • Member
  • 9 posts
I've been using winntsetup for a while with great results.
New problem when installing Win7 or Vista.
Mount Installation drive as,option is unavailable.
Tried v2.1 with same results.I'm puzzled never had this happen before.
Tried from inside xp win7 and pe with same results.




2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users



How to remove advertisement from MSFN