ako
Posts: 2
Joined: Tue Aug 23, 2005 10:52 am

Missing prerequisite -> fail installation

I want to test for Microsoft SQL Server SP3 before installing our product.

I have succeeded in testing for SP3, but I would like to just fail the installation, if it is missing. Is this possible?

I don't want to bundle the SP3 with our product, and I don't have a dirrect link to a Microsoft homepage where SP3 can be downloaded.

Regards
Anders Olsen
Speed of Mind ApS
Mike
Posts: 292
Joined: Wed Jun 01, 2005 10:50 am
Location: Craiova, Romania
Contact: Website

Hi,

You can stop the installation using an "Error Message" type of custom action. You can use the result for the SP3 testing as the condition for this custom action.

If the SP3 testing fails then an error message will be displayed and the installation will be halted.

Regards,
Mihai
Mihai Bobaru
Advanced Installer Team
http://www.advancedinstaller.com
ako
Posts: 2
Joined: Tue Aug 23, 2005 10:52 am

Hello Mihai

Thank you for your answer. This sounds like a better solution.

Do you know where I can find any documentation on how to write the conditions for the custom actions? I haven't been able to find any description of how to write the "boolean expression"s.

Regards

Anders
Mike
Posts: 292
Joined: Wed Jun 01, 2005 10:50 am
Location: Craiova, Romania
Contact: Website

Hi,

For more information on conditional statement syntax please visit:

http://msdn.microsoft.com/library/defau ... syntax.asp

All the best,
Mihai
Mihai Bobaru
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”