Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regarding makeportable.cmd for iTunes 12.10.9.3 installer and later #69

Open
msoxzw opened this issue Sep 17, 2020 · 1 comment
Open

Comments

@msoxzw
Copy link

msoxzw commented Sep 17, 2020

Firstly, I appreciate your excellent AAC encoder.

As far as I know, one work-around for getting DLLs in the new installer is as follows:

msiexec /a iTunes64.msi /q TARGETDIR={Directory}

iTunes64.msi denotes the file extracted from installer by 7-zip.
{Directory} signifies the destination directory.

Then, the necessary DLLs could be found in the "iTunes" folder of destination directory. In addition, this method also applies to "Apple Application Support component" in the the prior installer.

@jc3213
Copy link

jc3213 commented Feb 14, 2021

I've rewritten the makeportable.cmd https://github.com/jc3213/batchscript/blob/main/7zip/ExtractAppleApplication.cmd

You can put 7z.exe, 7z.dll and ExtractAppleApplication.cmd into the same folder without installing 7-zip. You can also double click ExtractAppleApplication.cmd and input where you save iTunes64Setup.exe (or iTunesSetup.exe)

If there's no 7z.exe in the same folder as ExtractAppleApplication.cmd, or 7-zip is not installed, the batch script will end immediately

Work stream:

  1. Use 7-zip to extract iTunes64.msi (or iTunes.msi) to where installation package is saved
  2. Use msiexec to deploy all files into .Unpacked folder
  3. Copy targeted files into iTunes64 (or iTunes) folder
  4. Delete iTunes*.msi and remove .Unpacked folder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants