Our installer has a custom script that is included that runs a bunch of SQL commands. Once the installer gets to that script, the variables that are used as captions in our dialog windows, including $TITLE$, are cleared. All dialog windows that are displayed after the script show "$TITLE$" instead of the actual product name. Is this normal behavior?
I am using IA 11 Studio.
Variables are cleared after included script.
Re: Variables are cleared after included script.
Hey,
It is not a normal behavior - could it be that your script is resetting those variables?
It is not a normal behavior - could it be that your script is resetting those variables?
Aviv Giladi
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Re: Variables are cleared after included script.
I double-checked the script. It is not clearing the variables. I even added a new label to be sure. I set the label's caption to "$TESTVAR$" and at the beginning of the code, set the variable to "Test". The dialog window displayed everything correctly, and then when it got to the script, it cleared all variables including the new TESTVAR variable. I uploaded a screenshot of the variables after they have cleared. The workflow is:
1. The progress dialog appears and runs Apply Install.
2. After the Apply Install, it runs Include Script: MyScript. The variables clear.
3. I have to set the variables back to their original values to preserve them.
4. The progress dialog closes.
1. The progress dialog appears and runs Apply Install.
2. After the Apply Install, it runs Include Script: MyScript. The variables clear.
3. I have to set the variables back to their original values to preserve them.
4. The progress dialog closes.
- Attachments
-
- IA_Vars.JPG (11.64 KiB) Viewed 4774 times
Re: Variables are cleared after included script.
Could you please send your project to support at installaware.com?
Thanks!
Thanks!
Aviv Giladi
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

