Open IanMoroney opened 3 years ago
I got the same problem here. It is a problem especially when you have a user account for installing software and a standard limited user for regular use.
The problem is that the installer puts in Shortcuts in the user profile:
i.e. C:\Users\user\Desktop & C:\Users\user\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\WinDirStat
Rather than system wide:
i.e. C:\Users\Public\Desktop & C:\ProgramData\Microsoft\Windows\Start Menu\Programs\WinDirStat
Even though the app itself is installed system wide to C:\Program Files (x86)\WinDirStat and works fine for regular users.
WinDirStat itself is not receiving updates, so maybe the chocolatey package can fix it? (You can omit the Desktop icon though, those are annoying)
For now, I am installing WInDirStat this way:
choco install -y windirstat
Move-Item -Path "$env:AppData\Microsoft\Windows\Start Menu\Programs\WinDirStat\WinDirStat.lnk" -Destination "$env:ProgramData\Microsoft\Windows\Start Menu\Programs\WinDirStat.lnk"
Remove-Item "$env:UserProfile\Desktop\WinDirStat.lnk"
Remove-Item "$env:AppData\Microsoft\Windows\Start Menu\Programs\WinDirStat\" -Recurse
icacls "$env:ProgramData\Microsoft\Windows\Start Menu\Programs\WinDirStat.lnk" /RESET
No clue if this would meet code standards, I'm not even going to try
When windirstat is installed via chocolatey, it doesn't create start menu shortcuts, a desktop shortcut or get added to the path. These features are important from a usability standpoint, and according to the comments in https://chocolatey.org/packages/windirstat have been requested for 2 years.
Can you add these features to the install for windirstat?