Hello,
I'm afraid that might not be possible, because both the installation folder (APPDIR) and the EXE file inside it do not exist at that point (before the installation is started).
Achieving what you want might be possible by also adding your EXE as a
temporary file and then checking its' version using a
custom action.
Hope this helps!
Best regards,
Catalin