Saturday, November 8, 2014

Failed Installing XC8 v1.33 on Windows 8.x

I was trying to install XC8 C compiler from Microchip on my Windows 8.1 machines, and this come out:

 Problem running post-install step. Installation may not complete correctly   
 Error running C:\Windows\syswow64\regsvr32 /s "C:\ Program Files (x86)Microchip\xc8\v1.33\bin\MPLABXC8.dll" :   
 Program ended with an error exit code   

After minutes of 'Google-ing', I found this:

Tried the suggested solution and sadly, for my case, it didn't work.

 regsvr32.exe "C:\Program Files (x86)\Microchip\xc8\v1.33\bin\MPLABXC8.dll"  

Getting deeper, I found this:

At post #12, user "SHidem" pointed out there are missing DLLs in the installer, namely "MSVCP71.DLL" and "MSVCR71.DLL".

I downloaded and pasted it xc8/bin directory, and now, all works perfectly now.
I've made a mirror link here, just in case the link went offline:

Thank you "SHidem".