NSI script - can not find the problem registry operations normal

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/zb774095236/article/details/102764624

Today found in learning NSI script written by the teacher registry operations can not be found in the corresponding registry, after careful inquiry found that the problem is because of the system

for example


WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\$(Install_SW_Name)" "Language" "${LANG_ARABIC}"

这段语法 意思为在Software\Microsoft\Windows\CurrentVersion\Uninstall\$(Install_SW_Name)
的 Language 段中写入${LANG_ARABIC}

But I can not find the appropriate fields in the registry based on the path shown above thought is that this statement will fail haha

 

Then I checked and found that the field is in HKEY_LOCAL_MACHINE \ SOFTWARE \ WOW6432Node discovered the Language section \ Microsoft \ Windows \ CurrentVersion \ Uninstall \ $ (Install_SW_Name) in 

 

This time think of the existence of steering problems in the file system and 64-bit x86 systems, this registry manipulation is not also turn happen.

At present I think it is turning this problem occurs because of the different systems

Guess you like

Origin blog.csdn.net/zb774095236/article/details/102764624