Wix Toolset RegistrySearch is not saving a registry key

If you want to persist property values from user choices it may be easier to just let WiX do it with the “remember property” pattern.

It’s not clear how you are saving these values and retrieving them, because there is no indication if you are saving them in 32-bit or 64-bit location, or if you are using the -arch switch to set the default, so it may be that you are saving or restoring them from different bitness locations (see RegistrySearch win64 setting). Without this context it’s not clear if that search will work or not. It appears to be a 32-bit search in the absence of Win64=yes, but the -arch switch changes the default.

Leave a Comment