#380296
I have not previously heard of this happening; the installer reads the registry to find a path written by SketchUp's installer, indicating where SketchUp was installed, and otherwise falls back to checking whether it can be found at the default install location. So I guess the first thing I would try would be to repair/reinstall SketchUp, in case the registry key has been deleted (perhaps by the use of registry-cleaning software).
Sketchup 2024 Released

I would like to add my voice to this annual reques[…]