Skip to content

Doesnt work if download iTunes from the Microsoft Store #45

Open

Description

@JimmyNi

The exe file cannot run if the iTunes is from Microsoft Store

Activity

  1. rosen-vladimirov commented on Feb 23, 2019

    @rosen-vladimirov
    Contributor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions