I kept thinking about this issue, and I have a suggestion for you:
I think it will be good to include also under its WimBootCompress.ini
\Boot\* \Boot >>> Thanks to wimb, for make me note this mistake, see Posts No. 82 and 83 \EFI\* \EFI >>> Thanks to wimb, for make me note this mistake, see Posts No. 82 and 83
And force to use that WimBootCompress.ini always Then during capture those files/folders will not be captured to the WIM
Latter after apply the WIM to the selected location, just create the external boot files/folders as always, and the internal (into the VHD) on the respective drive letter of first partition always (which is FAT-32 on 2 partitions VHD or NTFS on single partition), and they will be always fresh and uncompressed this way.
And in the case they exist on an old previously captured WIM file as they are also included under [PrepopulateList] they will be copied uncompressed anyway.
The user has to follow your procedure (after all you are the author and you especify the requirements) and it may clearly say,: Use it for VHDs created by VHD_WIMBOOT or something like that, of course I know you can make this warning more friendly.
As VHD_WIMBOOT will not allow to have the boot files/folders compressed all will be safe.
And then you will not have to worry anymore about decompress compressed files/folders or rename them, etc. and UEFI_MULTI should make only the required external and internal entries and that's all.
It seems to me this can simplify a lot your work, and the complexity of your programs.
What do you think about this suggestion?