The context menu is one of the tweaks within WPI24H2. Therefore it will only appear if you use WPI24H2. WPI24H2 contains only some basic tools and apps for my personal use. All clean and free. And also my small tweaks to customize the desktop and some tools.
sainfo, I'm looking at SunLion's script and he is mounting the registry with TK_Software for example but you are using WIM_Software in your reg file.
No, it doesn't matter at all. It's clear that in order to use them in the Integrator, all the Integrator paths are written in the script. This is an example of a script that I additionally use to apply these .reg files. In Integrator, these files, for some reason, do not want to be applied. Although its scripts from the PersonalTweaks folder are applied without any questions. That is, if you simply place them in the PersonalTweaks folder, they are not applied to the image.
I see this is a more compicated problem then. I hope someone has met this kind of problem and can provide help.
For a specialist, I don't consider this a difficult task. And for me, it's all just a hobby. I'm just very interested in all this and I do it all rather intuitively. In fact, I see only three options here: 1. Add my .reg files to the PersonalTweaks folder in SunLon's tool 2. Apply Super User.exe to them Spoiler Code: "%~dp0tools\%HostArchitecture%\SU64.exe /w /s reg import "%~dp0Tweaks\SOFTWARE.reg" "%~dp0tools\%HostArchitecture%\SU64.exe /w /s reg import "%~dp0Tweaks\SYSTEM.reg" "%~dp0tools\%HostArchitecture%\SU64.exe /w /s reg import "%~dp0Tweaks\USER.reg" 3. Apply NSudo.exe to them Spoiler Code: "%~dp0tools\%HostArchitecture%\NSudo.exe" -U:T -P:E -UseCurrentConsole -Wait reg import "%~dp0Tweaks\SOFTWARE.reg" >nul 2>&1 "%~dp0tools\%HostArchitecture%\NSudo.exe" -U:T -P:E -UseCurrentConsole -Wait reg import "%~dp0Tweaks\SYSTEM.reg" >nul 2>&1 "%~dp0tools\%HostArchitecture%\NSudo.exe" -U:T -P:E -UseCurrentConsole -Wait reg import "%~dp0Tweaks\USER.reg" >nul 2>&1 I think it is clear to everyone that before executing this code we open the registry hive and after executing the code we close it. But unfortunately none of these three options work for me. I suppose that there is an error somewhere in my code, that's why I asked SunLion as a specialist. Perhaps there are other options for solving this problem, but I personally don't know them.
Many REG codes only take effect after the User is created and the Desktop is opened. That's why many .reg files are not applied offline by the script. So the solution was to create the PersonalTweaks folder so that they can be applied by RunOnceEX. This works fine. There may be other methods, which I don't know about.
All this is true, all this applies only to executive commands that are used in .cmd files and does not apply to .reg commands for changing the registry. And in my case, these are registry commands. The execution .reg of commands can be easily observed in DISM++. So, these three .reg files are successfully applied to the image in a separate script, but for some reason they do not want to run in the Integrator. It is completely unclear what the difference is for this part of the command where it is applied. In a separate script or as part of the Integrator. Apparently, there is some minor detail here that I personally cannot see. That is why I turned to you as a more experienced colleague in programming.
What is the proper way to install cumulative updates to update the slimmed version of Windows? Does applying this update will undo some of the components or apps you remove or Windows settings undo?
If the ability to update the Windows image is not broken, the system will be updated both through the Central Office and manually. Some of what was removed from the image will be restored (which part depends on the state of the system services), and the settings and applications applied to the image will not change.
@SunLion I took your advice & rebuilt image without WPI included & I ensured the context tweaks were present in the pers tweaks dir. Though I have the same result with the oem context menu?
Instead, you should include WPI so that everything is adjusted. Today I spent the day racking my brains to fix the installation of the Apps through runonce. It's not working as I would like. I think I found an alternative. I'll finish it tomorrow and do the tests. Hope everything works out! Cheers
In that case I could just incorporate the context reg into my own post installation regime, otherwise will wait for the result of your tests, thanks.