MSFN Forum: WinNTSetup v2.3 - MSFN Forum

Jump to content


  • 27 Pages +
  • « First
  • 7
  • 8
  • 9
  • 10
  • 11
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

WinNTSetup v2.3 small tool to Setup Windows from an(y) win32 environment.

#161 User is offline   Atari800XL 

  • Junior
  • Pip
  • Group: Members
  • Posts: 75
  • Joined: 10-March 12
  • OS:XP Pro x86
  • Country: Country Flag

Posted 11 April 2012 - 12:01 PM

View PostJFX, on 11 April 2012 - 10:19 AM, said:

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...

View PostJFX, on 11 April 2012 - 10:19 AM, said:

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

This post has been edited by Atari800XL: 11 April 2012 - 12:04 PM



#162 User is offline   LeoZhu 

  • Group: Members
  • Posts: 2
  • Joined: 10-April 12
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 11 April 2012 - 12:35 PM

JFX Thank You!!! All works, it will be more comfortable now !!!
:thumbup :)

#163 User is offline   IceBlackIce 

  • Member
  • PipPip
  • Group: Members
  • Posts: 127
  • Joined: 08-November 03

Posted 17 April 2012 - 02:51 AM

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

#164 User is offline   JFX 

  • Member
  • PipPip
  • Group: Members
  • Posts: 262
  • Joined: 17-January 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 17 April 2012 - 04:21 AM

View PostIceBlackIce, on 17 April 2012 - 02:51 AM, said:

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

This post has been edited by JFX: 19 April 2012 - 03:30 AM


#165 User is offline   IceBlackIce 

  • Member
  • PipPip
  • Group: Members
  • Posts: 127
  • Joined: 08-November 03

Posted 17 April 2012 - 05:46 AM

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

#166 User is offline   JFX 

  • Member
  • PipPip
  • Group: Members
  • Posts: 262
  • Joined: 17-January 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 20 April 2012 - 06:26 AM

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

This post has been edited by JFX: 09 March 2013 - 10:12 AM


#167 User is offline   IceBlackIce 

  • Member
  • PipPip
  • Group: Members
  • Posts: 127
  • Joined: 08-November 03

Posted 20 April 2012 - 11:31 AM

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 User is offline   JFX 

  • Member
  • PipPip
  • Group: Members
  • Posts: 262
  • Joined: 17-January 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 21 April 2012 - 08:59 AM

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

This post has been edited by JFX: 09 March 2013 - 10:12 AM


#169 User is offline   IceBlackIce 

  • Member
  • PipPip
  • Group: Members
  • Posts: 127
  • Joined: 08-November 03

Posted 23 April 2012 - 08:44 AM

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 User is offline   JFX 

  • Member
  • PipPip
  • Group: Members
  • Posts: 262
  • Joined: 17-January 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 23 April 2012 - 11:06 AM

View PostIceBlackIce, on 23 April 2012 - 08:44 AM, said:

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

View PostIceBlackIce, on 23 April 2012 - 08:44 AM, said:

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

This post has been edited by JFX: 09 March 2013 - 10:12 AM


#171 User is offline   IceBlackIce 

  • Member
  • PipPip
  • Group: Members
  • Posts: 127
  • Joined: 08-November 03

Posted 23 April 2012 - 12:50 PM

It was a vanilla image with a dism command adding a language package.

#172 User is offline   JFX 

  • Member
  • PipPip
  • Group: Members
  • Posts: 262
  • Joined: 17-January 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 23 April 2012 - 03:19 PM

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:

This post has been edited by JFX: 23 April 2012 - 03:31 PM


#173 User is offline   IceBlackIce 

  • Member
  • PipPip
  • Group: Members
  • Posts: 127
  • Joined: 08-November 03

Posted 24 April 2012 - 02:29 AM

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...28WS.10%29.aspx

Quote

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 =)

This post has been edited by IceBlackIce: 24 April 2012 - 09:55 AM


#174 User is offline   JFX 

  • Member
  • PipPip
  • Group: Members
  • Posts: 262
  • Joined: 17-January 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 24 April 2012 - 09:57 AM

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 ...

View PostIceBlackIce, on 24 April 2012 - 02:29 AM, said:

Quote

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

This post has been edited by JFX: 24 April 2012 - 10:03 AM


#175 User is offline   trashy 

  • Group: Members
  • Posts: 9
  • Joined: 27-February 09

Posted 30 April 2012 - 10:36 PM

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.

