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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×