# Call InnoSetup with Options

**URL:** https://www.finalbuilder.com/forums/t/call-innosetup-with-options/3960
**Category:** Feature Requests
**Created:** [August 1, 2008, 11:31am UTC](https://www.finalbuilder.com/forums/t/call-innosetup-with-options/3960 "2008-08-01T11:31:36Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![pierrey](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/8e7dd6/32.png) [@pierrey](https://www.finalbuilder.com/forums/u/pierrey)
#### Post date: [August 1, 2008, 11:31am UTC](https://www.finalbuilder.com/forums/t/call-innosetup-with-options/3960/1 "2008-08-01T11:31:36Z")

</div>

Hi,

I would like to be able to call the InnoSetup Compiler with Options for the InnoSetup Preprocessor. I have a unique setup that is used to compile 6 packages that relies heavily on the the InnoSetup Preprocessor.

I found a workaround by calling a batch file that calls the InnoSetup Compiler Executable with proper parameters but I miss the "show progress" feature ;-)

Regards

--  
Pierre Yager

---

<div class="post-metadata">

### Author: ![timfrost](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/3bc359/32.png) [@timfrost](https://www.finalbuilder.com/forums/u/timfrost)
#### Post date: [August 2, 2008, 1:01am UTC](https://www.finalbuilder.com/forums/t/call-innosetup-with-options/3960/2 "2008-08-02T01:01:57Z")

</div>

Another workaround, which I use, is to add a few Text Replace steps ahead of the InnoSetup build, and create a temporary ISS file with the preprocessor variables replaced by the wanted values.&nbsp; I surround each replacement target with vertical bars, e.g. "|NAME|", to make them easier to find in the text replace.&nbsp; I would probably continue to do this even if a feature was added to FB to handle preprocessor variables!
