I’d like to call a batch file at the start of an Inno Setup compile process. i.e. before it starts compiling, perform an external operation. Is this possible or should my external activity be wrapping the Inno Setup compile process?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
If you have ISPP installed with Inno (It’s built in now) then you can use the
Exec()preprocessor function to run your batch file. The compile will be paused until it returns (place it at the beginning of your file).If your command takes arguments, you have to write it as:
You can also run it from a batch file that then calls the setup compiler.