At what stage does a persistent variable actually become persistent?
Before or after Apply Install??
I have the following code that does not seem to work:
This happens before prerequisites install... So on every re-boot during prerequisites, the same code get executed, even though I only want it to execute the first time.
if Variable DATE_CHECK_PASSED not is Defined
Set Persistent Variable DATE_CHECK_PASSED to FALSE
Do some work. On fail, Terminate Installation
otherwise
Set Persistent Variable DATE_CHECK_PASSED to TRUE
end
I believe they are persisted only after apply install, if you need to save a value before apply install write the value to the registry or to a text file.
Jim Oswell
Software Engineering Manager, Dental
Greenway Health, LLC
http://greenwaymedical.com