[wix-users] MSI installing performance

Roland Kieslinger rkieslinger at rzl.at
Fri Mar 9 02:33:12 PST 2018


Hello!

I captured an whole installation with sysinternals process monitor and figured something out.

The log entry "File will have security applied from OpCode." means, that the msi file gets copied to "C:\Windows\Installer", but this happens 2 times?!

First time, at the beginning of the installation: original msi gets copied to "C:\Windows\Installer\1b2b5.msi".
Second time, late at the installation: "C:\Windows\Installer\1b2b5.msi" gets copied to "C:\Windows\Installer\1b2b8.msi" (this is another copy of the same original file in the same folder like WHAT THE F***)?
At the end of the installation, the file "C:\Windows\Installer\1b2b5.msi" gets deleted.

Is there a way to completely prevent msi installer of copying the installer to "C:\Windows\Installer"?

Von: Roland Kieslinger
Gesendet: Dienstag, 6. März 2018 17:27
An: 'WiX Toolset Users Mailing List' <wix-users at lists.wixtoolset.org>
Betreff: MSI installing performance

Hello!

I'm trying to improve the installation performance of my 700 mb msi installer and I need your help. What does the following line mean:

File will have security applied from OpCode.

This line needs up to 30 seconds on specific computers. Here's some context:

MSI (s) (90:E8) [17:43:50:099]: Machine policy value 'DisableUserInstalls' is 0
MSI (s) (90:E8) [17:43:50:128]: Note: 1: 2203 2: C:\WINDOWS\Installer\inprogressinstallinfo.ipi 3: -2147287038
MSI (s) (90:E8) [17:43:50:140]: SRSetRestorePoint skipped for this transaction.
MSI (s) (90:E8) [17:43:50:144]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer 3: 2
MSI (s) (90:E8) [17:43:50:213]: File will have security applied from OpCode.
MSI (s) (90:E8) [17:44:12:587]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'C:\ProgramData\Package Cache\{6735C7C6-D6A6-45B0-90F5-416DF859B7EA}v1.0.0.0\XXX.msi' against software restriction policy
MSI (s) (90:E8) [17:44:12:599]: SOFTWARE RESTRICTION POLICY: C:\ProgramData\Package Cache\{6735C7C6-D6A6-45B0-90F5-416DF859B7EA}v1.0.0.0\XXX.msi has a digital signature
MSI (s) (90:E8) [17:44:12:613]: SOFTWARE RESTRICTION POLICY: C:\ProgramData\Package Cache\{6735C7C6-D6A6-45B0-90F5-416DF859B7EA}v1.0.0.0\XXX.msi is permitted to run because the user token authorizes execution (system or service token).
MSI (s) (90:E8) [17:44:12:625]: MSCOREE not loaded loading copy from system32
MSI (s) (90:E8) [17:44:12:729]: End dialog not enabled

Thanks in advance!

Roland



More information about the wix-users mailing list