+ Reply to Thread
Results 1 to 4 of 4

Thread: Using If statements to edit registry

  1. #1

    Default 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.
    Name:  Capture.JPG
Views: 664
Size:  31.6 KB
    Attached Images Attached Images  

  2. #2
    Join Date
    Mar 2004
    Posts
    4,307

    Default 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

  3. #3

    Default 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.

  4. #4
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Using If statements to edit registry

    Perfect! Thanks for the update!

    Friedrich

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •