I'd like to use multi-stage builds more in Windows images, but a limitation I've hit is that many programs - particularly those for components like Visual Studio and related tools - alter the Windows Registry during their installation process.
Are there any ways to dump the registry changes made while building one stage to a *.reg
file so that you could then apply those changes in a later build stage?