I’m trying to install ESP32 toolchain r4 with esp-idf 2.1 (esp32-gcc5.2.0-r4.exe) but after starting the installer and clicking install all I get is an Access Denied message. esp32-gcc5.2.0.exe is already installed on this PC.
What is the correct installation procedure, i.e. do I need to uninstall the old version via VS2017 first?
The easiest way to do it would be to close VS and remove the old toolchain directory. The latest VisualGDB 5.3 Preview and the latest ESP32 toolchain include a fix that prevents VisualGDB from keeping any files in the toolchain directory open, so it should not be a problem next time you update.
Thanks, updating worked by renaming the old folder and then running the r4 installer. Although in VS2017/Manage VisualGDB Packages I now have “Update to version 5.2.0/7.10/r2 available!”.
Are you using VisualGDB 5.2? The new ESP32 toolchain is only compatible with v5.3 and v5.2 would suggest downgrading back to the last version that is compatible with v5.2.