Skip to content

Windows installation paths are inconsistent #879

Open
@per1234

Description

@per1234

Describe the problem

Multiple installation options are provided for the Windows build of the Arduino IDE:

Download name Description Default installation location
Windows Win 10 and newer, 64 bit - Interactive installer
  (w/ "Only for me" selected)
- Silent installer (/CURRENTUSER /S)
%LOCALAPPDATA%\Programs\Arduino IDE
(e.g., C:\Users\per\AppData\Local\Programs\Arduino IDE)
Windows Win 10 and newer, 64 bit Interactive installer
(w/ "Anyone who uses this computer (all users)" selected)
- Silent installer (/ALLUSERS /S)
%PROGRAMFILES%\Arduino IDE
(e.g., C:\Program Files\Arduino IDE)
Windows MSI installer Windows Installer %LOCALAPPDATA%\Programs\arduino-ide
(e.g., C:\Users\per\AppData\Local\Programs\arduino-ide)
Windows MSI installer Windows Installer
(ALLUSERS=1)
%PROGRAMFILES%\arduino-ide
(e.g., C:\Program Files\arduino-ide)
Windows ZIP file Manual installation Wherever it is extracted to

🐛 The default locations of the interactive installer (w/ "Only for me" selected) and the equivalent MSI installation are inconsistent.
🐛 The default locations of the interactive installer (w/ "Anyone who uses this computer" selected) and the equivalent MSI installation are inconsistent.
This might make support more difficult.

To reproduce

  1. Download the Windows interactive installer variant of the IDE.
  2. Run the interactive installer.
  3. At the "Choose Installation Options" menu, select the radio button next to "Only for me (<user name>)".
  4. Click the Next > button.
    The "Destination Folder" field on the "Choose Install Location" dialog is prefilled with the path of %LOCALAPPDATA%\Programs\Arduino IDE (e.g., C:\Users\per\AppData\Local\Programs\Arduino IDE)
    image
  5. Click the < Back button.
  6. At the "Choose Installation Options" menu, select the radio button next to "Anyone who uses this computer (all users)".
  7. Click the Next > button.
  8. Complete the UAC and EULA dialogs.
    The "Destination Folder" field on the "Choose Install Location" dialog is prefilled with the path of %PROGRAMFILES%\Arduino IDE (e.g., C:\Program Files\Arduino IDE)
    image
  9. Download the MSI installer variant of the IDE.
  10. Run the .msi file.
  11. Wait for the installation to finish.
  12. Find the location of the installation.
    It is at %LOCALAPPDATA%\Programs\arduino-ide (e.g., C:\Users\per\AppData\Local\Programs\arduino-ide)
  13. Run the .msi file with the property setting ALLUSERS=1.
  14. Wait for the installation to finish.
  15. Find the location of the installation.
    It is at %PROGRAMFILES%\arduino-ide (e.g., C:\Program Files\arduino-ide)

🐛 The Windows Installer installations were made to a similar, but different path.

Expected behavior

Consistent installation paths for equivalent installation options.

Arduino IDE version

2.0.0-rc4-snapshot-0fc7c78

Operating system

Windows

Operating system version

10

Additional context

Related: #1439

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions