Forum Discussion
Deploying Win32 Apps that use scripts to install - first install takes forever
KJW_PK201ā
Wondering if you found a solution for this? Seems like I have the same issue.
It has something to do with the detection script the first time an application installation is run. For me, the solution was to pick a winget-deployable application that I deploy to all my endpoints, but with manual detection logic (File/Folder/Registry, etc) instead of the detection script. After that all future installs, even if they use a script for detection, no longer exhibit the delay.
Note that this might need to be done once for a System-mode install and once for a User-mode install. I am testing the User-mode scenario myself. But it definitely worked for installs that run in System mode.
I don't have an explanation for why it is like this though, or if our situation is truly uncommon among admins that use Winget to deploy applications made available via Company Portal.