Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


JFX

WinNTSetup v3.9.4 / 4.0 RC1

Recommended Posts

Hi

I can successfully specify an ISO (Dual architecture) and an XML file like this:

"%wpath%\WinNTSetup%pp%.exe" NT6 -source:"%MYISO%" -wimindex:"2" -unattend:"ZZDANGER_Auto_WipeDisk0_Win10ProUK_with_SDI_CHOCO.xml"

however, I am trying to load an ISO and use a cfg (.ini) file like this:

"%wpath%\WinNTSetup%pp%.exe" NT6 -source:"%MYISO%" -cfg:"WinNTSetupHome.ini"

but it seems to always select Pro even though if I manually use ctrl+L to load the ini file, it selects Home.

Is this combination supported?

 

Share this post


Link to post
Share on other sites

I noticed up to 3.9.1 the  enabled=0 in the diskpart directory was the default and now it is enabled=1. What happens if you accidentally do a CTRL+SHIFT+D when the GUI is active?

Edited by click-click

Share this post


Link to post
Share on other sites

It prompts you nicely - there is little danger. Try it!

Share this post


Link to post
Share on other sites
1 hour ago, SteveSi said:

Is this combination supported?

No, if you set source in command line you must set wimindex there too.

Share this post


Link to post
Share on other sites

OK, but I still cannot get it to work.

I want to specify an ISO and a cfg file. How can I do it?

You see, using the iPXE wimboot utility, it is possible to use grub2 or grub4dos to boot from an unmodified Windows Install ISO, and automatically run WinNTSetup by injecting a winpeshl.ini and batch file.

So we can specify an XML and ISO and other parameters .

I am trying to also specify a .cfg file as well as the ISO source file.

 

Edited by SteveSi

Share this post


Link to post
Share on other sites

WinNTSetup_x64.exe NT6 -source:%MYISO% -wimindex:1 -cfg:WinNTSetupHome.ini

should do exactly that.

Share this post


Link to post
Share on other sites

That's odd! It is working now!

Is the order of the parameters important? I am sure I tried that before many times! 

Share this post


Link to post
Share on other sites

No order does not matter, expect NT6 must be first one.

  • Like 1

Share this post


Link to post
Share on other sites

Sorry, one more Q. You say if a WinNTSetup.ini file exists it will be used by default. Does that apply even if specifying the NT6 parameters on the command line but without a -cfg parameter?

Edited by SteveSi

Share this post


Link to post
Share on other sites

Yes, a ini is always loaded if found. Either Winntsetup.ini or the one specified by -cfg parameter.

Share this post


Link to post
Share on other sites

I would like to use WinNTSetup to install Win7 on a VHD that was defined for a VM in Oracle's VirtualBox. Is there a way to do this?

If I mount the vhd on my local system, WinNTSeup wont' let me use the same drive letter for the boot drive. Seems like VBOX supports booting from a VHD.

Share this post


Link to post
Share on other sites

What you mean with "won't let you"? It should display a warning, but let you continue.

Share this post


Link to post
Share on other sites
On 5/4/2016 at 6:45 AM, JFX said:

All files from the WIM file are applied using the compact mode you choose.
Expect the files that are need at early boot state.

New files will not be compressed and files open with write access
will be instantly decompressed by the WOF driver. 

Only Windows 10 version of compact.exe has the "/compactos:always" option

it will start compression the OS and properly using maintenance task to compress
new files once in a while.

I consider adding a "Recompress Compact OS" option.

Hi JFX:

I think I saw a single file download for "Recompress Compact OS" for 7 and 8.x, some time ago, but I can't find it, maybe it was lost during server crash, do you still have it?

alacran

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...