Jump to content

WinNTSetup v5.3.5.2


JFX

Recommended Posts


No, problem with Win11 23H2 v2 ISO.

Also I don't no what to do about. If files are applied correctly and Windows Setup is deleting them,
than it's not a bug of WinNTSetup.

Edited by JFX
Link to comment
Share on other sites

JFX

Could you write a script to create WinSxS.ini
I have a list list.txt of several thousand lines, like this

\Windows\WinSxS\amd64_microsoft-windows-d..-repadmin.resources_31bf3856ad364e35_10.0.17763.1_en-us_0e937a3a21f57e8e
\Windows\WinSxS\amd64_microsoft-windows-d..-repadmin.resources_31bf3856ad364e35_10.0.17763.1_ru-ru_57b491ee72fa7a35
\Windows\WinSxS\amd64_microsoft-windows-d..-tools-mmc-adsiedit_31bf3856ad364e35_10.0.17763.1_none_a3ec538332003b58
\Windows\WinSxS\amd64_microsoft-windows-d..-tools-mmc-adsiedit_31bf3856ad364e35_10.0.17763.4377_none_00b9d56aaba10b40
\Windows\WinSxS\amd64_microsoft-windows-d..2provider.resources_31bf3856ad364e35_10.0.17763.1_ru-ru_39373ffd5f7710e6 

You need to make a replacement on those lines where there is ru-ru (or some other localization language)

amd64  --> %ARCH%
1_ru-ru_**************** --> *_%LANG%_* 

to

\Windows\WinSxS\amd64_microsoft-windows-d..-repadmin.resources_31bf3856ad364e35_10.0.17763.1_en-us_0e937a3a21f57e8e
\Windows\WinSxS\%ARCH%_microsoft-windows-d..-repadmin.resources_31bf3856ad364e35_10.0.17763.*_%LANG%_*
\Windows\WinSxS\amd64_microsoft-windows-d..-tools-mmc-adsiedit_31bf3856ad364e35_10.0.17763.1_none_a3ec538332003b58
\Windows\WinSxS\amd64_microsoft-windows-d..-tools-mmc-adsiedit_31bf3856ad364e35_10.0.17763.4377_none_00b9d56aaba10b40
\Windows\WinSxS\%ARCH%_microsoft-windows-d..2provider.resources_31bf3856ad364e35_10.0.17763.*_%LANG%_*

If it’s not difficult, you can also make a replacement in the lines with en-us and none

1_en-us_**************** --> *
1_none_**************** --> *
****_none_**************** --> *

to

\Windows\WinSxS\amd64_microsoft-windows-d..-repadmin.resources_31bf3856ad364e35_10.0.17763.*
\Windows\WinSxS\%ARCH%_microsoft-windows-d..-repadmin.resources_31bf3856ad364e35_10.0.17763.*_%LANG%_*
\Windows\WinSxS\amd64_microsoft-windows-d..-tools-mmc-adsiedit_31bf3856ad364e35_10.0.17763.*
\Windows\WinSxS\amd64_microsoft-windows-d..-tools-mmc-adsiedit_31bf3856ad364e35_10.0.17763.*
\Windows\WinSxS\%ARCH%_microsoft-windows-d..2provider.resources_31bf3856ad364e35_10.0.17763.*_%LANG%_*

I think it won’t be difficult for the author of such a powerful utility WinNTSetup and it would be easier to create WinSxS.ini. Thank you

Edited by sakatgg
Link to comment
Share on other sites

