Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 953043
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T23:59:17+00:00 2026-05-15T23:59:17+00:00

I have an Inno Setup script with preprocessor directives ( #define s, #if s,

  • 0

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

I want to run the Inno Setup preprocessor on my script and see the preprocessor’s output (translation in Inno-Setup-speak). That is, I want to look at the result of the preprocessor which it normally feeds into the Inno Setup Compiler, where all the references to {#something} are changed into whatever something was defined as.

I look at the command line options (of iscc.exe) and #pragma directives and did not find what I’m looking for. I see that I can specify not to run the compiler (#pragma -c- | /$c-) but I did not find a way to look at the output of the preprocessor.

In short, how do I look at the output of the Inno Setup preprocessor?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T23:59:18+00:00Added an answer on May 15, 2026 at 11:59 pm

    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
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some commands in the [Run] section of my Inno Setup script. Right
I have a simple inno-setup script that allows my setup to install either the
I have a Inno Setup project that I want to check if the application
I am building an Inno Setup script and have libraries that need to be
I need to create a INNO Setup script that will allow me to have
I currently have this in this part of Inno script [Run] Filename: {app}\bin\vcredist_x86.exe; Parameters:
I have an application installer created with Inno Setup that deploys multiple binaries and
We are installing out program via inno setup. We have one main exe file,
I've been playing around with Inno Setup for a couple days now, and have
I have two problems with INNO Setup? How do I check if an env.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.