Cannot use Variable in Label name
Posted: Sun Jun 24, 2012 11:49 pm
Hi InstallAware Team,
As per my project requirement, whenever user click on Cancel button in the dialog, installer shows additional confirmation dialog with two buttons Resume and Exit.
If user clicks Exit then installer terminates the installation and if user clicks Resume then installer resumes the setup from the dialog from where user clicked Cancel.
To achieve this requirement, I have created one variable that stores the value of current Label and tried to put it in GOTO command when user clicks on Resume button [See the attachment].
In attached flow, from Dialog2, user clicks on Cancel button so the CancelDialog opens and from that dialog user clicks on Resume button so the control goes to the $CURRENTLABEL$ which is currently Label2.
But after implementing this when I try to compile or build the script, InstallAware shows me following error:
Label Undefined: $CURRENTLABEL$
It may be because installaware does not support variables in Label name.
So how can I achieve my requirement? Please provide me the solution.
Thanks,
Chintan
As per my project requirement, whenever user click on Cancel button in the dialog, installer shows additional confirmation dialog with two buttons Resume and Exit.
If user clicks Exit then installer terminates the installation and if user clicks Resume then installer resumes the setup from the dialog from where user clicked Cancel.
To achieve this requirement, I have created one variable that stores the value of current Label and tried to put it in GOTO command when user clicks on Resume button [See the attachment].
In attached flow, from Dialog2, user clicks on Cancel button so the CancelDialog opens and from that dialog user clicks on Resume button so the control goes to the $CURRENTLABEL$ which is currently Label2.
But after implementing this when I try to compile or build the script, InstallAware shows me following error:
Label Undefined: $CURRENTLABEL$
It may be because installaware does not support variables in Label name.
So how can I achieve my requirement? Please provide me the solution.
Thanks,
Chintan