espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.36k stars 7.21k forks source link

Setup - ESP-IDF Tools 2.0 Installer for WIndows. IDF_TOOLS_PATH cant be changed once set from previous install. (IDFGH-1544) #3806

Closed dlafont closed 5 years ago

dlafont commented 5 years ago

When using the new installer for ESP-IDF Tools 2.0 for Windows 10. If you have set the ESP-IDF Tools installations folder incorrectly you can no longer change it to some other location in subsequent install attempts.

The first time you install it asks "Select Destination Locations" and "Where should the ESP-IDF Tools be installed?". After the first install attempt, it no longer asks you and uses the prior default location from the last install without giving you the option of changing even if it is wrong.

You can never change the location again even if it is incorrect.

----------------------------- Delete below -----------------------------

If your issue is a general question, starts similar to "How do I..", or is related to 3rd party development kits/libs, please discuss this on our community forum at esp32.com instead.

INSTRUCTIONS

Before submitting a new issue, please follow the checklist and try to find the answer.

If the issue cannot be solved after the steps before, please follow these instructions so we can get the needed information to help you in a quick and effective fashion.

  1. Fill in all the fields under Environment marked with [ ] by picking the correct option for you in each case and deleting the others.
  2. Describe your problem.
  3. Include debug logs on the monitor or the coredump.
  4. Provide more items under Other items if possible can help us better locate your problem.
  5. Use markup (buttons above) and the Preview tab to check what the issue will look like.
  6. Delete these instructions from the above to the below marker lines before submitting this issue.

----------------------------- Delete above -----------------------------

Environment

Problem Description

//Detailed problem description goes here.

Expected Behavior

Actual Behavior

Steps to repropduce

  1. step1
  2. ...

// It helps if you attach a picture of your setup/wiring here.

Code to reproduce this issue

// the code should be wrapped in the ```cpp tag so that it will be displayed better.
#include "esp_log.h"

void app_main()
{

}

// If your code is longer than 30 lines, GIST is preferred.

Debug Logs

Debug log goes here, should contain the backtrace, as well as the reset source if it is a crash.
Please copy the plain text here for us to search the error log. Or attach the complete logs but leave the main part here if the log is *too* long.

Other items if possible

igrr commented 5 years ago

@dlafont To change the IDF_TOOLS_PATH, please go to "Add or remove programs" in Settings, and uninstall "ESP-IDF Tools 2.0". Then install again, the option to choose the installation path will become available.

szroland commented 5 years ago

Unfortunately uninstall also doesn't work in this case, because Windows does not find the unins000.exe. In my case, my username has a space in it, which prevented the installer from working, but now it is impossible to uninstall either and the setting for the wrong directory is remembered and a cannot be overwritten.