This is not a bug, this is only bad design of application (or bad documentation) :)
Use the OutputDir
directive in your [Setup]
section to avoid this wrong behaviour.
OutputDir=c:\output
OutputDir
specifies the "output" directory for the script, which is where the Setup Compiler will place the resulting SETUP.*
files. By default, it creates a directory named Output
under the directory containing the script for this.
You ask why?
If you do not use OutputDir
in your script file (and many people do not use it) Inno Setup tries to create resulting setup in the "userdocs:" folder which causes a lot of troubles on all Windows systems.
Always use this parameter, even if you want to have resulting setup in current folder, in that case use:
OutputDir=output