Arduino IDE 2.x Silent Install: INSTALLDIR

Hi,

I've already got the IDE 2.x installed silently.
I used the ALLUSERS=1 option for installing it globally
But I couldn't figure out how I can set an install path.
I've tried options like: APPLICATIONFOLDER, INSTALLPATH, INSTALLDIR, TARGETDIR, DIR, D

Is this possible and if so, how can I achieve this?

thx

Hi @nightmare1942. When installing the Windows Installer package of Arduino IDE 2.x via msiexec, you should be able to configure the installation location via the APPLICATIONFOLDER public property.

I see you already tried this though. I just tested it myself and it worked just as expected so I'm not sure what is going on.

This was the command I used:

 msiexec /i arduino-ide_2.0.2_Windows_64bit.msi ALLUSERS=1 APPLICATIONFOLDER="C:\arduino-ide"

If you try that, does the IDE get installed to the path set via the APPLICATIONFOLDER property?

Hi @ptillisch,

thx for your fast reply.
Well if you do it correctly then it'll work like you said. :person_facepalming:

My problem was I was using the APPLICATIONFOLDER option with a "/" in front which the msi couldn't parse and it showed me the install options.
After removing it everything works as expected.

Thx.

You are welcome. I'm glad it is working now.

Regards,
Per

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.