iCloud

Post date: Jan 05, 2018 12:58:58 PM

@rem With iCloud for Windows, you can access your photos, contacts, calendars, files, and more from any of your devices.

@rem iCloud stores your content and automatically keeps it up to date everywhere.

@rem https://www.icloud.com/

@rem https://support.apple.com/zh-hk/HT204283

if exist iCloud\iCloudSetup.exe goto next

start /wait "" wget.exe "http://appldnld.apple.com/windows/091-51900-20171213-3C2EC1AA-DE7F-11E7-A548-CC04219A6E60/iCloudSetup.exe" --directory-prefix=iCloud

:next

start /wait 7za.exe x iCloud\iCloudSetup.exe -o%temp%\iCloud -aoa

if not exist "%SystemDrive%\Program Files (x86)" goto not_64bit

start /wait "" msiexec /i %temp%\iCloud\AppleSoftwareUpdate.msi /quiet /passive /norestart

start /wait "" msiexec /i %temp%\iCloud\AppleApplicationSupport.msi /quiet /passive /norestart

start /wait "" msiexec /i %temp%\iCloud\AppleApplicationSupport64.msi /quiet /passive /norestart

start /wait "" msiexec /i %temp%\iCloud\Bonjour64.msi /quiet /passive /norestart

start /wait "" msiexec /i %temp%\iCloud\iCloud64.msi /quiet /passive /norestart

goto end

:not_64bit

start /wait "" msiexec /i %temp%\iCloud\AppleSoftwareUpdate.msi /quiet /passive /norestart

start /wait "" msiexec /i %temp%\iCloud\AppleApplicationSupport.msi /quiet /passive /norestart

start /wait "" msiexec /i %temp%\iCloud\Bonjour.msi /quiet /passive /norestart

start /wait "" msiexec /i %temp%\iCloud\iCloud.msi /quiet /passive /norestart

:end