I have a question for those of you who have worked with InstallAnywhere:
I essentially have written a while loop in an InstallAnywhere project. What I would like to find is an easy and simple way to implement a counter inside this "While loop". Here is some pseudo code of my attempt:
Set InstallAnywhere Variable: $COUNT$ = 0
Jump Label: while
Execute Script/Batch File:
@echo off
set /a TEMP_NUM=$COUNT$+1 > nul
echo %TEMP_NUM%
Set InstallAnywhere Variable: $COUNT$ = $EXECUTE_STDOUT$
Jump: while Rule: $COUNT$ [Less Than or Equal to] 100
The above code sets $COUNT$ to the following:
Loop 0:
1
Loop 1:
1
Loop 2:
1
...
I wonder if this happens because InstallAnywhere is replacing $COUNT$ inside the batch file with 0 in the first loop, and then in subsequent loops it re-uses the same batch file with $COUNT$ already substituted in (like in a batch for loop or if statement).
could it be that $COUNTS$ should be accessed from the OS ENV table using the special key $lax.nl.env.counts$ ? per docs,