Persistent Variable not being persistent.
Posted: Tue Jul 14, 2009 12:40 pm
Hi,
I can not seem to get the 'Remember value when restarting setup' option to work on a variable. I would like to use the last value of it during the uninstall, but displaying its contents in a message box shows it to be empty when uninstalling. It actually had a value during setup because it passes the value to a custom program which successfully writes it to a database.
I've definately got the check box checked because the variable is called a 'Persistent Variable' in the script.
Does another setting need to be adjusted to recall the value?
Any ideas?
Thanks,
ab
I can not seem to get the 'Remember value when restarting setup' option to work on a variable. I would like to use the last value of it during the uninstall, but displaying its contents in a message box shows it to be empty when uninstalling. It actually had a value during setup because it passes the value to a custom program which successfully writes it to a database.
I've definately got the check box checked because the variable is called a 'Persistent Variable' in the script.
Does another setting need to be adjusted to recall the value?
Any ideas?
Thanks,
ab