clean up the installer build script: use arg value versus arg line for exec, make exec fail on error, extract properties for reused values