I realized that the appropriate place to do this is in pre-requisites, not custom actions. However, I still need to know how to set the order of installation of the pre-requisites. If the JAI is installed before the JRE, my program will not run properly, and for some reason the JAI is always ...