Thursday, November 5, 2015

Android Studio Installer Exit Code 1223

I am currently trying to deploy Android Studio to several Windows machines with an unattended installation, but the installer (which is an EXE, not an MSI) sometimes exits with code 1223. When that happens, shortcuts aren't created on the desktop or in the Start menu, but the files are placed in a Program Files directory and work correctly. Some research suggests that this exit code occurs with unattended (/S) installs only.

I have noticed - but not confirmed - a correlation between the ACLs on the directory containing the installer and the exit code. When normal users are not allowed to read the installer, even if the install program is run as an administrator or the system, the exit code sometimes happens. I have not seen it happen when everyone has read access to the directory. Further study may confirm or deny this hypothesis.

No comments:

Post a Comment