SetValue 64bit machine registry

前端 未结 4 972
忘掉有多难
忘掉有多难 2021-01-14 01:03

I want to set a value for \'NoModify\' in below registry path. \"HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\XXXX\"

I am using below

4条回答
  •  暖寄归人
    2021-01-14 01:39

    When you are on a 64 bit machine and your app is 32 bit - it should store these settings in the HKLM\Software\WOW6432Node instead of the HKLM\Software\ node.

提交回复
热议问题