Earlier quoted context omitted.
Those files are user data, not part of the software package.
I would disagree, files that the user cannot edit or should not edit should not be going into their home directory. Things like cache files should go into a system wide cache directory instead.
Any sufficiently advanced uninstaller is indistinguishable from malware
301–310 of 556 posts
Re: Any sufficiently advanced uninstaller is indistinguishable from malware
#302The guys at MS are smart enough to decompile assembly but still not enough to have a proper inode-based filesystem where you can delete files that are in use.
Re: Any sufficiently advanced uninstaller is indistinguishable from malware
#303Earlier quoted context omitted.
>if you don't trust a provider, not only it's not safe to run the program, but it's also unsafe to install it Isn't it same for windows right now? `.msi` and `.exe` can execute arbitrary code right?
The only difference is that you usually trust the repo in Linux, but that’s a pretty significant “only thing,” in the sense that the repo is already the source of your whole system, so it better be trustworthy!
Re: Any sufficiently advanced uninstaller is indistinguishable from malware
#304The guys at MS are smart enough to decompile assembly but still not enough to have a proper inode-based filesystem where you can delete files that are in use.
Re: Any sufficiently advanced uninstaller is indistinguishable from malware
#305Why do Windows programs need special installers/uninstallers? Why isn't this handled by Windows itself?
Windows has had an installer as an OS component since the late 90s (called Windows Installer). As a sysadmin I'd prefer apps use it. Many application developers do not. It's maddening. (Doubly so when Microsoft themselves don't use it-- newer versions of Office, Teams, etc. Microsoft suffers from too much NIH.) I get unattended installs and uninstalls "for free" when well-behaved applications use Windows Installer. P…
Yes, people preffer to debug their own code rather than spend shitload of time to understand Wix/MSI.
Microsoft deciding early on to not produce low cost tools for Windows Installer also didn't helped with the adoption.
Re: Any sufficiently advanced uninstaller is indistinguishable from malware
#306Earlier quoted context omitted.
Yes. But if you stick everything into a single .exe, the user can't interfere.
> Yes. But if you stick everything into a single .exe, the user can't interfere. Alright cowboy, so where are you storing preferences and settings?
Re: Any sufficiently advanced uninstaller is indistinguishable from malware
#307Earlier quoted context omitted.
How could Windows handle it by itself? If it provides a framework for installers/uninstallers, it'll be fighting the inertia of decades of legacy software, programmer habits, and old tutorials. If it tracks file ownership by program, it might accidentally delete user files. How would it differentiate between a VSCode extension that should be uninstalled, and a binary compiled with VSCode for a user project? A false p…
A VSCode extension would be installed and managed by the OS package manager. User created content would be not.
Re: Any sufficiently advanced uninstaller is indistinguishable from malware
#308The guys at MS are smart enough to decompile assembly but still not enough to have a proper inode-based filesystem where you can delete files that are in use.
Allowing you to have inconsistently valid data, where a file can both exist and not exist depending on who's asking, is the opposite of smart.
Re: Any sufficiently advanced uninstaller is indistinguishable from malware
#309The guys at MS are smart enough to decompile assembly but still not enough to have a proper inode-based filesystem where you can delete files that are in use.
It has little to do with the filesystem. Windows has OS level locks. In the case of a running executable, the mapped memory holds a lock on the exe file to prevent deleting it. This is intentional. If it didn't hold the lock then it would be possible to delete the exe file on modern versions of Windows. Edit: since there still seems to be confusion I'll try to be clearer. On NTFS you can delete an open file. This is…
Re: Any sufficiently advanced uninstaller is indistinguishable from malware
#310And today I learned that Windows supports running Javascript as shell script. huh
This feature has existed for more than 25 years. My concern is more than Raymond Chen suggest that using it is still the recommended way. So much malware came through WScript.