I am building an installer for an Access 2010 database application. This will normally use the Access Runtime, but there is currently a problem because there are serious incompatibilities between compiled Access databases created under the SP1 version of the program and the Runtime (which Microsoft have not yet updated to SP1!). Basically, what I need to do is download and run the SP1 updater after installing the Runtime, if the former had not been previously installed. Ideally, I would also want to check that an already installed version of the Runtime had been updated to SP1, and install the update it if it hasn't been, but this is a much lower priority, since it should normally have happened automatically through Windows Update, and there doesn't appear to be a foolproof way to check on Access's "SP status" via the Registry.
I can't seem to find a way to "chain" the installation of pre-requisites so that prerequisite B is installed if and only if the installer has had to install prerequisite A. I am a novice user of the program, which I find to be excellent, and I am probably missing something very obvious. Please point me in the right direction.