In Inno Setup, is there a way to set the deployment directory in code, before the "select destination location" wizard screen comes up?
I have the DefaultDirName set in the [Setup] section like so:
DefaultDirName=C:\Program Files\MyAppDefaultDir
but I have code that reads in options from a file, and one of those options may be a different deployment directory, so I'd like to set the deployment directory in code so that when I get to the "select destination location" it shows the appropriate directory already.
Something like:
{app} = 'c:\Some_other_install_dir';
Though I know that won't work.