Additional Launch Condition for SQL Express - 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!

kumarkiranc
Posts: 85
Joined: Tue Sep 18, 2007 6:49 am

Additional Launch Condition for SQL Express

Hi,

How i can mention Additional Launch Condition for SQL Express in Advance installer.


Please tell me with example.

Thanks
Kiran
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

I'm not sure I understand what you mean. Can you please give more details about this?

Is SQL Express installed by your package (the actual files of SQL Express are in the "Files and Folders" page) or you are using it as a Prerequisite?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
kumarkiranc
Posts: 85
Joined: Tue Sep 18, 2007 6:49 am

iam suing it as a Prerequisite. If user runs the setup.exe then iam checking sql is there or not.

if user directly runs the msi file then i should tell that sql express is not pressent in the system.

thanks
kiran
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

This can be done by using a search in the "Search" page. This search will try to find a registry value or a file that is present on the target computer only when SQL Express is installed (you can use the detection criteria you are using for the prerequisite).

You can read more about the "Search" page here:
http://www.advancedinstaller.com/user-guide/search.html

The property of the search (usually it's RESULT_PROPERTY) will be used in the "Prerequisites" page, "Launch Conditions" tab in the "Additional Launch Conditions" section.

The condition will use the value of the search property to determine if the installation will run or not (for example you can use the condition: "RESULT_PROPERTY" which is true if the search was successful).

You can read more about Additional launch conditions here:
http://www.advancedinstaller.com/user-g ... tions.html

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”