Announcement

Collapse
No announcement yet.

Reading Speific Reg Value

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

  • Reading Speific Reg Value

    I created a form (window) in VB6 that acts like a login. If the login is correct it writes a value in the windows registry:

    HKEY_CURRENT_USER
    Software\AI\1033
    String12

    I tried to make it so that:
    In order for autoplay menu to launch page2 "String12" has to exist.
    If "String12" does not exist page2 cannot be launched.

    I have struggled through the help and FAQ offered inside AutoPlayMenu and solved nothing!

    Please help...

  • #2
    Re: Reading Speific Reg Value

    Hi,

    Simply use a Read From Registry action and read the value into a variable:

    Name: %RegVar%
    Default: FALSE
    Main Key: HKEY_CURRENT_USER
    Sub Key: Software\AI\1033

    Then simply use the value of %RegVar% on Boolean conditions in order to decide what to do.

    I.E. a Close/Exit action:
    Boolean: %RegVar% <> String12

    mark.
    MSI Factory The Next Generation Intelligent Setup Builder

    Comment


    • #3
      Re: Reading Speific Reg Value

      thanks a lot... I see where i was making my mistake now. I did everything just about right except that had I set

      %RegVar% <> String12

      to

      %RegVar% <> True

      Problem fixed now though...thanks

      Comment

      Working...
      X