Jump to content

Recommended Posts

Posted

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?

 


Posted (edited)

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
Posted
1 hour ago, SteveSi said:

Is this combination supported?

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

Posted (edited)

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
Posted

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

should do exactly that.

Posted

That's odd! It is working now!

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

Posted (edited)

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
Posted

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

  • 5 weeks later...
Posted

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.

Posted

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

  • 1 month later...
Posted
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

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.
×
×
  • Create New...