You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Doesnt work if download iTunes from the Microsoft Store #45
Hey @JimmyNi ,
Thanks for reporting this issue. I'm adding some technical details that explain the behavior.
This library works with iTunes executable files and expects them to be located at C:\\Program Files\\Common Files\\Apple\\Apple Application Support or C:\\Program Files\\Common Files\\Apple\\Mobile Device Support;
When iTunes is installed from Microsoft Store, the iTunes is installed at a folder inside C:\Program Files\WindowsApps. This folder does not have hardcoded name, as it contains the name of the application, its version and some random hash probably, for example: AppleInc.iTunes_12093.3.37141.0_x64__nzyj5cx40ttq. NOTE: There's more than one folder with name containing iTunes, in my case it is AppleInc.iTunes_12093.3.37141.0_neutral_~_nzyj5cx40ttqa.
One possible solution to this issue is to list the contents of C:\Program Files\WindowsApps, find all directories with iTunes in the name and check if the required dlls are in one of them. However, this could not work as by default, the owner of C:\Program Files\WindowsApps is not the current user and listing the content will probably not work.
We have to check if we'll be able to list the contents of the directory.
Activity
rosen-vladimirov commentedon Feb 23, 2019
Hey @JimmyNi ,
Thanks for reporting this issue. I'm adding some technical details that explain the behavior.
This library works with iTunes executable files and expects them to be located at
C:\\Program Files\\Common Files\\Apple\\Apple Application SupportorC:\\Program Files\\Common Files\\Apple\\Mobile Device Support;When iTunes is installed from Microsoft Store, the iTunes is installed at a folder inside
C:\Program Files\WindowsApps. This folder does not have hardcoded name, as it contains the name of the application, its version and some random hash probably, for example:AppleInc.iTunes_12093.3.37141.0_x64__nzyj5cx40ttq. NOTE: There's more than one folder with name containingiTunes, in my case it isAppleInc.iTunes_12093.3.37141.0_neutral_~_nzyj5cx40ttqa.One possible solution to this issue is to list the contents of
C:\Program Files\WindowsApps, find all directories withiTunesin the name and check if the required dlls are in one of them. However, this could not work as by default, the owner ofC:\Program Files\WindowsAppsis not the current user and listing the content will probably not work.We have to check if we'll be able to list the contents of the directory.