Hey,
I have a large installation (~70GB) with lots of components and I use the option "place files unpacked with the MSI database next to it".
(I wanted to create an installer for some of my games with their registry entries so I don't have to install them seperately, just as a personal side project)
Naturally, the installation takes a long time, but I have the problem that the progress bar stops at around 20% with the status "Updating component registration" (or "Copying new files..." if I activate "Mark components in this feature as 'Do not register with Windows Installer'" on the Organization page).
I looked at my verbose log, here are the last few lines:
Aktion gestartet um 13:31:30: ProcessComponents.
MSI (s) (E0:BC) [13:31:30:074]: Note: 1: 2205 2: 3: MsiPatchCertificate
MSI (s) (E0:BC) [13:31:30:074]: LUA patching is disabled: missing MsiPatchCertificate table
MSI (s) (E0:BC) [13:31:30:074]: Resolving source.
MSI (s) (E0:BC) [13:31:30:074]: Resolving source to launched-from source.
MSI (s) (E0:BC) [13:31:30:074]: Setting launched-from source as last-used.
MSI (s) (E0:BC) [13:31:30:075]: PROPERTY CHANGE: Adding SourceDir property. Its value is 'G:\Source\'.
MSI (s) (E0:BC) [13:31:30:075]: PROPERTY CHANGE: Adding SOURCEDIR property. Its value is 'G:\Source\'.
MSI (s) (E0:BC) [13:31:30:075]: PROPERTY CHANGE: Adding SourcedirProduct property. Its value is '{96465C6B-7AD1-445D-9000-6D240F5987A7}'.
MSI (s) (E0:BC) [13:31:30:075]: SOURCEDIR ==> G:\Source\
MSI (s) (E0:BC) [13:31:30:075]: SOURCEDIR product ==> {96465C6B-7AD1-445D-9000-6D240F5987A7}
MSI (s) (E0:BC) [13:31:30:075]: Determining source type
MSI (s) (E0:BC) [13:31:30:076]: Source type from package 'Setup.msi': 0
MSI (s) (E0:BC) [13:31:30:077]: SECREPAIR: Hash Database: C:\Windows\Installer\SourceHash{96465C6B-7AD1-445D-9000-6D240F5987A7}
MSI (s) (E0:BC) [13:31:30:077]: SECREPAIR: SourceHash database file already exists. Deleting it.
MSI (s) (E0:BC) [13:31:30:082]: Note: 1: 2262 2: SourceHash 3: -2147287038
MSI (s) (E0:BC) [13:31:30:091]: SECREPAIR: New Hash Database creation complete.
MSI (s) (E0:BC) [13:31:30:099]: SECREPAIR: CryptAcquireContext succeeded
After that it just spams "MSI (s) (E0:BC) [13:31:43:893]: SECREPAIR: CryptAcquireContext succeeded" over and over.
Then I looked what the Installer did with the programm ProcMon and it repeats:
13:27:01,7429618 msiexec.exe 46632 RegQueryKey HKLM SUCCESS Query: HandleTags, HandleTags: 0x0
13:27:01,7429765 msiexec.exe 46632 RegOpenKey HKLM\Software\Policies\Microsoft\Cryptography SUCCESS Desired Access: Read
13:27:01,7429901 msiexec.exe 46632 RegSetInfoKey HKLM\SOFTWARE\Policies\Microsoft\Cryptography SUCCESS KeySetInformationClass: KeySetHandleTagsInformation, Length: 0
13:27:01,7429985 msiexec.exe 46632 RegQueryValue HKLM\SOFTWARE\Policies\Microsoft\Cryptography\ForceKeyProtection NAME NOT FOUND Length: 144
13:27:01,7430081 msiexec.exe 46632 RegCloseKey HKLM\SOFTWARE\Policies\Microsoft\Cryptography SUCCESS
13:27:01,7430205 msiexec.exe 46632 RegQueryKey HKLM SUCCESS Query: HandleTags, HandleTags: 0x0
13:27:01,7430337 msiexec.exe 46632 RegOpenKey HKLM\Software\Microsoft\Cryptography\DESHashSessionKeyBackward NAME NOT FOUND Desired Access: Read
13:27:01,7430446 msiexec.exe 46632 RegCloseKey HKLM\SOFTWARE\Microsoft\Cryptography\Defaults\Provider\Microsoft Enhanced RSA and AES Cryptographic Provider SUCCESS
with different files.
(Sometimes there are some other entries, but most of the time it repeats what I posted above)
So the installation doesn't freeze, just the progress bar stops and installation takes extremely long .
I am not using any Encryption, Trial, Serial Key, etc, is it normal that the installer even uses "CryptAcquireContext"?
Is it possible to deactivate this?
The installation would probably take days, which isn't really practical.
Any help is appreciated