Reputation: 85
I have a setup project (installshiedl) where i need to write a value in the registry which internet explorer reads to force its emulator mode to be that of version 8.0. But when i run this on a 64-bit os it is written under wow6432node which is not acceptable since internet explorer is not targeting this part of the registry. How do i force installshield to target the 64 bit registry while my application is 32 bit?
Upvotes: 0
Views: 492
Reputation: 440
Specifies that all future general registry operations affect the 64-bit parts of the registry instead of the 32-bit parts of the registry (on a 64-bit system).
REGDB_OPTIONS = REGDB_OPTIONS | REGDB_OPTION_WOW64_64KEY;
RegDBSetKeyValueEx ( szKey, szName, nType, szValue, nSize );
REGDB_OPTIONS = REGDB_OPTIONS & ~REGDB_OPTION_WOW64_64KEY;
Upvotes: 2