79557843

Date: 2025-04-06 06:09:19
Score: 4.5
Natty:
Report link

So how can you build an x64 setup.exe in VS that can read x64 registry keys? I have an installer that includes only x64 prerequisites because the app itself is x64 and will only run on x64 platforms. When the installer runs on x64 platforms (as an x86 process) it cannot detect whether the prerequisites are installed (ever). The install.log file always generates the same content "Unable to read registry value", even though the values are clearly visible in regedit or from the cmd line reg query. I've tried everything under the sun, including every possible registry key/value pair in the bootstrapper manifest, and I don't know of a way to force VS 2022 to build an x64 setup.exe (the configuration manager dropdowns are empty and the solution's TargetPlatform property has no effect). Is there a work around short of third-party apps?

Reasons:
  • Blacklisted phrase (1): ve tried everything
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Drowning_Ophelia