Conditional Prompt - Advanced Installer Community

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!

Trax
Posts: 46
Joined: Wed May 06, 2009 5:24 pm

Conditional Prompt

Is there a way to use a Search for a folder and if the Search returns false to prompt the user for the folder?
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Conditional Prompt

Hi,

In order to achieve what you want you can create a Search for a folder, then create a new dialog following the steps in our How to browse for a folder at install time article, right-click on the dialog you created and select "Show only if..." option where you can set the search property as a condition for the dialog.

Let us know if this helped, otherwise give us more details about your scenario.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Trax
Posts: 46
Joined: Wed May 06, 2009 5:24 pm

Re: Conditional Prompt

thanks for the reply.

What we have so far is a Registry search for a Key that is a path to a folder. Before we would have a Lauch Condition that checked the Search and if it didn't exists halt the installation. We come across issues where the customer may forget to set the Registry or what not and we want to make the Install more forgiving by giving them a chance to set the Value if it doesnt exists. I went about making the Dialog and linking it to the Search but when i click next nothing happens. I'm guessing this is because the Key itsself in the registry is still empty therefor the Condition is never fulfilled when the user picks a path. any suggestions?
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Conditional Prompt

Hi,

I'm not sure why you encounter this behavior. Can you please send us the .AIP (project file) and a verbose log of the installation so we can investigate them?

Also, can you tell us which is the dialog that does nothing when you click "Next" and give us more details about your scenario (maybe exemplify).

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”