Enhanced installation script to build all-in-one package and apply lockdown