Skip to content

Installer ignoring --prefix to specify install directory #1017

Open
@elopez-peach

Description

@elopez-peach

Describe the problem

Running ArduinoCloudAgent.exe --help opens a dialogue box that gives details on install arguments.
This window states that the --prefix argument can be used to specify an alternate install directory. It also states that the default install directory is C:\Program Files (x86)/ArduinoCloudAgent.
Instead, the installer always installs to the %appdata%\ArduinoCloudAgent\ folder for the user that is running the installer.

We are a school trying to use PDQ Deploy to install the cloud agent to all of our lab computers silently.

To reproduce

  1. Run installer with argument --help to get the list of arguments
  2. Attempt to perform a silent install using the arguments provided --mode unattended --prefix "C:/Program Files/ArduinoCloudAgent"
  3. Install directory that was specified does not exist. Installer used %appdata% for the user running the installer instead

Expected behavior

Expected installer to use the directory specified in the installer command so that it would be available to all users

Arduino Create Agent version

1.7.0

Operating system

Windows

Operating system version

10/11

Browser

Chrome

Browser version

133

Additional context

Additional reports

Issue checklist

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions