NSIS pre-2.43 will compile this script normally but 2.43 will return:
OutFile "NSIS243_test.exe"
Icon "icon.ico"
;UninstallIcon "icon.ico"
Function .onInit
WriteUninstaller $TEMP
Abort
FunctionEnd
Section Blank
SectionEnd
Function un.onInit
Abort
FunctionEnd
Section un.Blank
SectionEnd
Error generating uninstaller icon: invalid icon size (possibly compressed icon) -- failing!
Perhaps this is an intentional change, but it's not documented and I would also expect the compiler to appear less "confused" about it, so I'm reporting it. I compiled on XP.
Another thing: GetSystemDefaultLangID() still misbehaves on Vista. I reported this a while ago: thread