Open
Description
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
- Run installer with argument
--help
to get the list of arguments - Attempt to perform a silent install using the arguments provided
--mode unattended --prefix "C:/Program Files/ArduinoCloudAgent"
- 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
- Installer ignoring --prefix to specify install directory #1017 (comment)
- https://forum.arduino.cc/t/problems-with-installation-for-multiple-users/399629/8
- https://forum.arduino.cc/t/cloud-agent-silent-install/1353536/1
- https://forum.arduino.cc/t/cloud-agent-silent-install/1353536/2
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