* Reply with quote
* Edit post
* Report this post
(forum thread
http://www.installjammer.com/forums/viewtopic.php?f=5&t=435\)
I just put attention that variable, defined in Set Destination Pane, gets defined and initialized to empty string as a result of running Create Install Panes Action. Is it by design ?
Here is the scenario where it was problematic for me:
0) I added the Set Destination Pane to my project, and set pane's Virtual Text variable name to XYZ
1) I am checking some external txt file whether it contains definition for variable XYZ, and if yes - fetch it from there into Virtual Text with the same name
2) before entering the pane above, I check whether Virtual Text variable XYZ exists, and if not - I skip the pane
So, as you see the problem is that Virtual Text is always defined because of the way Create Install Panes Action works.
I know how to workaround this, but I still want to hear your opinion on this.
Should this behavior of Create Install Panes Action be documented,
or maybe pane's variables should be initialized dynamically - only if the pane gets displayed (and not initialized if the pane gets skipped) ?