The default installation of Sumatra is done in the user’s profile.
C:\Users\your_user\AppData\Local\SumatraPDF
Fog does the installation with the user System and Sumatra installs in
C:\Windows\system32\config\systemprofile\AppData\Local\SumatraPDF
To install Sumatra for all users you must use
-all-users (https://www.sumatrapdfreader.org/docs/Installer-cmd-line-arguments)
and it will be installed in
C:\Program Files\SumatraPDF
If you already have it installed in
C:\Windows\system32\config\systemprofile\AppData\Local\SumatraPDF
When installing it for all users it seems to detect it and won’t go to
C:\Program Files\SumatraPDF
When I encounter problems of this type, I use PsExec to study the behavior of the installation as the user System.
https://specopssoft.com/blog/how-to-become-the-local-system-account-with-psexec/