Skip to content
⌘ NSIS Forum Archive

Read EditionID from Registry problem

3 posts

sfx09#

Read EditionID from Registry problem

Hello!

Sorry for my English.
I'm trying to read from registry:


ReadRegStr $R0 HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion" "EditionID"
In $R0 I get value: "Enterprise", but real value in "EditionID" is "Professional"!
The "Enterprise" value is part of "CompositionEditionID" key (see screenshot in attach).
It's a bug?

I use NSIS 3.08.

Thank you!
sfx09#
SetRegView 64?
Thank you! It turned out that Windows has differences in WOW6432NODE CurrentVersion (what a mess). 🙂))