Regarding makeportable.cmd for iTunes 12.10.9.3 installer and later
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.
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:
- Use 7-zip to extract
iTunes64.msi(oriTunes.msi) to where installation package is saved - Use
msiexecto deploy all files into.Unpackedfolder - Copy targeted files into
iTunes64(oriTunes) folder - Delete
iTunes*.msiand remove.Unpackedfolder