iTunes Setup Install Switches/Non-Admin Install?

So I'm trying to install iTunes on my computer to a secondary drive (D:\iTunes\) and without admin. The installer needs admin because it can write to restricted locations but it needs admin even if it doesn't write to those folders. When I extract the installer I get a bunch of MSI files and a SetupAdmin.exe file which I assume does the installation. I found a solution online to use set __COMPAT_LAYER=RunAsInvoker but that only applies to the MSI file, not the actual setup application. When I run the setup application with this it exits because it tries to install to ProgramFiles instead of the secondary drive where I want it to. Also it doesn't have a gui. So my question is, what command-line switches (have to use cmdline, no gui) can I use on SetupAdmin.exe to make it install to the secondary drive, or what can I use to make iTunes to install without admin?

Posted on Oct 6, 2020 11:04 AM

Reply
5 replies

Oct 6, 2020 12:10 PM in response to 5ynt4x_3rr0r_

I'd generally recommend you install the iTunes application on your primary system drive. You can have the library on a different drive, and if needed have iOS device backups redirected too. See Make a split library portable - Apple Community for general advice. There is an option while installing iTunes to choose where the application is installed, but the other components always install to the system drive so there is no significant space saving to be had there.


tt2

Oct 7, 2020 4:26 PM in response to 5ynt4x_3rr0r_

Is this a machine you have full control over, or one that belongs to a company that has policies in place that limit your ability to install software or make other changes? You should be able to install iTunes with the standard rights of a single user. You may be able to right-click the setup file and use Run as Administrator to elevate the installer's privilege.


tt2

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

iTunes Setup Install Switches/Non-Admin Install?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.