Persistent Variable
Posted: Thu Jun 21, 2007 6:39 am
Hi,
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.
What am I doing wrong?
Thanks,
D.
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.
Code: Select all
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
What am I doing wrong?
Thanks,
D.