I have been working on a Visual Studio Setup & Deployment project which has a pre-requisite for JRE installed in the system. I am using a search and launch condition to check for the JRE registry key and based on that providing the user with a url to download the JRE and continue after installation.
While this is working, the requirement is being able to search the correct registry location based on a 32/64 bit OS and provide the user with the respective download url for a 32/64 bit JRE.
I have not been able to figure out if it is possible in a VS.Net setup project to provide conditional search and or launch conditions based on whether the installer in running in a 32 or 64 bit system. As per my understanding, we should be creating two separate installers targeting a 32 bit and 64 bit system.
Can anybody shed some light on this.