arduino / arduino-create-agent

Arduino Cloud Agent
GNU Affero General Public License v3.0
419 stars 149 forks source link

Installation on Win fails with error: "Error trying to install file: destination ${windows_folder_startup} resolved to an empty value" #673

Open rsora opened 2 years ago

rsora commented 2 years ago

Describe the problem

Installation on Win fails with error: Error trying to install file: destination ${windows_folder_startup} resolved to an empty value

To Reproduce

  1. start the configuration wizard for the Agent on https://create.arduino.cc/getting-started/plugin/welcome
  2. download Agent Installer for WIN64 1
  3. launch the Installer and click "Next" 3
  4. accept agreement clicking "Next" 4
  5. click "Next" accepting proposed installation path 5
  6. click "Next" again to start the installation
  7. Installation stops with the error:
    There has been an error.
    Error trying to install file: destination ${windows_folder_startup} resolved to an empty value
    The application will exit now.

    7

Please note from the screenshot that the folder C:\Users\Local Computer Admin\AppData\Roaming\ArduinoCreateAgent is created during the install process

Expected behavior

I expect to successfully install the Agent in the proposed installation path without errors

Arduino Create Agent version

1.2.4

Operating system

Windows

Operating system version

Windows 10 Home 21H1 build 19043.1348

Additional context

Here are the log files from C:\Users\<Local Computer Admin>\Appdata\Local\Temp:

Additional reports

rsora commented 2 years ago

Maybe related to arduino/arduino-create-agent#118