/build/static/layout/Breadcrumb_cap_w.png

iTunes 12.6 Customising with ORCA Guide

            Download Microsoft Orca (Orca is now a part of the Windows 10 1703 SDK).


https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk   


Change DL the Path.

 Next

Select MSI Tools only!

 Download

 

Install Orca:

"C:\Temp\Windows Kits\10\WindowsSDK\Installers\Orca-x86_en-us.msi"

 

1.

Download and Install iTunes (x64)

2.

Open and configure iTunes, close it, open again and verify your configuration, close it again.

3.

Copy the iTunes config folder to your "WorkingDir" C:\Temp\iTunes_PKG\_UserConfig

 

Open cmd.exe and Copy and Paste to the CMD Window, or copy how u like.

 

xcopy "%Appdata%\Apple Computer" "C:\Temp\iTunes_PKG\_UserConfig\" /s

 

 

4.

Download and Install WinRAR http://www.rarlab.com/download.htm

5.

Goto C:\Temp\iTunes_PKG\_UserConfig\Apple Computer\Preferences\ByHost

Rename the file with the GUID:

From:

com.apple.iTunes.{63dca991-e924-11e6-9ccb-806e6f6e6963}.plist

To:

com.apple.iTunes.HWGUID.plist

6.

Add the folder "Apple Computer" to "Apple Computer.rar"

7.

Open the Archive in WinRAR, Convert archive to SFX executable

Use the following configuration "Important"

%AppData%

Close WinRAR

 

Now you have the following files in your folder

Rename Apple Computer.exe to Preferences.exe

 

8.

Extract the iTunes Setup with WinRAR or 7-Zip

9.

Copy all extracted .msi’s to

C:\Temp\iTunes_PKG\_MSI\x86
C:\Temp\iTunes_PKG\_MSI\x64


 

10.

Open the iTunes.msi with Orca

11.

Add a new Transform

 

Add and Change the following Tables and Propertys

12.

Table

Property

Signature_

 

 

Appsearch

HWGUID

AppReg

 

 

 

 

-          Click left in AppSearch

-          Press CTRL & R

 

-          Type HWGUID

-          OK

 

-          Type ApppReg

-          OK

  

13.

Table

Property

Data

 

 

Binary

UserFiles

[Binary Data]

Preferences.exe

 

 

 

-          Click left in Binary

-          Press CTRL & R

 

-          Type UserFiles

-          OK

-          OK

 

-          Click Browse,

select your Preferences.exe

-          OK

-          OK

C:\Temp\iTunes_PKG\_UserConfig\Preferences.exe

 


14.

Table

Action

Type

Source

 

 

Custom Action

_FS_Rename_File

1122

System64Folder.A5C49E27_90D3_35F6_A5E8_DB6F691C3C33

 

 

Target

cmd.exe /c REN "%AppData%\Apple Computer\Preferences\ByHost\com.apple.iTunes.HWGUID.plist" "com.apple.iTunes.[HWGUID].plist"

 

 

15.

Table

Action

Type

Source

 

 

Custom Action

_FS_UserFiles

1090

UserFiles

 

 

16.

Table

Action

Condition

Sequence

 

InstallExecuteSequence

_FS_UserFiles

NOT REMOVE~="ALL"

5700

 

InstallExecuteSequence

_FS_Rename_File

NOT REMOVE~="ALL"

6500

 


 

17.

Table

Property

Value

 

Property

IAcceptLicense

Yes

 

Property

REGSRCH_MEDIA_DEFAULTS

0

 

Property

SCHEDULE_ASUW

0

 

Property

REBOOT

ReallySuppress

 

18.

Table

Signature_

Root

Key

Name

Type

 

RegLocator

AppReg

2

SYSTEM\CurrentControlSet\Control\IDConfigDB\Hardware Profiles\0001

HwProfileGuid

2

 

 

19. (Active Setup) only if u like to Setup the config to AllUsers

Table

Registry

Root

Key

Name

Value

Component

Registry

registry1086

2

SOFTWARE\Microsoft\Active Setup\Installed Components\[ProductCode]

 

[ProductName]

iTunes.exe

Registry

registry1085

2

SOFTWARE\Microsoft\Active Setup\Installed Components\[ProductCode]

StubPath

msiexec.exe /fu [ProductCode] /qb!

iTunes.exe

 


