Innosetup #include not working from build script
I have a Visual Build script which builds my Innosetup installer (Setup.iss). Recently I added a backup/restore functionality which is realized as an inclusion of two additional ISS files using the preprocessor:
[code] [Files] #include ... Code:
procedure ... Code:
Inno Setup 5 Command-Line Compiler |
Working directory
If I move the build script to the same folder as the ISS script, it compiles.
|
According to the IS docs, a relative path for #include is relative to the script file with the #include statement, but you can use a Set Current Dir action before the step if necessary.
http://www.kinook.com/VisBuildPro/Ma...rdiraction.htm |
Bug for ISPP reported
I reported this as a bug for the InnoSetup preprocessor at http://sourceforge.net/tracker/?func...72&atid=509665.
It is quite easy to reproduce and I submitted files, so I hope it will be fixed. Setting the current directory is also fine. I was fixed to the term "working directory", so I didn't find the step on my own. Thank you. |
All times are GMT -5. The time now is 08:04 PM. |
Copyright © 1999-2023 Kinook Software, Inc.