Change DefaultDirName in InnoSetup

After about 30 mins of struggling to change the default install dir for inno setup I finally found the answer: Basically the previous install directory for software has precedence of theĀ DefaultDirName, so you need to turn this off, and it is done as follows:

[box]

UsePreviousAppDir=no

[/box]

Your software will now default to install to the directory you specify with:Ā DefaultDirName={pf}{#MyAppName}Some sub folder

Happy Compiling andĀ Cheerio ?

"Turkey