I'm just a poor little developer!

Digging Deep


One of the last communications I had from Raja at Microsoft on my issue at Visual Studio Developer Community regarding my inability to get VS 2017 v15.2 running was that their InstallCleanup app (read about it here as part of the installation issues) shouldn't have registry issues:

"the installCleanup tool does not fail for registry and file removal"

I pointed out to Raja that the log file generated from the InstallCleanup.exe tool had multiple entries of this line:

Removing File Associations:
Deleting Keys...  
Failed - Requested registry access is not allowed.

I was trying to go a bit deeper on my own tonight (since it's been a few days since I've heard anything more from MS) and ran a Process Monitor that was tracing registry access events where access is denied. The trace captured 175 times that InstallCleanup.exe was denied access to a registry key, such as this:

"7:25:46.2909199 PM","InstallCleanup.exe","6632","RegOpenKey","HKCR\.aglib","ACCESS DENIED","Desired Access: Read"

175 of those. and they don't have easy keys to use a wild card with. Sheesh.

I also found older entries of other users having similar issues dating back to VS 2012. On the one hand I'm glad that it's not just me with the issues. On the other hand it seems like there is a persistent issue with the Visual Studio installers and un-installers dating back at least 5 years.

I appreciate that they offer an amazing software development tool for free (in the Community Edition) but if I can't install it or upgrade it or have to manually futz with the registry to get it running, it makes me want to forget about it and go back to taking photographs.

At this point I may try to compile the InstallCleanup.exe log entries into a file for running the SubInAcl user and permission updates, OR I may try to find someway to revert my OS such as paying someone else to re-install it. I wonder if there are many Mac users having to go through this, especially with Mac software.

Comments

Popular posts from this blog

A better mouse trap - issues with a Logitech Wireless Marathon Mouse M705

Implementing IDisposable Properly

Driver Training - cleaning up unused USB drivers