Installation Variable resetting

Hi,
An installationen variable keeps resetting when I restart a program. It keeps jumping back to the original value I set it as, acting as local variable. Is this a bug? Ive encountered this a few times before, and I cant find a reason for it.

/Tor

Does your program have a line that sets the value of that variable?

No I checked that! It resets immediately after i start the program.

Can you show your whole program here?