Anyone knows of something like VeraCrypt, but with a portable mounter exe that can use data appended to the exe?
Like an encrypted RAR/7z SFX, except that it mounts a volume instead of extracts.
You could use the SFX options in Winrar to cook up some script or command to run before and after extraction to do what you need.
For something a bit more hacker-y, you could embed both the encrypted volume and the EXE needed to mount it in your own EXE file written in C/C++. See the section "Embed Resources with CMake Resource Compiler (CMakeRC)" here: https://caiorss.github.io/C-Cpp-Notes/r ... table.html
You could program your EXE to extract both files out to some temp folder, run the command to mount the encrypted volume and unmount and delete the temp files on program exit. That means there needs to be a pause or input wait in your program while you are using the mounted volume.