BTW, if u want to keep smartphone visibility and functionality (data transfer) from ur miniwin, all u have to do is place the following lines on any *txt in the remove folder (mine is mysoftware.txt, upon jfx's learned suggestion). for those vhd's u have already reduced, I am afraid u might have lost that functionality, in which case u can regain it by copying the following directories from the original *.wim u have started from to the *.vhd concerned. 

!\Windows\System32\drivers\UMDF
!\Windows\System32\DriverStore\FileRepository\wpdmtp*
!\Windows\WinSxS\amd64_dual_wpdmtp*
!\Windows\WinSxS\amd64_wpdmtp*
 

Edited by Antonino
Link to comment
Share on other sites

It's been a while since I've done some work on new Windows versions, but now that I have a few days off, I'm doing some experimenting with Windows 11 23h2.

All my usual tweaks and settings still work OK, but it looks like I can't delete winre.wim anymore, without complaints from setup?

EDIT: I don't think this is WinNTSetup related, I believe I got the error on a manual apply test

There's just the one (new) error I'm getting, just before install is complete: "setup was not completed successfully", but after a reboot, everything finishes OK anyway.

Can any of you friendly people give me some hints?

Setuperr.log does mention "Winre not found", so I guess that is where the error message is coming from? (It's the only error in the log).

 

Edited by Atari800XL
Link to comment
Share on other sites

@atari

I wish I could help you. Let's see if I have understood correctly. do u mean u cannot get rid of winre.wim for the wrapping up of an iso file? Me, I usually make wim's which are more practical, less formal and almost do not complain any.

@JFX 

As my mysoftware.txt from the remove folder onf the minwin thing is getting real plethoric, I would like to know what characters I could use for commenting only, say, one line at the beginning and another at the end of each series of do-not-delete strings (!\...), which the file mostly consists of. together with virgus, we are trying to systematize this list with some sort of explanation for each block of strings. I do not want my comments for him to get in the way of the ordinary winntsetup process.

thanx in advance   

Link to comment
Share on other sites

Sorry, maybe I was not clear. I downloaded the latest Windows 11 (business) esd, then exported image 6 (Enterprise) from it, did some "servicing" on it (removing some components) and also, like I always do, delete winre.wim from it (I have no use for it, as I always use my own PE).

Looks like Windows 11 is now the first OS to complain about winre.wim missing from install.wim after my manual apply and rebooting. Must be a setting/ registry setting somewhere?

Thanks for listening, Antonino!

Link to comment
Share on other sites

@Atari800XL

I don't get any error message from Setup, if WinRe.wim is deleted.

(at least not from 22631.2861.231204-0538.23H2_NI_RELEASE_SVC_REFRESH_CLIENTBUSINESS_VOL_x64FRE esd files)

BTW: if I also delete the ReAgent.xml there is no error in the log file, only warning.

 

@Antonino

Lines beginning with ; or # are ignored and reserved for comments.

You can also rename all the *.txt files inside Remove folder to *.ini.
This should give comments a different color depending on the Editor you use.

Link to comment
Share on other sites

thanks, jfx, the ini thing reads pretty handy.

@Atari800XL

u read like the wanna-do-things-first-off type, and this is understandable. now how much space would u gain out of not having winre.wim anymore beforehand? nice curiosity, but to make things even quicker, we can take advantage of this wonderful winntsetup thing that lets u take out whatever u like even from the biggest iso; u obtain a wim file with all the customization whatsoever (things u want out out and things u want in in). then u can use wim2iso and have ur iso as u like it, the only difference being whatever mod or customization u can think of is not done beforehand; it is done afterwards. 

Edited by Antonino
Link to comment
Share on other sites

For a start, Happy New Year to y'all!!!

Then, I beg anyone who is conversant with txt files in the winntsetup remove subfolder to check my hopefully appropriate wifi.txt to make sure windows detects and manages wifi connections in the area. I have devoted quite a few years to finetuning my ethernet-connected workstation, but when I apply my txtfiles for non-deletion to my wife's non-etehernet-connected laptop, the wifi stuff disappears after miniwinning. if u pls check what is missing or what is reduntant for the purpose of wifi connection alternative to non-existing ethernet, I would very much appreciate it. 

Thanx in advance 

wifi.txt

Edited by Antonino
Link to comment
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.
×
×
  • Create New...