jbryant
Posts: 4
Joined: Sat Feb 08, 2025 5:57 pm

Per User Install "Could not create key: \SOFTWARE\Microsoft\Active Setup\Installed

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?
Attachments
Snap515.jpg
Snap515.jpg (54.56 KiB) Viewed 9711 times
Liviu
Posts: 1325
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Per User Install "Could not create key: \SOFTWARE\Microsoft\Active Setup\Installed

Hello and welcome to our forums,

Can you please send us the .AIP (setup project) file and an installation log by email to support at advancedinstaller dot com so we can further test and investigate this?

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jbryant
Posts: 4
Joined: Sat Feb 08, 2025 5:57 pm

Re: Per User Install "Could not create key: \SOFTWARE\Microsoft\Active Setup\Installed

I received a response from the support team. I was using an Active Setup in my install and this is what was causing the issue. Once I removed the Active Setup everything worked as expected.
Catalin
Posts: 7504
Joined: Wed Jun 13, 2018 7:49 am

Re: Per User Install "Could not create key: \SOFTWARE\Microsoft\Active Setup\Installed

Thank you for your followup on this and for sharing the solution with other memebers.

I am sure this will be of help for others facing a similar scenario.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”