programfilesDir top-level property
The path to the "Program Files (x86)" directory.
This is the directory where Inno Setup will be installed if it is not already present.
Example: On Windows, this path is likely to be C:\Program Files (x86)
.
Implementation
String programfilesDir = Platform.environment['programfiles(x86)']!;