I know that the directive ArchitecturesInstallIn64BitMode=x64 ia64 can be set, so that Inno Setup will decide on the processor type and install in 64 bit if its possible.
But I need some [Code] section function to set the install mode (32 or 64).
Is it even possible?
Example:
This function will return the Java installation architecture (32 or 64):
function CheckJavaInstallation()
According to the result I want to set Inno Setup to the correct install mode -> Selection of the correct Program Files or Program files (x86) and in the correct registry (normal or WOW6432Node).