cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
carryr
Level 5

Registry

Hello

I need to create some registry keys on a 64 bits machine. And in all my test the keys are created under HKey_Local_Machine\software\Wow6432Node\MyKey and I need to created under HKey_Local_Machine\software\MyKey

Is there any form that do this??
Labels (1)
0 Kudos

(2) Replies
anom217
Level 8

In an InstallScript function, use
REGDB_OPTIONS = REGDB_OPTION_WOW64_64KEY;

to use the 64-bit part of the registry.

After you're done, revert back to the default settings by using
REGDB_OPTIONS = REGDB_OPTION_USE_DEFAULT_OPTIONS;
0 Kudos
carryr
Level 5

Thanks, it works!!!
0 Kudos