Years and years later, using WinCDEmu just use the "batchmnt <image>" or "batchmnt64 <image>" to mount your image and then use "batchmnt /unmountall" to unmount it afterwards. This program can be found in the same directory as WinCDEmu.
Source: https://wincdemu.sysprogs.org/tutorials/cmdline/