I downloaded iTunes64 (newer version) and I used makeportable.cmd to have the versions QTfiles and QTfiles64, as I always do.
However, this new version is smaller and makeportable displays some details and at the end:
No files to process
Everything is Ok
Files: 0
Size: 0
Compressed: 201029448
cannot extract AppleApplicationSupport.msi from installer
Do any friend here have the same problem?
I've got this error, too.
7-Zip 18.06 (x64) : Copyright (c) 1999-2018 Igor Pavlov : 2018-12-30
Scanning the drive for archives:
1 file, 201029448 bytes (192 MiB)
Extracting archive: C:\Users\User\Downloads\makeportable(1)\iTunes64Setup.exe
--
Path = C:\Users\User\Downloads\makeportable(1)\iTunes64Setup.exe
Type = PE
Physical Size = 201029448
CPU = x64
64-bit = +
Characteristics = Executable LargeAddress
Created = 2020-09-12 11:14:29
Headers Size = 1024
Checksum = 201072297
Name = iTunesSetup.exe
Image Size = 201052160
Section Alignment = 4096
File Alignment = 512
Code Size = 88576
Initialized Data Size = 200942080
Uninitialized Data Size = 0
Linker Version = 14.27
OS Version = 6.0
Image Version = 0.0
Subsystem Version = 6.0
Subsystem = Windows GUI
DLL Characteristics = HighEntropyVA Relocated NX-Compatible TerminalServerAware
Stack Reserve = 1048576
Stack Commit = 4096
Heap Reserve = 1048576
Heap Commit = 4096
Image Base = 5368709120
Comment =
{
FileVersion: 12.10.9.3
ProductVersion: 12.10.9.3
CompanyName: Apple Inc.
FileDescription: iTunes Installer
LegalCopyright: c Apple Inc. All Rights Reserved.
InternalName: iTunesSetup
OriginalFilename: iTunesSetup.exe
ProductName: iTunes
}
----
Path = .rsrc\RCDATA\CABINET
Size = 200792553
Packed Size = 200792553
--
Path = .rsrc\RCDATA\CABINET
Type = Cab
Physical Size = 200792553
Method = LZX:15
Blocks = 1
Volumes = 1
Volume Index = 0
ID = 40135
No files to process
Everything is Ok
Files: 0
Size: 0
Compressed: 201029448
7-Zip 18.06 (x64) : Copyright (c) 1999-2018 Igor Pavlov : 2018-12-30
Scanning the drive for archives:
1 file, 201029448 bytes (192 MiB)
Extracting archive: C:\Users\User\Downloads\makeportable(1)\iTunes64Setup.exe
--
Path = C:\Users\User\Downloads\makeportable(1)\iTunes64Setup.exe
Type = PE
Physical Size = 201029448
CPU = x64
64-bit = +
Characteristics = Executable LargeAddress
Created = 2020-09-12 11:14:29
Headers Size = 1024
Checksum = 201072297
Name = iTunesSetup.exe
Image Size = 201052160
Section Alignment = 4096
File Alignment = 512
Code Size = 88576
Initialized Data Size = 200942080
Uninitialized Data Size = 0
Linker Version = 14.27
OS Version = 6.0
Image Version = 0.0
Subsystem Version = 6.0
Subsystem = Windows GUI
DLL Characteristics = HighEntropyVA Relocated NX-Compatible TerminalServerAware
Stack Reserve = 1048576
Stack Commit = 4096
Heap Reserve = 1048576
Heap Commit = 4096
Image Base = 5368709120
Comment =
{
FileVersion: 12.10.9.3
ProductVersion: 12.10.9.3
CompanyName: Apple Inc.
FileDescription: iTunes Installer
LegalCopyright: c Apple Inc. All Rights Reserved.
InternalName: iTunesSetup
OriginalFilename: iTunesSetup.exe
ProductName: iTunes
}
----
Path = .rsrc\RCDATA\CABINET
Size = 200792553
Packed Size = 200792553
--
Path = .rsrc\RCDATA\CABINET
Type = Cab
Physical Size = 200792553
Method = LZX:15
Blocks = 1
Volumes = 1
Volume Index = 0
ID = 40135
No files to process
Everything is Ok
Files: 0
Size: 0
Compressed: 201029448
cannot extract AppleApplicationSupport.msi from installer
iTunes64Setup.exe, 201029448 byte
SHA256: 2A4BAE8CC0C0287D9D7A5359082760F00B5038D27A565B46BDA81518A0BDD5D7
makeportable.cmd, 4372 byte
SHA256: 764BE1270C2FA1F38D8C18267FE5DAFE42C5F3B171D17D7950939DEA8E2A7635
after decoding iTunes64Setup.exe by 7z, following 5 files were found.
AppleMobileDeviceSupport64.msi
AppleSoftwareUpdate.msi
Bonjour64.msi
iTunes64.msi
SetupAdmin.exe
It used to be in 2014 it had AppleApplicationSupport.msi.
So it's likely that Apple have changed the structure sometime in around 2020/09/09.
I've got this error, too.
7-Zip 18.06 (x64) : Copyright (c) 1999-2018 Igor Pavlov : 2018-12-30
Scanning the drive for archives:
1 file, 201029448 bytes (192 MiB)
Extracting archive: C:\Users\User\Downloads\makeportable(1)\iTunes64Setup.exe
--
Path = C:\Users\User\Downloads\makeportable(1)\iTunes64Setup.exe
Type = PE
Physical Size = 201029448
CPU = x64
64-bit = +
Characteristics = Executable LargeAddress
Created = 2020-09-12 11:14:29
Headers Size = 1024
Checksum = 201072297
Name = iTunesSetup.exe
Image Size = 201052160
Section Alignment = 4096
File Alignment = 512
Code Size = 88576
Initialized Data Size = 200942080
Uninitialized Data Size = 0
Linker Version = 14.27
OS Version = 6.0
Image Version = 0.0
Subsystem Version = 6.0
Subsystem = Windows GUI
DLL Characteristics = HighEntropyVA Relocated NX-Compatible TerminalServerAware
Stack Reserve = 1048576
Stack Commit = 4096
Heap Reserve = 1048576
Heap Commit = 4096
Image Base = 5368709120
Comment =
{
FileVersion: 12.10.9.3
ProductVersion: 12.10.9.3
CompanyName: Apple Inc.
FileDescription: iTunes Installer
LegalCopyright: c Apple Inc. All Rights Reserved.
InternalName: iTunesSetup
OriginalFilename: iTunesSetup.exe
ProductName: iTunes
}
----
Path = .rsrc\RCDATA\CABINET
Size = 200792553
Packed Size = 200792553
--
Path = .rsrc\RCDATA\CABINET
Type = Cab
Physical Size = 200792553
Method = LZX:15
Blocks = 1
Volumes = 1
Volume Index = 0
ID = 40135
No files to process
Everything is Ok
Files: 0
Size: 0
Compressed: 201029448
7-Zip 18.06 (x64) : Copyright (c) 1999-2018 Igor Pavlov : 2018-12-30
Scanning the drive for archives:
1 file, 201029448 bytes (192 MiB)
Extracting archive: C:\Users\User\Downloads\makeportable(1)\iTunes64Setup.exe
--
Path = C:\Users\User\Downloads\makeportable(1)\iTunes64Setup.exe
Type = PE
Physical Size = 201029448
CPU = x64
64-bit = +
Characteristics = Executable LargeAddress
Created = 2020-09-12 11:14:29
Headers Size = 1024
Checksum = 201072297
Name = iTunesSetup.exe
Image Size = 201052160
Section Alignment = 4096
File Alignment = 512
Code Size = 88576
Initialized Data Size = 200942080
Uninitialized Data Size = 0
Linker Version = 14.27
OS Version = 6.0
Image Version = 0.0
Subsystem Version = 6.0
Subsystem = Windows GUI
DLL Characteristics = HighEntropyVA Relocated NX-Compatible TerminalServerAware
Stack Reserve = 1048576
Stack Commit = 4096
Heap Reserve = 1048576
Heap Commit = 4096
Image Base = 5368709120
Comment =
{
FileVersion: 12.10.9.3
ProductVersion: 12.10.9.3
CompanyName: Apple Inc.
FileDescription: iTunes Installer
LegalCopyright: c Apple Inc. All Rights Reserved.
InternalName: iTunesSetup
OriginalFilename: iTunesSetup.exe
ProductName: iTunes
}
----
Path = .rsrc\RCDATA\CABINET
Size = 200792553
Packed Size = 200792553
--
Path = .rsrc\RCDATA\CABINET
Type = Cab
Physical Size = 200792553
Method = LZX:15
Blocks = 1
Volumes = 1
Volume Index = 0
ID = 40135
No files to process
Everything is Ok
Files: 0
Size: 0
Compressed: 201029448
cannot extract AppleApplicationSupport.msi from installer
iTunes64Setup.exe, 201029448 byte
SHA256: 2A4BAE8CC0C0287D9D7A5359082760F00B5038D27A565B46BDA81518A0BDD5D7
makeportable.cmd, 4372 byte
SHA256: 764BE1270C2FA1F38D8C18267FE5DAFE42C5F3B171D17D7950939DEA8E2A7635
after decoding iTunes64Setup.exe by 7z, following 5 files were found.
AppleMobileDeviceSupport64.msi
AppleSoftwareUpdate.msi
Bonjour64.msi
iTunes64.msi
SetupAdmin.exe
It used to be in 2014 it had AppleApplicationSupport.msi.
So it's likely that Apple have changed the structure sometime in around 2020/09/09.
I hope the author will make the necessary changes soon.
Thanks for the answer!
Indeed as of iTunes 12.10.9.3 AppleApplicationSupport has gone.
The files under AppleApplicationSupport are now included in iTunes64.msi itself, and they are installed under C:\Program Files\iTunes.
So, qaac has to be updated to try different registry location to get the dll paths.
The problem for makeportable is that all the necessary dlls such as CoreAudioToolbox.dll are now named like fil40BDB85D846A9E26183C1B4897E354B6 inside of iTunes64.msi, and there's no easy way to tell apart which is which.
We can still use objdump or something on all the file under iTunes64.msi to inspect PE export table to know the name of DLL but that's beyond the scope of simple batch file like makeportable.cmd, and I'm reluctant to do that.
As far as I know 12.10.8.5 installer had the same structure as before so you can use it.
Indeed as of iTunes 12.10.9.3 AppleApplicationSupport has gone.
The files under AppleApplicationSupport are now included in iTunes64.msi itself, and they are installed under C:\Program Files\iTunes.
So, qaac has to be updated to try different registry location to get the dll paths.
The problem for makeportable is that all the necessary dlls such as CoreAudioToolbox.dll are now named like fil40BDB85D846A9E26183C1B4897E354B6 inside of iTunes64.msi, and there's no easy way to tell apart which is which.
We can still use objdump or something on all the file under iTunes64.msi to inspect PE export table to know the name of DLL but that's beyond the scope of simple batch file like makeportable.cmd, and I'm reluctant to do that.
As far as I know 12.10.8.5 installer had the same structure as before so you can use it.
thank you, nu774!
Now released qaac 2.70 to support new CoreAudioToolbox.dll location.
I installed iTunes and did the conversion with:
FOOBAR
Conversion OK!
Tag Tool foobar: qaac 2.69, CoreAudioToolbox 7.10.9.0, AAC-LC Encoder, CVBR 320kbps, Quality 96
I've posted the extracted files but they removed the post .... Why? ::)
Hi :)
@nu774 (Reply #5)
Still version "qaac 2.69".
@zRaptor (Reply #7)
Where do you put those files?
Hi :)
@zRaptor (Reply #7)
Where do you put those files?
I can't post links. I didn't know it was illegal to extract files.
Apple's EULA prohibits redistribution.
The problem for makeportable is that all the necessary dlls such as CoreAudioToolbox.dll are now named like fil40BDB85D846A9E26183C1B4897E354B6 inside of iTunes64.msi, and there's no easy way to tell apart which is which.
::
@
nu774 There
is an easy way to extract these files:
If you're on Windows you can use this tool (https://github.com/Bioruebe/UniExtract2) to do so (folders and non-cryptical filenames).
Greetings, ...
::
Oh, thanks.
lessmsi ( https://lessmsi.activescott.com/ ) seems enough, which is contained in the Universal Extractor 2 package.
Now released makeportable2 for iTunes 12.10.9.3.
You don't need universal extractor2 or lessmsi, but you still need 7-zip.
It just uses standard msiexec command for msi extraction.
I modified the makeportable for support for the new version of iTunes! ;)
Now released makeportable2 for iTunes 12.10.9.3.
You don't need universal extractor2 or lessmsi, but you still need 7-zip.
It just uses standard msiexec command for msi extraction.
I uninstalled iTunes (RevoUninst) and extracted the DLLs.
I used FOOBAR for conversion, it worked perfectly.
Congratulations on the work!
I modified the makeportable for support for the new version of iTunes. ;)
I used your cmd for conversion. It is faster, displays fewer messages on the screen.
I noticed that the DLLs are 1k less than the makeportable2 version.
Congratulations on your work and collaboration!
Now released makeportable2 for iTunes 12.10.9.3.
::
Thanks, loved makeportable from the start!
::
Thanks for the updates nu774.
@nu774 (Reply #5)
Still version "qaac 2.69".
I noticed this too. The 2.70 download identifies itself as 2.69.
Sorry, re-uploaded 2.70 zip.
I modified the makeportable for support for the new version of iTunes. ;)
I used your cmd for conversion. It is faster, displays fewer messages on the screen.
I noticed that the DLLs are 1k less than the makeportable2 version.
Congratulations on your work and collaboration!
Thanks Wagner! It's a pleasure to be of help to nu774 and the community. ;)
With the latest versions of iTunes and makeportable I get 40 dll's with filenames beginning with api-ms-win-core- and api-ms-win-crt-
I don't get these files with the earlier versions of iTunes and makeportable that I still have.
I am wondering if they are needed... conversion from flac to m4a using QAAC and Foobar still seems to work if these 40 files are deleted.
They are part of C runtime that iTunes DLLs rely on.
If MSVC 2015 redistributable is installed in your PC, you won't need them.
In case of Windows 10, ucrtbase.dll and all the api-ms-win-*.dll are already pre-installed.
Hi
i have just downloaded the last version for windows ,the installer is 64bit
i tried makeportable2 + 7zip exe and dll ,but i get the same error in the first post
why?
thanks
Have you actually downloaded makeportable2.zip?
makeportable2.cmd shouldn't say the same error message as makeportable since it doesn't search for AppleApplicationSupport at all.
Have you actually downloaded makeportable2.zip?
makeportable2.cmd shouldn't say the same error message as makeportable since it doesn't search for AppleApplicationSupport at all.
hi
@nu774 does the coder update makeportable2.cmd recently ?
because i just re-download makeportable2.cmd and iTunes64Setup.exe v12.10.9.3 ,copyed (7z.dll 7z.exe 7-zip.dll) all 32bit version
and today works!
few days ago ,it doesn't work
thanks
No, not updated.
I think there is an issue with the makeportable2 script when the working folder has a space in the name. I would get a windows installer window popup when it ran the msiexec command.
i change this line from this
msiexec /a %2 /qn TARGETDIR=%cd%\__TMP__
to this
msiexec /a %2 /qn TARGETDIR="%cd%\__TMP__"
which makes the script work for me.
Thanks for pointing it out.
Updated makeportable2 now.
Anyone keeping track of what's the latest version of "CoreAudioToolbox", there used to be an older forum thread where every now and then someone would write something like:
iTunes 12.9.1.4 --> CoreAudioToolbox 7.10.9.0
That's actually the last information i have on it.
EDIT;
I found the answer myself:
iTunes 12.11.0.26 --> CoreAudioToolbox 7.10.9.0
Note, I only got the iTunes version from the windows properties box, not by actually installing.
I don't know enough about cmd files or command lines to easily find the problem, but I thought I'd report it and I'm happy to run tests if required.
I downloaded makeportable2 and iTunes64Setup version 12.10.11.2. I have a 64 bit version of 7zip installed on Win7.
On Win7 (64 bit), makeportable2 opens a command prompt window, which immediately closes again.
On XP, iTunes64.msi is extracted and the QTfiles64 folder is created, but after iTunes64.msi is deleted the QTfiles64 folder is empty.
After finding QTfiles64-extractor.cmd in a post in this thread I gave it a try.
On Win7 (64 bit), the same thing happens as for makeportable2.cmd, so maybe there's a Win7 thing I don't understand.
On XP, QTfiles64-extractor.cmd works and the expected files are extracted to the QTfiles64 folder.
Cheers.
Edit. Looking at the above post, it seems I didn't have the latest iTunes64 installer. I thought I'd downloaded the latest full installer from the Apple site, so I downloaded version 12.12.2 from VideoHelp. The result was the same. I could only extract the files with QTfiles64-extractor.cmd on XP.
For the record, the included CoreAudioToolbox hasn't changed version numbers. It's still 7.10.9.0 according to Windws/Properties. The file date is different though. From iTunes64Setup.exe 12.12.2, CoreAudioToolbox is dated 2021/10/26. From iTunes64Setup 12.10.11.2 it's dated 2021/03/29.
I downloaded makeportable2 and iTunes64Setup version 12.10.11.2. I have a 64 bit version of 7zip installed on Win7.
On Win7 (64 bit), makeportable2 opens a command prompt window, which immediately closes again.
On XP, iTunes64.msi is extracted and the QTfiles64 folder is created, but after iTunes64.msi is deleted the QTfiles64 folder is empty.
The newest iTunes64Setup.exe is downloadable here: https://www.apple.com/itunes/download/win64 (https://www.apple.com/itunes/download/win64) . Currently that is version 12.12.2.2, with a digital signature date of October 26, 2021.
If you try to run makeportable2.cmd using the "Run as Adminstrator" context menu choice it will fail. Also, because it creates and later deletes a work folder it can be interfered with by user permissions. Here is my environment, and a test in real-time:
1. Windows10 x64 21H1, Local Adminstrator account, UAC is "off," using Windows Defender built-in antivirus.
2. Created the folder C:\Test, and put iTunes64Setup.exe and makeportable2.cmd in it.
3. Double-clicked makeportable2.cmd; it opens a command window, runs briefly to a "Everything is OK" message, then pauses for about 10 seconds (do not close the window!). Then, it resumes, and you see it creating the "temp" folder, extracting files, etc. Finally it ends by closing the window itself automatically.
4. The folder QTfiles64 is created and contains 57 items. Operation successful.
In case you have a "borked" makeportable2.cmd file, try using the one attached which I just used for the demo (unzip first of course).
so maybe there's a Win7 thing I don't understand
Windows 7 Ultimate SP1 x64
7-Zip 19.00 x64
Latest iTunes64Setup.exe (same as sveakul posted above)
Latest makeportable2.cmd from nu774's git
Works perfectly here. Something is wrong with your system.
UAC is disabled and I am running latest Simplix's UpdatePack7R2 (basically all updates without telemetry and other bullshit)
I'd be will to concede there may be something wrong with the old Win7 laptop. I have all the UAC crap disabled but there could be something odd happening.
Is there anything in the makeportable2.cmd file that'd stop it playing nice on XP?
I downloaded the makeportable2 and iTunes setup files sveakul linked to and tried again. On XP makeportable2 still produces an empty QTfiles64 folder. I can briefly see the "everything is okay" message, followed by a couple of lines displaying file sizes, and it does extract and delete iTunes64.msi.
For fun I downloaded the 32 bit iTunes installer and tried extracting the files. Same result.
QTfiles64-extractor.cmd works fine on XP for iTunes64.exe 12.12.2.2. I haven't re-tested them on the Win7 laptop yet.
Cheers.
FWIW, the last itunes with win 7 support was 12.10.11.2. I suspect the extracted libs that makeportable creates would also be incompatable w/ win 7.