Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installer ignoring --prefix to specify install directory #1017

Open
3 tasks done
elopez-peach opened this issue Feb 14, 2025 · 0 comments
Open
3 tasks done

Installer ignoring --prefix to specify install directory #1017

elopez-peach opened this issue Feb 14, 2025 · 0 comments
Labels
type: imperfection Perceived defect in any part of project

Comments

@elopez-peach
Copy link

elopez-peach commented Feb 14, 2025

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

Related

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
@elopez-peach elopez-peach added the type: imperfection Perceived defect in any part of project label Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

1 participant