that's where ini-files rock.
I had similar setup but the ini-file had section for each program.
it had key for checking registry or file if installation is needed and command needed for the installation.
this way the main script just read the sections from the ini-file and looped through each and installing some dozen programs was done with some 10 lines of code and never needed to be altered. if you add a new app, just add it in the ini and it all done.
_________________________
!

download KiXnet