출처: http://forums.winamp.com/showthread.php?s=ff25614477fdc4857d4d96af41a1fd08&threadid=261166
P.S. Something that most users might not know is that if you pass in KEY_WOW64_64KEY when running 32-bit on 32-bit, the bit is ignored so the same Read/WriteReg call in your NSIS script will work "correctly" on 32-bit and 64-bit host platforms. For example, the following line will always read from the native registry:
ReadRegStr $2 HKLM "SOFTWARE\Crystal Decisions\10.2\Crystal Reports" "CommonFiles" ${KEY_WOW64_64KEY}
P.S. Something that most users might not know is that if you pass in KEY_WOW64_64KEY when running 32-bit on 32-bit, the bit is ignored so the same Read/WriteReg call in your NSIS script will work "correctly" on 32-bit and 64-bit host platforms. For example, the following line will always read from the native registry:
ReadRegStr $2 HKLM "SOFTWARE\Crystal Decisions\10.2\Crystal Reports" "CommonFiles" ${KEY_WOW64_64KEY}