I'm creating a new setup that is targeted as a Per User install. The install is very straight forward, nothing special about it. The application is a Winforms C# application built in Visual Studio 2022.
The install.msi is successfully built and then deployed onto an internal server.
When I run the install things appear to be working correctly until it has almost completed. At that point a dialog is displayed which says:
Could not create key: \SOFTWARE\Microsoft\Active Setup\Installed Components\<guid>
I assume this has something to do with keys related to future updates of the app, and the fact that the context the install.msi is running under does not have enough privileges to write this key to the registry.
What am I missing here?