Announcement

Collapse
No announcement yet.

Set Condition from custom Registry value

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

  • Set Condition from custom Registry value

    Hi! I am using SUF 5.0.1.0. I have set some registry entries using System Editor. During Uninstall, I want to use one of these values in the Conditions screen of Registry Command properties. Is this possible? If not, any other ideas on how we can set/use a variable which can be used during uninstallation?

    thanks

    - AA

  • #2
    Re: Set Condition from custom Registry value

    Originally posted by doublea:
    Hi! I am using SUF 5.0.1.0. I have set some registry entries using System Editor. During Uninstall, I want to use one of these values in the Conditions screen of Registry Command properties. Is this possible? If not, any other ideas on how we can set/use a variable which can be used during uninstallation?

    thanks

    - AA

    Comment


    • #3
      Re: Set Condition from custom Registry value

      Hi,
      I am slightly confused as to exactly what you want to do?
      Basically the conditions assigned to uninstall events, or actions, are conditions that must be met in order for that action to be "created", not conditions that must be true at “Uninstall Time.”
      So lets say that during the installation I check to see if a registry key exists, if so I set a variable (%RegVar%) to TRUE. Then I have an Uninstall Execute command that has a Boolean condition that %RegVar% = TRUE. This means that in order for the Uninstall Action to be "created" %RegVar% hast to equal TRUE, that the registry key exists at the time of the installation. The registry will no be queried again at the time of the un-installation.
      Basically at un-installation time you cannot read-in any new values, and I believe that this was what you wanted to do.
      If I have misunderstood you, or not answered your question, please reply.

      mark.

      MSI Factory The Next Generation Intelligent Setup Builder

      Comment


      • #4
        Re: Set Condition from custom Registry value

        Hi! Thanks for your reply. Yes, ideally I would like to read the registry during uninstall. I think I will post this as a desired feature along with a business case.

        regards

        Comment

        Working...
        X