Hi all.
Been watching this topic for well over a month. Having the same issues. It seems that starting with iTunes 8.0.1 and onwards, this issue causes AMDS to flake out on install. With the latest 8.0.2.22, it still occurs.
Here's what I found:
Take the latest iTunes 64 bit download (or versions 8 onward), then extract the installer (*.msi) to a folder. Run the "AppleMobileDeviceSupport64" from the command line as follows:
C:\>AppleMobileDeviceSupport64 /log c:\log.txt
which will the installer output to file c:\log.txt. The error happens here:
DIFXAPP: INFO: ENTER: DriverPackageInstallW
*DIFXAPP: INFO: Installing INF file 'C:\Program Files (x86)\Common Files\Apple\Mobile Device Support\Drivers\usbaapl64.inf' (Plug and Play).*
*DIFXAPP: INFO: Could not open file C:\Windows\System32\DriverStore\FileRepository\usbaapl64.inf_dc8244e3\usbaapl64 .inf. (Error code 0x3: The system cannot find the path specified.)*
*DIFXAPP: ERROR: PnP Install failed. (Error code 0x3EE: The volume for a file has been externally altered so that the opened file is no longer valid.)*
DIFXAPP: INFO: Attempting to rollback ...
DIFXAPP: INFO: No devices to rollback
DIFXAPP: INFO: RETURN: DriverPackageInstallW (0x3EE)
DIFXAPP: ERROR encountered while installing driver package C:\Program Files (x86)\Common Files\Apple\Mobile Device Support\Drivers\usbaapl64.inf
DIFXAPP: InstallDriverPackages failed with error 0x3EE
DIFXAPP: RETURN: InstallDriverPackages() 1006 (0x3EE)
Action ended 20:30:15: InstallFinalize. Return value 3.
Action 20:30:15: Rollback. Rolling back action:
Rollback: MsiInstallDrivers
Rollback: MsiRollbackInstall
DIFXAPP: ENTER: RollbackInstall()
DIFXAPP: 'CustomActionData' property 'DIFxApp Version' is 2.1.
DIFXAPP: 'CustomActionData' property 'componentId' is {9AA3828A-F852-11DB-8E29-6C6B55D89593}.
DIFXAPP: 'CustomActionData' property 'flags' is 0x17.
DIFXAPP: 'CustomActionData' property 'installState' is 2.
DIFXAPP: 'CustomActionData' property 'ProductName' is Apple Mobile Device Support.
DIFXAPP: 'CustomActionData' property 'ManufacturerName' is Apple Inc..
DIFXAPP: This was the component where the install failure occurred. The rollback for this component must have already occurred at the time of failure. No need to rollback again
DIFXAPP: Rollback failed with error 0x2
DIFXAPP: RETURN: RollbackInstall() 2 (0x2)
Rollback: Copying new files
Rollback: Moving files
Rollback: Creating folders
Rollback: Removing system registry values
Rollback: Deleting services
Rollback: Stopping services
Rollback: Updating component registration
Action ended 20:30:21: INSTALL. Return value 3.
However, if I use the drivers (AMDS installer) from iTunes 7.7.1.11 64 bit, I don't get the error and the install finishes. Unfortunately, iTunes 8.0.2.22 requires a newer driver, so I'm stuck at 8.0.1.11. Those having the same problems, try the above and see if you get the same output. I'm going to log a bug against this in any case.
In the meantime, the workaround if you can't get you phone to sync is to not install 8.0.2.22. Or if you have, uninstall it, download iTunes 7.7.1.11, extract it to a folder (use winrar or winzip), and run only the "AppleMobileDeviceSupport64" installer. Then grab 8.0.1.11, and run only the "iTunes64" installer.
Here are the download links:
iTunes 7.7.1.11:
http://appldnld.apple.com.edgesuite.net/content.info.apple.com/iTunes7/Win/061-5 127.20080731Mlo9i/iTunes64Setup.exe
iTunes 8.0.1.11:
http://appldnld.apple.com.edgesuite.net/content.info.apple.com/iTunes8/061-5526. 20080911.gtre4/iTunes864Setup.exe
Apple, please fix ASAP!
Message was edited by: nsx241