View Single Post
Old 11th May 2020, 11:46   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,321
NSIS does tolerate data appended to the end of the exe, see https://nsis.sourceforge.io/ReadCustomerData

Restoring data this way is always going to be problematic. What if another installer appends its data after you? If you change something like %path% it would be better if you just look for and remove your own $InstDir. https://nsis.sourceforge.io/EnVar_plug-in supports this.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote