It fails on parsing `LauncherSourceFile="` so apparently it is making it through `AppInfoVersion="` just fine. Here's the text file it is parsing:
!define BUILDSCRIPTVERSION `version="1.3.4.0"`
!searchparse /file AppInfo.cfg `AppInfoVersion="` CFG_VER_MAJOR `.` CFG_VER_MINOR `.` CFG_UPDATE `.` CFG_REVISION `"`
!searchparse ${BUILDSCRIPTVERSION} `version="` SCRIPT_VER_MAJOR `.` SCRIPT_VER_MINOR `.` SCRIPT_UPDATE `.` SCRIPT_REVISION `"`
!if "${CFG_VER_MAJOR}.${CFG_VER_MINOR}" != "${SCRIPT_VER_MAJOR}.${SCRIPT_VER_MINOR}"
!error "Incompatible AppInfo.cfg file. Please use AppInfo.cfg version ${SCRIPT_VER_MAJOR}.${SCRIPT_VER_MINOR}.${SCRIPT_UPDATE}.x"
!endif
!if ${CFG_UPDATE} < ${SCRIPT_UPDATE}
!error "Incompatible AppInfo.cfg file. Please use AppInfo.cfg version ${SCRIPT_VER_MAJOR}.${SCRIPT_VER_MINOR}.${SCRIPT_UPDATE}.x"
!endif
!searchparse /file AppInfo.cfg `LauncherSourceFile="` PROGRAMSCRIPT `"` <<<HERE IS WHERE IT FAILS
!searchparse /file AppInfo.cfg `MainAppEXE="` APPEXE `"`
. . .
As I said, it compiles just fine with 2.44, but not with 2.45. I noticed in the 2.45 changelog that there was a bugfix for searchparse, so perhaps that broke something else...
AppInfoVersion="1.3.4.0"
#***REQUIRED LINES***
AppName="PortableApps Launcher Wizard"
LauncherSourceFile="PALauncherWizard.nsi"
#MainAppEXE is the exe of the actual app, not the launcher
#Include its relative path within the U3 Package
#i.e. Device\MainAppEXE.exe
MainAppEXE="Device\PALauncherWizard.exe"
. . .
If this is the wrong place to post this, please just point me in the right direction.