Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2003
    Location
    El Salvador
    Posts
    9

    Instalarion Counter

    Hi is me again, I have been able to accomplish a lot of stuff with SF6, is really a great program, but I have been looking on this forum and I wasn’t able to find help on this

    My installation program need to have a counter so the people in charge of the systems in the stores have control of how many times the program have been install,

    so in the end of the installation I added and IF (...) Statement to check if the Registry Value exist, if it does, I need to modified the value like
    read from registry (%Registryvar% = ……bla bla)
    IF (%Registryvar% = TRUE)
    Assing Value (%InstCounter% = %InstCounter% + 1)
    Modify Registry (set value:…… bla bla)

    so wend you run the program again it will read from the registry the value said

    This program haves been run 2 times, are you shore you want to run it again, some data may be lost

    if the person say yes the next time should appear

    This program haves been run 3 times, are you shore you want to run it again, some data may be lost and so on

    the problem is

    the message Y get is

    This program haves been run 1 + 1 times, are you shore you want to run it again, some data may be lost and so on

    and if I run it again it appear

    This program haves been run 1 + 1 + 1 times, are you shore you want to run it again, some data may be lost and so on

    any help on this?

  2. #2
    Join Date
    Jun 2003
    Location
    El Salvador
    Posts
    9
    Ignore the Question I allready Fix it, I just clicked on the EVALUATE VALUES AS EXPRECION and it did it, This program rocks

Posting Permissions

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