Archive: Conditional inclusion of data files if exists


Conditional inclusion of data files if exists
Hi,

Is there a way to include some data files if they exist in a specific location and to ignore them if they do not exist. I have a peculiar situation where if i want to load a specific subset of software then I can pre generate a file list, which I need to include in a specific location. If I don't want to do a partial update I want to not pre generate these files and not include them into my installer. Is there a way to do this without having 2 seperate installers?

TIA

Jonathan


Use !system with an IF EXIST and IF NOT EXIST like shown here:
http://nsis.sourceforge.net/SetCompi...current_script

Stu


I thought of this when reading the original question:

File /nonfatal "a file that might not exist"

Thanks guys,

the simple File /nonfatal works a treat