No announcement yet.

Demo or Full depending on Serial.

  • Filter
  • Time
  • Show
Clear All
new posts

  • Demo or Full depending on Serial.

    This is probably simple, but I was wondering how I can set up a program so that depending on the serial number (example = 0000-0000-0000-0000 will install the feature limited demo, 1234-5678-9012-3456 will install the full version)

    I have 0000-0000-0000-0000 in the serial # list.
    I have :
    IF (%UserSerialNumber% = 0000-0000-0000-0000)
    Assign Value (%PackageVariable2% = True)
    END IF

    In the Screens > Verify Serial Number screen (I've tried it set as before and after)

    Also is there anyway to put 0000-0000-0000-0000 as the default value for the serial number textarea.


  • #2
    Re: Demo or Full depending on Serial.

    In your IF control structure, you will need quotes around the serial number because otherwise it will consider "-" as an operator.

    As for having "0000-0000-0000-0000" as your default value in the serial number field, what you could do is just assign that value to the variable you are using to store your serial number such as %UserSerialNumber% on the Before actions tab of that screen. That should get you on your way.