Inno Setup External Program Launch Error with Spaces in Path
When the installation package completes the installation, it can start an external program to copy the Revit Addin file to the corresponding version file location. However, I use
1 | [Run] |
If the correct installation path selected by the user is C:\Program Files (x86) default path, passing the string will automatically split into an array causing the program to run error.
I went to stackflow to ask questions and found a solution. I will put the solution and corresponding link below. Those who have similar situations can refer to the following links to solve.
Because in Pascal statements “” represents ‘ , Source: Why double quotes in pascal need to type 6 single quotes so you need to modify the above statement to
1 | [Run] |
Inno Setup, spaces in parameters in [Run]

All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.



