2 Attachment(s)
Using If statements to edit registry
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.
Attachment 4849
Re: Using If statements to edit registry
Steve,
please add a "Display Message Box" test function after the IF Statement and before the first "Registry Key" item. Display the %INSTALLED_VERSION% runtime variable in the Display Message Box command. Do you see the Message Box? What is displayed?
Friedrich
Re: Using If statements to edit registry
Thanks for the help. I actually deleted the entire section and put it in again and it works now.
Re: Using If statements to edit registry
Perfect! Thanks for the update!
Friedrich