<Commands><PostUpdates> feature to run commands in presets is no longer available?

AeonX

Well-Known Member
Messages
775
Reaction score
351
I was using version 2025.08.10552 and was wary of updating because new issues are always introduced, and I already had stable presets for my use. I thought the new version was stable enough with the new preset history feature, so I updated. Out of laziness, I didn't back up my presets, and now NTLite has removed the <Commands><PostUpdates> entries in my presets, which contain commands to be executed in the Windows image before saving.

Is this feature no longer supported?

Previously, when saving a new preset, a code block like this was present in the .xml file:

Code:
    <Commands>
        <PostUpdates>
            <!--<Command>cmd /c echo Example from [MOUNTDIR]\Windows &amp; pause</Command>-->
            <!--<Command>dism /image:[MOUNTDIR] /get-intl</Command>-->
        </PostUpdates>
    </Commands>

But in the new version, this block no longer exists, and if I add it when overwriting the preset with NTLite this block is deleted.
 
<PostUpdates> was the only way I could integrate abbodi86 .WA files to a mounted image. I'd like to have it back, but without needing any queued Updates to trigger its action.
 
Nuhi has removed everything that was applied by default and saved in presets since a few versions ago (to make it look cleaner).
These commands should be part of it.
nuhi will confirm if this is it or not
 
This would be better if it was fully supported, and you could submit a script or command from the UI. Similar to how Post-Setup is done.

CommandParameters
dism/image:%MOUNTDIR% /get-intl

While it's not hard to run a script on a loaded image, the point of automation is allowing the user to repeat that action for multiple images. Bump it into a licensed NTLite feature as a value add.
 
This would be better if it was fully supported, and you could submit a script or command from the UI. Similar to how Post-Setup is done.
Yes, that would be great. I can run commands and call scripts from within the preset by passing the path to the mount folder as a reference using the [MOUNTDIR] variable, so I don't have to worry about knowing where NTLite mounted the image, nor do I have to run commands and scripts manually every time, nor copy files manually, I just load the preset and everything is done automatically.

But I have to edit the .xml file for this and deduce what the syntax should be since there is no official documentation for this feature. It would be great to have this directly in the UI.

Nuhi has removed everything that was applied by default and saved in presets since a few versions ago (to make it look cleaner).
I figured it out. Compatibility options are only saved if they differ from the default. It's much cleaner. The problem is that NTLite isn't detecting the command block. This may have been due to a flaw or the feature was simply removed.
 
It seems we won't have this feature anymore. I created equivalent batch scripts where I just paste the path to the mount folder and they do the rest. A little less convenient, but not too disruptive. Life goes on.
 
Back
Top