to explain further:
how can i set up blocks of commands that will be run if a given condition is met?
i have to install a database on each OS that we support. so i want to pull in the proper installer package for the OS i generating the installer for. I then need to run a few programs to dump an existing db's contents, update the schema, and then reimport the db contents. this would only be run on a new installation, a schema update or a Db upgrade. The way i would conceptual look at this would be:
if db installed if old version installed run db.exe run dbdump.exe run db.exe run createdb.bat run psql.exe run db import.exe else continue else run db.exe run createdb.bat run psql.exe
if mac if db installed if old version installed run db.(mac ext) ...
Please sign in to leave a comment.