Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 6 of 6
  1. #1
    Join Date
    Dec 2003
    Location
    Israel
    Posts
    3

    How can I... (SN)

    Hey,
    How can I change in the "Verify Serial Number" screen, the needed SNs
    for ex: If today is December 07 then I want the setup to continue running only if the Serial Number that the user entered is 07-12.
    so how can I add a command line to the "Serial Numbers List"?

    Thanks, Gil.


    I saw a solution here: http://www.indigorose.com/forums/sho...=serial+number
    which I could use for an example but the attachment link is broken.

    Thanks Again, Gil.

  2. #2
    Join Date
    Jul 2001
    Location
    Indigo Rose Software
    Posts
    1,834
    It appears that the other post's attachment was created using another product of ours, AutoPlay Media Studio and would just create a list, but that couldn't be added to the serial number list.

    Currently in Setup Factory, the serial number list can only be generated at design time so it is encrypted inside of the installation executable. There is no way to dynamically add to that list so it can be used on the Verify Serial Number screen.

    You could use an Edit Boxes screen to prompt the user for their serial number. If you need to simply prompt the user for some information and then validate that, for example against a value hard coded in the install, or read from the Registry or something like that, you could peform the validation on the After actions tab and conditionally show another screen.

    Perhaps a little more information about what you are trying to accomplish may help.

  3. #3
    Join Date
    Dec 2003
    Location
    Israel
    Posts
    3

    hmmm

    Im trying to make a setup for some files and I don't want the client to install it on another date..
    I want him to buy the product in day X and only to install it on that day (and that no-one will have the ability to install it after that day).
    So I added the Edit Boxes Screen and an IF command in the After Tab and it never does the commands in the after tab.. so I decided to use Serial number..

    :(

  4. #4
    Join Date
    Jul 2001
    Location
    Indigo Rose Software
    Posts
    1,834
    Lets explore the problems you were having on the AFTER tab of the Edit Boxes screen.

    As a test, enter an IF control structure with the condition:

    %Editbox1% = "07-12"

    In between the IF and END IF, add a Show Message Box action.

    Once you see that works, you could have something like:

    %Editbox1% <> "07-12"

    Hope that helps.

  5. #5
    Join Date
    Dec 2003
    Location
    Israel
    Posts
    3
    Thnks, I found my problem and things goes well but I just cant understand one thing:
    I have created a DLL file and I'm using it before installation so he isn't at the %srcDir%, how can I then use it?
    another thing is that when I'm using the DLL from it's FULLPATH (c:\Prog.....\bla.dll), It's functions doesn't retrieve me any information.
    one last thing : Is there any chance to muliply #CURRENTDAY# with #CURRENTYEAR# for example, without making this string 9*2003:confused:

    THANK U ALL VERY MUCH!!!

  6. #6
    Join Date
    May 2000
    Location
    Indigo Rose Software
    Posts
    2,150
    I am not sure about the dll but as for the multiplication problem:

    1) Use a Variable -> Assign Value action
    2) Put #CURRENTDAY# * #CURRENTYEAR# in the value field.
    3) Make sure that you check the box that says "Evaluate as Expression"

    The variable that you specified now holds the value of #CURRENTDAY# * #CURRENTYEAR#

Posting Permissions

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