mirror of
https://github.com/NickeManarin/ScreenToGif.git
synced 2026-04-25 23:25:52 +03:00
[GH-ISSUE #1258] Silent Install not creating shortcuts #927
Labels
No labels
copy cats
duplicated
future feature
pull-request
⬜ Accepted
⬜ Completed
⬜ Help Wanted 💪
⬜ In Progress
⬜ Missing Details
⬜ Pending
⬜ Waiting For Answer ⏳
🆕 feature preview
🔷 Bug 🐛
🔷 Out Of Scope
🔷 Out Of Scope
🔷 Question
🔷Enhancement
🔷Enhancement
🔷Invalid / External
🔷Knowledge Base
🔷Won't Fix
🕑 High
🕑 High
🕑 High
🕕 Medium
🕙 Low
🕛 Critical
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ScreenToGif#927
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Asinin3 on GitHub (Dec 7, 2023).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/1258
Originally assigned to: @NickeManarin on GitHub.
Describe the bug
Version 2.39 using full .msi Installer.
Running
msiexec /i "ScreenToGif 2.19.3 Setup.msi" /quiet /norestart INSTALLDESKTOPSHORTCUT=yes INSTALLSHORTCUT=yesdoesn't create any shortcuts. Running without the shortcut parameters doesn't create any in start menu or desktop either. Has something changed?These are the commands from #549 which were advised to work and the issue was closed.
@DW-42 commented on GitHub (Apr 25, 2024):
I am able to reproduce this issue with the latest version of ScreenToGif (version 2.41.0) when installed as the built-in Windows user 'NT AUTHORITY\SYSTEM'. The logs suggest that the installer is coming up with the wrong values for the
ProgramMenuFolderandDesktopFolderproperties:These values should be:
My guess is that the MSI installer incorrectly retrieving the 'NT AUTHORITY\SYSTEM' user profile paths instead of the expected public folders, resulting in the shortcuts not being created in the correct locations.
Alternatively, the installer may not be properly handling the ALLUSERS or MSIINSTALLPERUSER properties when installed by the 'NT AUTHORITY\SYSTEM' user. These properties determine whether the application is installed for all users or only the current user, and they affect the locations where shortcuts and other user-specific files are created. If the installer is not setting ALLUSERS=1 correctly, it may be falling back to the 'NT AUTHORITY\SYSTEM' user profile paths instead of the public folders. Similarly, if the MSIINSTALLPERUSER property is not being handled properly, it could lead to the same issue.
In summary, the root cause is likely related to the installer incorrectly retrieving the folder paths or not properly handling the ALLUSERS or MSIINSTALLPERUSER properties when installed by the 'NT AUTHORITY\SYSTEM' user, resulting in the shortcuts not being created in the expected public folders.