Revert "Reuse system() function"

This reverts commit a4de1a84e68f28ceb91c43abd6125bbc15d64d82.
Reuse system(), should also fix problems launching custom installers
Remove existing shim, if needed (will always regenerate shims from now on)