Is it safe to store a product serial number under the Uninstall registry key where WiX stores bundle metadata? #9178
Unanswered
annapurnasomarouthu
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Question
I’m seeking clarification about storing custom data—specifically a product serial number—under the Windows Uninstall registry key created by WiX Toolset.
When we install a WiX-based bundle or MSI, it automatically creates an entry under:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{GUID}This registry location typically contains essential metadata written by WiX, such as:
These entries allow Windows and WiX to detect, repair, or uninstall the bundle correctly.
I am considering storing the product serial number (entered by the user during installation) in this same location, for example:
My questions are:
Security & Privacy:
Alternative approaches:
(For example, encrypting serial key.)
I’d like to follow proper installation and security practices, and I want to ensure that storing a serial number here won’t create unintended issues or security exposure.
Any guidance or experience from others who’ve implemented similar license storage mechanisms would be greatly appreciated.
Thanks in advance!
Annapurna
Open Source Maintenance Fee
wixtoolsetproject because I support the maintainers.Beta Was this translation helpful? Give feedback.
All reactions