Hacker News new | ask | show | jobs
by sterlind 1444 days ago
there's a weird licensing thing for the VC runtime where you can't redistribute the dll alongside your code unless you have a special license. instead, you have to install it as an MSI. I have no idea why they created that restriction. I even work for MS and it baffles me.
3 comments

At one point MS was very keen for people to use MSI's rather than building custom installers that jam things into system32. Perhaps that was why.
I don’t usually bug people about this but you mean “MSIs”, not “MSI’s”. They mean different things in this context.
But if you're using it for yourself you wouldn't want to put it in system32.
There was a looong period of time where a lot of developers felt entirely free to drop whatever they wanted into c:\Windows, System, System32, whatever. It's a big part of what led to windows getting a reputation for being poorly behaved/crashy/slow over time [leading to a lot of "have you tried reinstalling windows?" recommendations]
Yes but I think that's separate from a newer installer using one of these newer runtimes.
It’s so the system can update the runtime when security vulnerabilities and such are discovered.
probably so it gets a consistent installation location that is protected by the operating system. read the Raymond Chen blog post linked here a few times to see why not doing this has bitten Microsoft in the past.