We define the JDK as a pre-install prerequisite for our installer. Unfortunately the Java installer doesn't modify the user or system PATH to add it's bin directory. We'd like to have our installer append the java bin directory to the PATH if we installed it as a pre-requisite (or if we can't detect that, maybe if we don't see an entry on PATH that looks like Java). I see we can add environment variables, but I can't seem to attach them to the JDK pre-requisite (maybe because it's a pre-install one?). I also can't see how I can use some custom code/logic for finding the full filepath of the Java install to pass along to append to PATH.
Any ideas on how we can achieve this?
FOLLOW US
Get the latest news in Application Packaging