Change Inno Setup messages from Pascal code
问题 I need to change ConfirmUninstall , UninstalledMost (just in case), and UninstalledAll specifically from script to set a condition. Something like this: if FileExists(ExpandConstant('{app}\Slash.exe')) then SetupMessage(msgConfirmUninstall) := FmtMessage(SetupMessage(msgConfirmUninstall), ['Dagon Slasher']) else if FileExists(ExpandConstant('{app}\Frank.exe')) then SetupMessage(msgConfirmUninstall) := FmtMessage(SetupMessage(msgConfirmUninstall), ['Dagon Frankenstein']) else SetupMessage