Installation of MSVC++ 2015 x86 Redistributable - installation

When installation the MSVC++ 2015 x86 Redistributable (14.0.23026), the size of the library shows 1.92 MB.
On a second computer, the size for the same library is 20.7 MB.
I assume this explains the problem on the first computer to run dependent program.
I have uninstalled and installed a number of times, but to no avail.
Any idea how to make a clean install?

I found the solution.
This redist would install, but there was no warning, only the trained eye would see that the Setup Process did not behave properly.
Later only the small size of the redist in Add/Remove gave an indication.
The Microsoft application "Fix it" removed the remains from earlier installations.
Then it was possible to install the redist properly.

Related

Why does Visual Studio try to install to Program Files (x86)?

When I started the installer for VS 2017 the default installation directory was set to Program Files (x86). I am using Windows 10 x64 OS on a 64 bit machine.
I downloaded from this link https://www.visualstudio.com/downloads/. I just want make sure I am installing the right thing before proceeding.
This happens when the program is a 32-bit version, and you have a 64-bit version of Windows.
You have downloaded the 32-bit version and that's why its going to that folder. If you were to download a 64-bit version of Visual Studio(a), it would be placed (by default) in to "Program Files".
(a) Unfortunately no such beast exists, so VS will always end up in the x86 variant unless you explicitly put it elsewhere. In other words, what you're seeing is totally normal.

Visual Studio 2017 64-bit IDE?

Did they finally make x64 IDE for VS2017?
I am asking because I have ~200 projects in solution and it works bad when all are loaded, slowly eats up to 2.5GB of memory and then freezes. vsFunnel helps, but I would prefer x64 IDE.
[EDIT1]: This is something new for big solutions in VS 2017: Enable lightweight solution load
No.
(And plenty of requests here are there for handling bigger solutions and/or process dumps.)
VS2019 may help, it is not fully 64-bit but they say the debugger runs on 64-bit process and demo with Gear of War code in VS2019 keynotes launch day.
GoW debugging at 38:00
You may need to switch to VSCode or VS for Mac for full 64-bit experience.
I hit this question because on Azure Education they launch VS2017 with both 64 and 32-bit system, I'm curious but it till installing with the same installer and in the same Program Files (x86) folder, and when I try to change the folder it says
Visual Studio cannot be installed to a nonempty directory
'C:\ProgramData...\

“MSVCP100.dll is either not designed to run on Windows or it contains an error”

I built an application in C++ using Visual Studio 2010 Express. When I tried to run it on a certain computer today I got this error:
MyApplication.exe - Bad Image
C:\Path to My Application\MSVCP100.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support.
The DLL mentioned is one of the Visual C++ Redistributable DLLs. My application’s installer used to launch Microsoft’s installer for those DLLs but I recently tweaked it just to install msvcp100.dll and msvcr100.dll alongside my application. The new way worked fine on a handful of other computers, though I can’t rule out the possibility that that was only because the DLLs had already been installed at system level on those other computers.
What is causing this sudden DLL mismatch?
That's STATUS_INVALID_IMAGE_FORMAT, the Machine property in the DLL header doesn't match the architecture of the application.
Do keep in mind that you are likely to have two copies of this DLL on your build machine, the x86 and the x64 version. Later versions of VS have a 3rd copy, the ARM version. So very high odds that you picked the wrong one. Usually you'd target x86, the one you tested your program with is stored in the c:\windows\syswow64 directory. The 64-bit version is in c:\windows\system32.
How these directories got these seemingly backward names is a story for another day :) Favor using the vc/redist subdirectory of the VS install directory as a source for the copy, it is less ambiguous.
This .dll file is related to the Microsoft Visual C++ 2010 Redistributable x64 Package.
Try removing the Microsoft Visual C++ 2010 Redistributable x64 Package by using the Add or Remove Programs item in Control Panel.
Then, install the latest version Visual C++ (file name= vcredist_x64.exe) from the site:
http://www.microsoft.com/en-us/download/details.aspx?id=26999
Hope that helped..
If all above suggested solutions not worked for you than download MSVCR100.dll 32 bit or 64 bit as per your system configuration.
Download DLL from below link
https://www.sts-tutorial.com/sites/downloadCenter.php?MSVCR100
Follow da steps
1.Download the dll from here
https://www.sts-tutorial.com/sites/downloadCenter.php?MSVCR100
2.open with winrar
3.Extract MSVCR100.dll to C:\Windows\System32
hope it will work c:

msvcrt9 runtime

Sounds ridiculous, but I need to install the "Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.6161" on win2008-R2 64bit
I go here
Run the installer, everything's fine.
But after the reboot, I don't see the entry in the "Program and features" ?
And, of course, my dll -which is linked against vc9- cannot find the crt.
Where's my mistake ?
The link is for the SP 1 version of the runtime. Googling the version number you mention suggests you need the original release, not sp1. You can find it here.

GHC + wxHaskell on Windows

Have GHC 6.8.3 and wxHaskell-0.10.3 on a Windows XP computer. Installed both as binary distributions, not by building from sources. Built a sample with the following command:
ghc --make Paint.hs
It works on that same computer it was built on (with GHC and wxHaskell installed), but fails if transferred to another one (with neither of them installed). It throws an "Application error" box with "The application failed to initialize properly (0xc0150002). Click OK to terminate the program."
The only non-system dll it wanted was wxc-msw2.6.4-0.10.3.dll, which I copied to it's folder.
What might be the reason?
The error comes from dependencies that are mentioned in the manifests of DLL's (presumably the third-party ones with wxHaskell) that your system is expecting to find installed in places such as WinSxS and SoftwareDistribution in your Windows directory. I am guessing the wxHaskell installation puts the files there.
You may be able to find what files the program is looking for by looking in the event viewer on the failed machine. You may even be able to fix them by moving the files from a working machine, However, VC++ 2005 runtimes are the most likely, as suggested - the wxHaskell troubleshooter suggests you try the VC++ 2005 service pack 1 redistributables:
http://www.microsoft.com/downloads/details.aspx?FamilyID=200b2fd9-ae1a-4a14-984d-389c36f85647&DisplayLang=en
My guess is, you want to install the VC++ runtime redistributable files onto the target computer. The redistributable files for applications built with visual studio 2005 are available from here:
http://www.microsoft.com/downloads/details.aspx?familyid=32bc1bee-a3f9-4c13-9c99-220b62a191ee&displaylang=en
Datapoint: Works for me on an XP sp2 box.

Resources