Installer-proxy is a project mainly written in C# and SHELL, it's free.
CoApp Installer Proxy (internals)