Quote:
Originally Posted by killkrazed
If A game has it's registry keys in 2 different places based on if it's 64 or 32-bit how would I add that to innosetup?
EG:
The Game on 32-bit windows has it's registry in "HKEY_LOCAL_MACHINE\SOFTWARE", But in 64-bit windows it instead goes into "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432NODE".
Would I simply add registry for both editions, changing the "HKLM; SubKey: "SOFTWARE\" to "HKLM; SubKey: "SOFTWARE\WOW6432NODE\". Or does innosetup sort it out itself?
Thanks in advance.
|
you must use "Check: IsWin64;" if you want Inno to add the registry is running under x64 and "Check: not IsWin64" if running in x86.
But remove this line in both x86 and x64 OS in your registry (\WOW6432NODE)