I am creating an installation package and user should be able to install it on a specific location only.
In order to do so I read some registry values in the [Code] section to determine the installation path.
Having the installation path I need to force Inno Setup to set the installation folder to a specific location at run-time.
Is this possible in Inno Setup? Which section of script should be used if so?
Thanks.