We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

amorpeth
Posts: 18
Joined: Sat Feb 04, 2017 9:43 pm

Dialog conditions

Hey,

I am trying to add a condition to my dialog so that when an upgrade takes place, the user isnt asked for environment information again.

I am using the OLDPRODUCTS condition, however soon as I add the condition, it moves the dialog as a sub-item of the dialog above. Why is it doing this?

See attachment.

Thanks!
Andrew
Attachments
dialog.jpg
dialog.jpg (105.26 KiB) Viewed 3685 times
amorpeth
Posts: 18
Joined: Sat Feb 04, 2017 9:43 pm

Re: Dialog conditions

Also once I have added condition, how to I edit or remove it?

Option becomes greyed out once condition is added:
Attachments
dialog greyed out.jpg
dialog greyed out.jpg (151.41 KiB) Viewed 3684 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Dialog conditions

Hello,

Indeed, when the show only if... option is used, the dialog is moved as a sub-dialog.

I'm afraid there is no option to edit it, as this condition is used in several places from the project. The solution to change it is the following:
  • move the dialog on which you set the condition back in the chain of dialogs where it previously was, use drag and drop
  • then right click on the branch created when you've set the condition and select "Delete"
  • now you can set the new condition on the same dialog, just as you did the first time
Please let me know if you have other questions.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
amorpeth
Posts: 18
Joined: Sat Feb 04, 2017 9:43 pm

Re: Dialog conditions

Hey Dan,

Thanks for getting back to me.

Its quite confusing visually :)

So its also normal that it moves other un-selected dialogs in to those sub-folders? My observation is that the item you add a condition to is moved to a sub-folder within the dialog above, and the dialog below it is also copied to this sub-folder.

Once this sub-folder is created can I drag in other dialogs I want to use the same condition? This sub-folder is named automatically based to the condition/dialog which makes me unsure.

Feedback: would it not be possible (at least from a UI point of view) to simply create a condition which adds a named (of your choice) folder, then you drag in items that you want to adhere to that condition? The current solution still leaves me confused, although it does work.

Andrew
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Dialog conditions

Hi Andrew,

I admit that the UI might be confusing but this approach was the most "elegant". Please let me know what suggestions you have and I will forward them to the dev team.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”