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?

