Hello,
In my project there are components like this:
Define Component: My Server
Define Component: My Server\Driver
Define Component: My Server\MySQL Database
Define Component: My Server\Web
I want that If "my Server" is selected the chield "My Server\MySQL Database" is always selected and cannot be deselected by the user.
I tried this:
Get Component My Server Selection State into Variable SELECTED
if Variable SELECTED Equals TRUE
Select Component: My Server\MySQL Database
The problem is that the MySQL is selected but the user can deselect the item if he want.
Is it possible that in the component tree or treeview we can make a dependency to the "next" button, so that the Next button is disabled if the MySQL is not selected?
regards
Hansjoerg
Required component, Avoid deselect,
Re: Required component, Avoid deselect,
Dear Hansjoerg,
You cannot create that constraint (I have tried before).
What you can do is check the validity of the selection AFTER the user has pressed Next, and then if the selection is invalid display a message box and go back to displaying the previous dialog.
You cannot create that constraint (I have tried before).
What you can do is check the validity of the selection AFTER the user has pressed Next, and then if the selection is invalid display a message box and go back to displaying the previous dialog.
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: Required component, Avoid deselect,
Dear Hansjoerg,
You cannot create that constraint (I have tried before).
What you can do is check the validity of the selection AFTER the user has pressed Next, and then if the selection is invalid display a message box and go back to displaying the previous dialog.
You cannot create that constraint (I have tried before).
What you can do is check the validity of the selection AFTER the user has pressed Next, and then if the selection is invalid display a message box and go back to displaying the previous dialog.
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: Required component, Avoid deselect,
Dear Aviv,
thank for the info.
Would be nice feature for the next version.
regards
Hansjoerg
thank for the info.
Would be nice feature for the next version.
regards
Hansjoerg
Re: Required component, Avoid deselect,
I agree. This actually came up a few weeks ago and we are definitely aware of it.
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
-
- Posts: 118
- Joined: Tue Nov 20, 2012 1:02 am
Re: Required component, Avoid deselect,
Any updates on this?
kind regards
Anja
kind regards
Anja
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Required component, Avoid deselect,
Set Component Choice
This command determines whether it is possible for the end-user to select or deselect a component previously defined by the Define Component command.
https://www.installaware.com/mh52/desktop/setcomponentchoice.htm?rhsearch=Set%20Component%20Choice&rhsyns=%20
This command determines whether it is possible for the end-user to select or deselect a component previously defined by the Define Component command.
https://www.installaware.com/mh52/desktop/setcomponentchoice.htm?rhsearch=Set%20Component%20Choice&rhsyns=%20
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
-
- Posts: 118
- Joined: Tue Nov 20, 2012 1:02 am
Re: Required component, Avoid deselect,
FrancescoT wrote:Set Component Choice
This command determines whether it is possible for the end-user to select or deselect a component previously defined by the Define Component command.
https://www.installaware.com/mh52/desktop/setcomponentchoice.htm?rhsearch=Set%20Component%20Choice&rhsyns=%20
Thank you! I missed that.
kind regards
Anja
Who is online
Users browsing this forum: Google [Bot] and 28 guests