Inno Setup: How do I see the output (translation) of the Inno Setup Preprocessor?

后端 未结 1 550
有刺的猬
有刺的猬 2020-11-27 20:57

I have an Inno Setup script with preprocessor directives (#defines, #ifs, etc.)

I want to run the Inno Setup preprocessor on my script and

相关标签:
1条回答
  • 2020-11-27 21:54

    When all else fails look for the answer yourself

    Add the following line right at the end of the script.

    This will generate a file preprocessed.iss with all macros expanded and #defines, #ifs etc. processed.

    #expr SaveToFile(AddBackslash(SourcePath) + "Preprocessed.iss")
    
    0 讨论(0)
提交回复
热议问题