Menu

Required function or procedure not found

Schuss
2011-06-11
2013-05-30
  • Schuss

    Schuss - 2011-06-11

    When I compile an Innounp decompiled FoxitReader501.0523_enu_Setup.exe, it throws this error message
    .    Line 17:  Required function or procedure 'SetDefaultReader' not found.
    .
    .  o Is there a process for recovering a missing function/procedure?
    .  o Is this error related to something in CompiledCode.bin?
    .  o Is there some resource on the web that explains this?
    .
    Thanks for any help…
    .
    Innounp is an excellent tool - I just wish I could use it more effectively.
    .

     
  • Ariman

    Ariman - 2011-06-12

    This is the reference to function in the script. You can either remove the reference or recreate script from CompiledCode.bin (you have to do this manually because it is impossible to decompile script to readable text, just to byte-code).
    May be there is a way to feed IS with already compiled script, but I can't help you in this area.

     
  • Anonymous

    Anonymous - 2012-11-11

    2 ariman_ua
    Do you know by chance if its possible just to insert this byte-code into InnoSetup Script code section? Without actually recreating the script?
    Straightforward copy-pasting doesn't work, but going through byte-code you can see function definitions, literals, etc. I suppose it it might be possible

     
  • Ariman

    Ariman - 2012-11-12

    I suppose it is possible. But internal code addresses will change and you will have to update all jump, return, etc calls.

     

Log in to post a comment.