Old 27th August 2008, 15:44   #1
thangavelu
Junior Member
 
Join Date: Aug 2008
Posts: 1
Angry 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
thangavelu is offline   Reply With Quote
Old 27th August 2008, 16:33   #2
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
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.
Yathosho is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump