Archive: Skip display of built-in Pages according to a condition


Skip display of built-in Pages according to a condition
Hi,

I want to skip the installation if there no jre found. The checking of JRE is done in Custom Page and if there is no jre i should give an error message and skip the whole installation.

Is there anyway to do that?. If so please help me out this situation.

Thanks,
Velu


to skip a page, add a pre-function to it and use abort to skip the page (if a condition is met). there is an example in the nsis manual (4.5.3 Callbacks). however, your descriptions sounds more like you want to quit the entire installation, rather than skipping pages.