FBI still has remote install functionality, just give it the link to a CIA (or a qr code containing one, as seen on
TinyDB) and it'll download and install it. You could probably look at the code for that, although I don't know exactly where it would be.