My application needs to know if a program is installed on the machine in order to work, and I want the option to know if Program Files folder exist in only the (32 Bit machine) or also has the Program Files (x86) folder (64 Bit machine).
What is the best way to do it via my code?
my application that i need on the machine is Wireshark that can install on both 32 and 64 bit (in the appropriate Program Files folder) and i am not sure what to do because i am making installer file with Wireshark inside and try to find the best option to know what to install.