I'd like to be able to include an optional text file at runtime. The NSIS script then reads that text file (if it exists), stores the content in a variable, and uses that variable later.
All working well.
My question is how to share this file with others.
I'm using:
IfFileExists $EXEDIR\data.txt 0 affiddone to work out where to find the text file, but that doesn't work if the installer is ZIPped. The only option is to ask the user to extract the ZIP file before they run the installer.Is there any way to point the NSIS script to the text file within the ZIP file directly?
Regards,
Andy