Run XNA Game Studio Shared.msi inside of the 4. XNA Game Studio 4.0 Shared folder

Spoiler for Hidden Content:

Open the XNA Game Studio 4.0.vsix inside of the root folder.

Spoiler for Hidden Content:

After that, some extra steps are required to get XNA Game Studio functioning properly under VS2017. Open your Windows search bar, and type in "Developer Command Prompt for VS 2017"

Spoiler for Hidden Content:

(screenshot is from windows 10 but should function fine on windows 7 too, but please for the love of god update your system before EOL)

Right click the developer prompt and run as admin, then enter these three commands one after another.xcopy /E /Y /I "C:\Program Files (x86)\MSBuild\Microsoft\XNA Game Studio" "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\Microsoft\XNA Game Studio"cd C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bingacutil /i Microsoft.Build.Framework.dll

Spoiler for Hidden Content:

Success! If everything went well and you completed every installation, you should be ready to develop mods for Total Miner using XNA Game Studio! You can now open the TotalMinerMods example repo in VS2017 or also start a new XNA Game Studio Library project and make your own mod from scratch!

You have to extract them first. You cannot run them from inside WinRAR.Additionally, you have to install Visual Studio so that the .VSIX file is associated to it. You have not done so.Read the prerequisites, install Visual Studio Community 2017 and then try again.