Comments

  • Note that the HW Guid on Win 10 seems to change with each major update. - EdT 6 years ago
  • Nice guide. I assume "IAcceptLicense" is for the EULA? If so, it doesn't work. - JasonNVSD 6 years ago
    • IAcceptLicense is only for manual installations. it wont accept the EULA when you do a silent installation. - anonymous_89761 6 years ago
      • Since the property won't work, is there any way to get rid of the EULA? - sylvain_langlois 5 years ago
  • You have to copy the .plist files inside the users profile on 2 locations Local and Roaming Profile. And if you need to control more settings then you better use the AdminFlags by registry or GPO. That's the new way Apple will allow us to control settings for shared machines. For that check this thread: https://support.apple.com/en-gb/HT201677
    And if you need to copy the settings for all users profile you should create a Custom Action whit a script that will copy those files for all existing users and for new ones well, your active setup will help with that.
    Here I have my script that I included on my Custom Action:

    'Call this script from your CustomAction.
    'This script will copy the iTunes Preferences files to all the users profile on: user\appdata\local directory
    'Use it at your own risk.

    On Error Resume Next

    Set oShell = CreateObject( "WScript.Shell" )
    sUserProfile=oShell.ExpandEnvironmentStrings("%USERPROFILE%")
    sSystemDrive=oShell.ExpandEnvironmentStrings("%SYSTEMDRIVE%")
    Dim fso, sSourceFolder, sMessage
    sSourceFolder = "C:\Users\"
    sMessage = ""
    Set fso = CreateObject("Scripting.FileSystemObject")
    Set oFolder = fso.GetFolder(sSourceFolder)
    Set oSubFolders = oFolder.SubFolders
    For Each oSubFolder in oSubFolders
    If fso.FolderExists(sSourceFolder & oSubFolder.name & "\AppData\Local") Then
    If oSubFolder.name <> "admin" And oSubFolder.name <> "Default User" Then
    fso.CreateFolder(sSourceFolder & oSubFolder.name & "\AppData\Local\Apple Computer")
    fso.CreateFolder(sSourceFolder & oSubFolder.name & "\AppData\Local\Apple Computer\iTunes")
    fso.CreateFolder(sSOurceFolder & oSubFolder.name & "\AppData\Roaming\Apple Computer")
    fso.CreateFolder(sSOurceFolder & oSubFolder.name & "\AppData\Roaming\Apple Computer\iTunes")
    fso.CreateFolder(sSOurceFolder & oSubFolder.name & "\AppData\Roaming\Apple Computer\Preferences")
    fso.CreateFolder(sSOurceFolder & oSubFolder.name & "\AppData\Roaming\Apple Computer\Preferences\ByHost")
    fso.CopyFile sSystemDrive & "\ProgramData\Apple Computer\iTunes\Local\Cache.db", sSOurceFolder & oSubFolder.name & "\AppData\Local\Apple Computer\iTunes\", True
    fso.CopyFile sSystemDrive & "\ProgramData\Apple Computer\iTunes\Local\VersionCheck.plist", sSOurceFolder & oSubFolder.name & "\AppData\Local\Apple Computer\iTunes\", True
    fso.CopyFile sSystemDrive & "\ProgramData\Apple Computer\iTunes\Roaming\com.apple.iTunes.eq.plist", sSOurceFolder & oSubFolder.name & "\AppData\Roaming\Apple Computer\Preferences\", True
    fso.CopyFile sSystemDrive & "\ProgramData\Apple Computer\iTunes\Roaming\com.apple.iTunes.plist", sSOurceFolder & oSubFolder.name & "\AppData\Roaming\Apple Computer\Preferences\", True
    fso.CopyFile sSystemDrive & "\ProgramData\Apple Computer\iTunes\Roaming\com.apple.mediaaccessibility.plist", sSOurceFolder & oSubFolder.name & "\AppData\Roaming\Apple Computer\Preferences\", True
    fso.CopyFile sSystemDrive & "\ProgramData\Apple Computer\iTunes\Roaming\ByHost\com.apple.iTunes.{846ee340-7039-11de-9d20-806e6f6e6963}.plist", sSOurceFolder & oSubFolder.name & "\AppData\Roaming\Apple Computer\Preferences\ByHost\", True
    End If
    End If
    Next

    Hope it will help somehow.
    Kind regards.
    Joel E. - derspinne 5 years ago
  • why would be use .{846ee340-7039-11de-9d20-806e6f6e6963}. rather than actual hardware profile id ? - rock_star 4 years ago
This post is locked

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