I have installer that contains vcredist_x86.exe / vcredist_x64.exe so if user machine does not have VC++ redistributable installed then I install it.
However, the size of vcredist_x86.exe / vcredist_x64.exe is quite large ~5MB, which may be a problem for a small application.
Is there a direct (and permanent) link to Microsoft site that I could use instead of adding vcredist files to my installer?
Or may be there is even better way to solve such problem?
P.S. I am aware that user machine would have to be online - this is OK.
Here are the direct links for MSVC 2010 redists:
MSVC 2010 SP1 Redist x86 English http://download.microsoft.com/download/C/6/D/C6D0FD4E-9E53-4897-9B91-836EBA2AACD3/vcredist_x86.exe
MSVC 2010 SP1 Redist x64 English http://download.microsoft.com/download/A/8/0/A80747C3-41BD-45DF-B505-E9710D2744E0/vcredist_x64.exe
As you can see from those URLs, Microsoft is using UUIDs to index all their downloads, which looks like a good design decision and suggests that those links are indeed going to remain valid for a long time.