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:



 Warning   
 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:
http://blog.microcasts.tv/2013/08/09/xc8-problem-running-post-install-step

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:
http://www.microchip.com/forums/m682716.aspx

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:
https://www.dropbox.com/s/g70kq6hj8k85b3x/msvc71.zip?dl=0

Thank you "SHidem".