Announcement

Collapse
No announcement yet.

action after reading registry

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • action after reading registry

    What you do is have a "Read Registry" variable created. Tell it to read for the registry key (you have to specify, you can't have it search the registry). This Registry Read will create a variable that we'll call %RegRead%. Then, on the installers (we'll call them program1 and program2), add the following Boolean conditions:

    program1
    Boolean
    %RegRead% = True

    program2
    Boolean
    %RegRead% = False

    This way, if the registry key exists, it will run program1, but if it doesn't, it will run program2. Good luck.

  • #2
    Re: action after reading registry

    ok thanks, but i'm trying to check if a number of programs are allready installed on the end-user computer, these are flash 5.0, indeo v5.0, ie 5.5 and windows media 7.0, after i check the registry how can i call my application, and how do i pass the value to the variable, or what i need more then one variable, how can i do this, when i check for the version if not all of them are installed how can i hide the button of the ones installed, and how can i call one by one.

    Comment


    • #3
      action after reading registry

      how do call an action aftr¿er the registry is read, lat say i´m chacking for a version of a program then if it is installed i cal an exe of my program, but if it is not installed i call the installer of my program...


      thanks

      Comment


      • #4
        Re: action after reading registry

        Hi,

        It really depends on how you are going to check to see if these programs exist.

        There are two methods that I would suggest: reading from the Registry and searching for a specific file. Both of these methods can be accomplished using built-in actions, either the "Read From Registry" action or the "Search For File" action.

        Both of these actions will set variables based on their results. You will then use the values of these variables in Boolean conditions in order to decide what to do.

        You should read these two knowledge base articles:
        http://www.indigorose.com/kb/AMS30Tu...ingStarted.pdf
        http://www.indigorose.com/kb/AMS30Tu...gAndHiding.pdf

        After reading the two articles you should be able to accomplish what you want.

        mark.
        MSI Factory The Next Generation Intelligent Setup Builder

        Comment

        Working...
        X