Why is enumerating installed MSI packages so slow?

后端 未结 5 1445
粉色の甜心
粉色の甜心 2021-01-20 18:31

This is a follow up from this question.

I\'m using this slightly modified script to enumerate all installed MSI packages:

strComputer = \".\"

Set ob         


        
5条回答
  •  心在旅途
    2021-01-20 18:54

    I suspected a network issue and Wireshark proved me right.

    It seems that Windows Installer happily attempts to reopen all the original .msi files, including those who lived on network shares.

提交回复
热议问题