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