Right-click MPLAB-C30-v3_31-windows-installer.exe → . This ensures proper registry entries.
C30-c99 --version