#176 User is offline   steve6375 

  • Newbie
  • Group: Members
  • Posts: 41
  • Joined: 25-November 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 01 May 2012 - 05:18 AM

Hi
I decided to test this by booting to a vanilla WinPE v3 ISO (ver 6.1.7077) from a USB flash drive and the trying to use R-Click to mount an XP ISO - but nothing seems to happen after I select the ISO from the file dialogue window and click Open.
I also tried running imdiskinst.exe and got a 'can't start because crtdll.dll is missing' message.
Is WinPE v3 not supported?

P.S. When installing Win 7 to VHD you say
- requires Windows 7 as OS and Windows 7 Ultimate, Enterprise or Server 2008 R2 as Source
Why not 7 HP or Pro? What is the restriction?

This post has been edited by steve6375: 01 May 2012 - 05:24 AM


#177 User is offline   JFX 

  • Member
  • PipPip
  • Group: Members
  • Posts: 262
  • Joined: 17-January 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 01 May 2012 - 06:13 AM

View Posttrashy, on 30 April 2012 - 10:36 PM, said:

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.

This option is not supported for Vista installations, but for Windows 7 and later it should be avalible.
I'll take a look at it.


View Poststeve6375, on 01 May 2012 - 05:18 AM, said:

Hi
I decided to test this by booting to a vanilla WinPE v3 ISO (ver 6.1.7077) from a USB flash drive and the trying to use R-Click to mount an XP ISO - but nothing seems to happen after I select the ISO from the file dialogue window and click Open.
I also tried running imdiskinst.exe and got a 'can't start because crtdll.dll is missing' message.
Is WinPE v3 not supported?

Yes all versions of WinPE are supported.
This seem to be a problem of the imdisk installer. You could add crtdll.dll from an x86 Windows 7 in the same folder as imdiskinst.exe or unpack it with 7zip and run install.cmd manually.

Seems Olaf has ruined the silent install anyway with that msgbox pop up.
I'll make 2 new install packages to fix this and also add support for vanilla x64 Winpe.

View Poststeve6375, on 01 May 2012 - 05:18 AM, said:

P.S. When installing Win 7 to VHD you say
- requires Windows 7 as OS and Windows 7 Ultimate, Enterprise or Server 2008 R2 as Source
Why not 7 HP or Pro? What is the restriction?

All Windows 7 versions would support VHD booting, but it's a license restriction.
During logon there is a check made for Kernel-NativeVHDBoot, think through SLGetWindowsInformationDWORD.
You would get an error and stuck on logon screen, if you use a lower edition than Ultimate.

I proplery could fix that :angel , but some people would have a problem with this. :whistle:

Posted Image

This post has been edited by JFX: 09 March 2013 - 10:12 AM


#178 User is offline   trashy 

  • Group: Members
  • Posts: 9
  • Joined: 27-February 09

Posted 01 May 2012 - 03:53 PM

Thank you very much for the reply.

It was Vista (of course) works fine for Win7. Any options to manualy set as C.
If it's not an easy answer,don't put yourself out (Vista's a pain).
Love the new v2.2. I'm stuck on XP and it works perfect. I use both nLite and RVM_Integrator
to tweak my installations. WinNTSetup The best hands down!
Thanks again.

#179 User is offline   JFX 

  • Member
  • PipPip
  • Group: Members
  • Posts: 262
  • Joined: 17-January 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 02 May 2012 - 12:03 PM

Sadly Vista is very limited in offline servicing.

The only way to change the drive letter of vista installations would be to use the normal setup.exe.
And creating a new sysprep image.

Posted Image

This post has been edited by JFX: 09 March 2013 - 10:13 AM


#180 User is offline   JFX 

  • Member
  • PipPip
  • Group: Members
  • Posts: 262
  • Joined: 17-January 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 16 May 2012 - 09:16 AM

View PostJFX, on 01 May 2012 - 06:13 AM, said:

I'll make 2 new install packages to fix this and also add support for vanilla x64 Winpe.

A bit late, but here are 2 new imdisk installer that works (silently) in all WinPE.

Also linking to new Alpha version, as there won't be any new version in the near future ...
This version has a lot of rewritten code and was not tested fully.

If someone noticed bugs or even mange to crash it, please report.

Posted Image

This post has been edited by JFX: 09 March 2013 - 10:14 AM


Share this topic:


  • 27 Pages +
  • « First
  • 7
  • 8
  • 9
  • 10
  • 11
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

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



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