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!

shadyfan
Posts: 45
Joined: Sat Nov 25, 2006 8:15 pm

Help needed

Hi,
Here's the situation: when I click next I want the program to check if there's an application installed; if it is - the installation may continue; else I want to display a dialog which contains a message and "OK" button. This dialog should not contain "CancelDlg", it may be just a message box. When the user presses "OK" this dialog should be closed and the previous dialog should be in front of the user.
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,
Here's the situation: when I click next I want the program to check if there's an application installed; if it is - the installation may continue; else I want to display a dialog which contains a message and "OK" button.
Usually this is done with a launch condition. To detect if an application is already installed you can search for a file or a registry key. So create a search in the "Search" page to find a file/registry key that is installed with the application you want to detect.

With the result of the search create a launch condition in the "Prerequisites" page,
"Launch Conditions" tab (you can use the "Launch Condition" wizard).

Hope this helps.

Best Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”