Jump to content

Recommended Posts

Posted

What you type in the input box will be passed to a hidden cmd.exe.

cmd /c "%input%"

 


Posted
13 hours ago, JFX said:

What you type in the input box will be passed to a hidden cmd.exe.

cmd /c "%input%"

 

thanks it worked. but its nt saved into winntsetup.ini

can i request it to have it saved in ini? smth like

runafter=cmd /c "%input%"

preferably in winnt6\ready after oem line

Posted

Yes, it will be added as an ini option.
But after reviewing the code I think I'll change that function.
 

I guess v5 is Beta ready at the end of this month...

  • 3 weeks later...
Posted

WinNTSetup 5.0 Beta 1

- mounting boot partition is disabled by default
- combobox list to select boot and installation drive
- MRU feature for most inputs
- mounted ISO in VHD menu will stay alive
- mounted ISO sources will be save with ISO names to ini
- regimport supports HKEY_CURRENT_USER\Software\Classes (UsrClass.dat)
- regimport will effect all existing user profiles
- separate disable Windows Defender tweak (-nodefender command line)
 

  • JFX changed the title to WinNTSetup v4.6.5 / v5.0 Beta 1
Posted

fail to detect fs type if

open winnt > format > search location > error ntfs nt detected

works fine if, properly formatted > open winnt

nice gui for the dropdown tho

Posted (edited)

Not sure what you mean, the format dialog will only show file systems that are supported by windows format engine.

Edited by JFX
Posted (edited)

could nt reproduce the bug now. nt sure hw i did it.

it was nt detecting the hdd fs that i had it formatted using winntsetup "run diskpart script"

had been using the same script.

its working nw...

 

edit: the bug

run diskpart script > use the new dropdown menu to pick location, select the disk ( not refreshed) , nt able to pick

> use old search button, pick the location > it show as selected > continue with setup > please choose a ntfs drive.

 

usually after we used search button, and picked. the location info(size and fs) will show.

the above will show as blank(as if nt selected)

Edited by josywong
reproduced bug
Posted
On 8/30/2021 at 11:50 AM, JFX said:

WinNTSetup 5.0 Beta 1

- mounting boot partition is disabled by default
- combobox list to select boot and installation drive
- MRU feature for most inputs
- mounted ISO in VHD menu will stay alive
- mounted ISO sources will be save with ISO names to ini
- regimport supports HKEY_CURRENT_USER\Software\Classes (UsrClass.dat)
- regimport will effect all existing user profiles
- separate disable Windows Defender tweak (-nodefender command line)
 

Is there an option to keep boot partition mounted ?
That can be handy if after WinNTSetup you wish to make modifications on hidden EFI drive by using BOOTICE.

When a combobox selection is overruled by  the drive selector then the description wrongly still corresponds to the combobox selection

WinNTSetup_5_2021-09-01_152244.jpg

Posted
17 hours ago, JFX said:

Yes, can be set in the ini file.

[Options]
NoBootMount=0

Thank you, it is working good  :cool:

  • JFX changed the title to WinNTSetup v4.6.5 / v5.0 Beta 2
Posted

WinNTSetup 5.0 Beta 2

- fixed drive combo not updated after run diskpart script
- fixed drive combo not showing drive letter from DefineDosDevice
- fixed drive combo on classic selection
- new dikspart GUI with selectable disk and warn dialog
- ini option nodownload added
- command line source accepts wildcard

Posted
13 hours ago, JFX said:

WinNTSetup 5.0 Beta 2

- fixed drive combo not updated after run diskpart script
- fixed drive combo not showing drive letter from DefineDosDevice
- fixed drive combo on classic selection
- new dikspart GUI with selectable disk and warn dialog
- ini option nodownload added
- command line source accepts wildcard

can i get more details for this?

- command line source accepts wildcard

 

have not try hw it works. i assume it will be sysletter will be used by runafter cmd batch script using %sysletter% ?

or RunAfter=Y:\Programs\WinNTSetup3\Tools\*.cmd

drive combo looks good atm. and nice diskpart gui. i did mistakenly cleaned wrong drive before lol

Posted

I was tired to update my batch files for every new Win 11 ISO, so the following will pick the first matching iso: 

WinNTSetup_x64.exe NT6 -source:E:\ISOs\22*.iso

RunAfter does not have wildcard support. Variables can be accessed in a batch: 

%_build%
%_drivers%
%_source%
%_syspart%
%_tempdrive%

 

Posted (edited)

 

On 9/7/2021 at 4:57 PM, JFX said:

WinNTSetup 5.0 Beta 2

The program is working excellent and can be used for booting Windows 11x64 Applied in Compact LZX mode in VHD 

using WOF UnCompression of boot critical driver files in DriverStore according to [PrepopulateList] section of generated \Windows\System32\WimBootReCompress.ini file

How is determined from registry what drivers should be in the [PrepopulateList] section of WimBootReCompress.ini file ?

For Capture I think the [ExclusionList] section of WimScript.ini file can be enhanced and improved

so that it is more like the [ExclusionList] section of WimBootCompress.ini file that is normally used in Compact and WimBoot mode.

Windows 11x64 Compact LZX in VHD  UsedSize = 5.7 GB   -   Mini-11x64 Compact LZX in VHD as RAMDISK UsedSize = 2.1 GB

W11x64_VHD_2021-09-11_100159.thumb.jpg.747f60c06c740da874b4a8205521e343.jpg  Mini-11x64_RAMDISK_2021-09-11_150113.thumb.jpg.90846c16f8f1bac350b8f2bcae8bfe00.jpg

Edited by wimb
Posted (edited)
On 9/11/2021 at 8:01 AM, wimb said:

Windows 11x64 Compact LZX in VHD  UsedSize = 5.7 GB   -   Mini-11x64 Compact LZX in VHD as RAMDISK UsedSize = 2.1 GB

Very good work on trimming down Windows. If you only use this VHD for RAM booting, you could save roughly 80 MB of NTFS logging.

format /FS:NTFS /v:RAMDISK /Q /s:disable /TXF:disable /LogSize:1024 /NoRepairLogs X:

 

format.png

Edited by JFX

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...