Some time ago I seem to recall having a piece of software that could read post install scripts from a customised WIM/ESD file (e.g. Remove One Drive completely from Windows 10), possibly located in an autounattend.xml inside the WIM itself. I dont believe it was NTLite as it wasn't preset preferences, but runonce scripts and from what I can recall an example WIM had comments in place. For the life of me I can't recall what software I was using. Could anyone offer any advice. Thank you.
Some further information. I've realised it was setupcomplete.cmd it was reading from the ISO not the WIM. Another somewhat odd aspect is I usually install via WinNTsetup which uses WIMs directly, I'm unsure how it finds the setupcomplete.cmd located in the $oem$ directory when given just a bare WIM file?
Maybe it found it inside the wim? Open the wim using 7z and browse to "install.wim\windows\setup\scripts\".
Thank you for your help Enthousiast. I could only see the state.ini and folder inside the WIM, perhaps WinNTsetup searches for an $oem$ directory and applies any scripts found in there.
If there is no scripts folder in the wim, it must be the one from the oem folder inside sources on the iso. Windows copies the content of the oem folder during setup, winntsetup doesn't have to do that.
Understood. Using this logic, said scripts wouldnt be applied if the WIM was isolated from the ISO and used in WinNTsetup in isolation? Am I correct in this belief?
On closer inspection, it may actually have been the post install section of NTlite I was thinking of. But presently this isnt showing any scripts from my custom WIM file even though they're present in the $oem$ folder.