I am trying to add a registry entry only if the installed version is less than a certain version. For some reason no matter what I do, the registry entry is added. The same if statement works great with the install File(s) option.I have attached a snippit of the code in question.