Page 1 of 2

Unable to detect required dependency: Visual C++ 2012 Update 1 x86

Posted: 2013-11-16 22:43
by WarGrade
[R-COM]LITOralis.nMd's Update:

Many people have recently hit this problem:

Image

First off, The Dev Team is well aware of the problem, and the problem will be fixed in the next update. Until then, we have to manually repair a mistake in Microsoft code that breaks a registry entry that the PRLauncher tries to access.

VC++ 2012 Update 4 came out at the end of November, it is an all inclusive update that includes Update 1 inside of it people should be installing that now, since that's where the launcher directs you to. There is no issues with this version, the minimum still remains as Update 1 (for XP support), all successive updates (in the 2012 branch) are in-place upgrades and will cause no issues. The next PR Update will again change the dependency check (will check the assembly directly instead of the registry entry that MSFT fucked up and doesn't install correctly without a repair).

If people get this issue, they need to:

Download the correct file from Download Visual C++ Redistributable for Visual Studio 2012 Update 4 from Official Microsoft Download Center
You need the x86 version if you are on:
Windows XP
Windows XP x64
Windows Vista 32 bit
Windows 7 32 bit
Windows 8 32 bit
Windows 8.1 32 bit

You need the x64 version if you are on:
Windows Vista 64 bit
Windows 7 64 bit
Windows 8 64 bit
Windows 8.1 64 bit

You then install it, then re-launch the installer and choose repair. A restart is unnecessary. Blame MSFT for the double install to fix the registry entries.


------------------------------------------------------------------------------------------------------

Are you getting caught up on this part? It isn't that difficult, just right click the links below, and run the patch files in order, as an admin.

prbf2_1.0.29.0_to_1.0.30.0_client_patch.prpatch
prbf2_1.0.30.0_to_1.0.31.0_client_patch.prpatch
prbf2_1.0.31.0_to_1.0.32.0_client_patch.prpatch
prbf2_1.0.32.0_to_1.0.33.0_client_patch.prpatch
prbf2_1.0.33.0_to_1.0.34.0_client_patch.prpatch
prbf2_1.0.34.0_to_1.0.35.0_client_patch.prpatch
prbf2_1.0.35.0_to_1.0.36.0_client_patch.prpatch

!!!! NOTE: installing any patch out of order can cause total failure of the pr mod folder file structure and you'll have to do a clean install !!!!

Right click this link and Save to Computer.

Code: Select all

http://files.ancientdev.com/updates/prbf2_1.0.29.0_to_1.0.30.0_client_patch.prpatch
http://files.ancientdev.com/updates/prb ... ch.prpatch
Once saved to your PC, double click the file to start the update.

Again, Right click this link and Save to Computer. We'll do this for each file.

Code: Select all

http://files.ancientdev.com/updates/prbf2_1.0.30.0_to_1.0.31.0_client_patch.prpatch
http://files.ancientdev.com/updates/prbf2_1.0.30.0_to_1.0.31.0_client_patch.prpatch

Code: Select all

http://files.ancientdev.com/updates/prbf2_1.0.31.0_to_1.0.32.0_client_patch.prpatch
http://files.ancientdev.com/updates/prbf2_1.0.31.0_to_1.0.32.0_client_patch.prpatch

Code: Select all

http://files.ancientdev.com/updates/prbf2_1.0.32.0_to_1.0.33.0_client_patch.prpatch
http://files.ancientdev.com/updates/prbf2_1.0.32.0_to_1.0.33.0_client_patch.prpatch

EDIT: Once you install the 1.0.32.0_to_1.0.33.0 patch, you should be able to use the PRLauncher's updater to install the patches below:

Code: Select all

http://files.ancientdev.com/updates/prbf2_1.0.33.0_to_1.0.34.0_client_patch.prpatch
http://files.ancientdev.com/updates/prbf2_1.0.33.0_to_1.0.34.0_client_patch.prpatch

Code: Select all

http://files.ancientdev.com/updates/prbf2_1.0.34.0_to_1.0.35.0_client_patch.prpatch
http://files.ancientdev.com/updates/prbf2_1.0.34.0_to_1.0.35.0_client_patch.prpatch

Code: Select all

http://files.ancientdev.com/updates/prbf2_1.0.35.0_to_1.0.36.0_client_patch.prpatch
http://files.ancientdev.com/updates/prbf2_1.0.35.0_to_1.0.36.0_client_patch.prpatch

-----------------------------------------------------------------

Some people will encounter a problem where the .prpatch file type has not been associated with the PRLauncher.exe program. Below are directions to quickly fix this:

Here is a quick tutorial , start with the "Option 2" section and work your way down. This tutorial gives you a few ways to do the same task. This shouldn't take more than a few minutes at most.
Default Programs - Associate a File Type or Protocol - Windows 7 Help Forums

At some point, you'll be asked "With which program do you want to open this .prpatch file with?" Find the location of your PRLauncher.exe program, and tick the box "open with this program by default".

Code: Select all

Default location in Windows Vista/7/8/2008/2012 X64 for Origin installations:

C:\Program Files (x86)\Origin Games\Battlefield 2 Complete Collection\mods\pr\bin\PRLauncher.exe


Default location in Windows XP/Vista/7/8 32 Bit X86 for Origin installations:

C:\Program Files\Origin Games\Battlefield 2 Complete Collection\mods\pr\bin\PRLauncher.exe


Default location in Windows Vista/7/8/2008/2012 X64 for Steam installations:

C:\Program Files (x86)\Steam\steamapps\common\battlefield 2\mods\pr\bin\PRLauncher.exe


Default location in Windows XP/Vista/7/8/2008/2012 for Steam installations:

C:\Program Files\Steam\steamapps\common\battlefield 2\mods\pr\bin\PRLauncher.exe


Original WarGrade post:
Hello, I've recently hit this problem:

Image

When I click on this link it takes me to the 4th update, I've searched and searched for the 1st update, but I can't find it! Could someone tell me how to fix this?

Thank You

Re: Unable to detect required dependency: Visual C++ 2012 Update 1 x86

Posted: 2013-11-16 23:02
by LITOralis.nMd
Download the 4th update.
Install it.
reboot
Then Install it again, when you get to the first screen this time, select "REPAIR Installation"
Test PR.

Post back if you need any more help getting this sorted out, it's pretty straightforward ... blame Microsoft.

We're not certain why this is happening, it's a problem on Microsoft's end and is affecting large numbers of people who have custom programs using Visual C++ (like our PRLauncher in our instance)

Re: Unable to detect required dependency: Visual C++ 2012 Update 1 x86

Posted: 2013-11-16 23:46
by WarGrade
It didn't work. :(

Re: Unable to detect required dependency: Visual C++ 2012 Update 1 x86

Posted: 2013-11-17 00:14
by LITOralis.nMd
Download Visual C++ Redistributable for Visual Studio 2012 Update 4 from Official Microsoft Download Center

DOwnload and install BOTH of these:

VSU4\vcredist_x64.exe 6.9 MB
VSU4\vcredist_x86.exe 6.3 MB

Install the x86 version first.
then install the x64 version.

REPAIR the x86 version first.
then REPAIR the x64 version.

reboot

test PR.

Re: Unable to detect required dependency: Visual C++ 2012 Update 1 x86

Posted: 2013-11-17 14:50
by WarGrade
*Sigh* Didn't work either!
I could try re-installing PR
Re-Installing didn't work...

Re: Unable to detect required dependency: Visual C++ 2012 Update 1 x86

Posted: 2013-11-17 21:46
by LITOralis.nMd
Open PRLauncher, click Support ->click "Copy to Clipboard,
paste it all in here:

which windows 8 are you running?
win 8
win 8.1 preview
win 8.1
32 bit or 64 bit?
stanadard or pro?

Re: Unable to detect required dependency: Visual C++ 2012 Update 1 x86

Posted: 2013-11-17 23:32
by mOsInNaGaNt
I have windows 7 with same issue. Opening the launcher is impossible thats where the error happens.

Re: Unable to detect required dependency: Visual C++ 2012 Update 1 x86

Posted: 2013-11-17 23:42
by WarGrade
I cannot access the launcher because of the error thing, I am running Windows 8.1 64bit Standard

Re: Unable to detect required dependency: Visual C++ 2012 Update 1 x86

Posted: 2013-11-17 23:43
by LITOralis.nMd
I don't know what's ahppening, will need AncientMan or another Dev who worked on the PRLauncher code to look at this. In the meantime, try installing this:

Download Visual C++ Redistributable Packages for Visual Studio 2013 from Official Microsoft Download Center

then repairing your Visual C++ Redistributable for Visual Studio 2012 Update 4 AGAIN.

then test PRLauncher.

Re: Unable to detect required dependency: Visual C++ 2012 Update 1 x86

Posted: 2013-11-17 23:45
by LITOralis.nMd
As to why I am unable to offer much help,
WIN8.1 64BIT STANDARD IS SUPPOSED to have all of these included in the normal installation.

Installing the .NET Framework 4.5, 4.5.1

So it is probably a coding error in PRLauncher, but that is above my paygrade.

Re: Unable to detect required dependency: Visual C++ 2012 Update 1 x86

Posted: 2013-11-17 23:54
by mOsInNaGaNt
Ok i just got my launcher open. I went to this post : https://www.realitymod.com/forum/f27-pr ... fixes.html
and ran the updates manually up to 1.0.32 and my launcher finally works. Try it out.

Re: Unable to detect required dependency: Visual C++ 2012 Update 1 x86

Posted: 2013-11-18 21:28
by WarGrade
I've discovered this:

Chocolatey Gallery | Visual Studio 2012 Update 1 11.2.13230.3

But I don't know how to use it exactly, Or if it would help.

Re: Unable to detect required dependency: Visual C++ 2012 Update 1 x86

Posted: 2013-11-18 21:39
by WarGrade
I had it working with 'mOsInNaGaNt' suggestion, but then it stopped working... :(

Re: Unable to detect required dependency: Visual C++ 2012 Update 1 x86

Posted: 2013-12-10 02:36
by Daniel
How "stopped working" ?

Re: Unable to detect required dependency: Visual C++ 2012 Update 1 x86

Posted: 2013-12-10 15:35
by WarGrade
Basically exited out of the launcher and when I went back in it didn't work. :(

Re: Unable to detect required dependency: Visual C++ 2012 Update 1 x86

Posted: 2013-12-10 16:48
by LOLmeOUT
I've installed/repaired all kinds of versions of visual C++ and i still get the same error message saying:

http://i.imgur.com/oJ0dxIk.jpg

Re: Unable to detect required dependency: Visual C++ 2012 Update 1 x86

Posted: 2013-12-12 20:25
by Myers743
No reply from a tech in a month, I assume there is no real way to fix this? Just came back to PR after a while (pre 1.0) installed the full version, had the launcher then had the 1212 error, started installing the patches in sequence until 1.0.32 caused this error near the end of the patch, then installed Update 4 and tried to re-patch 1.0.32 but it had corrupted the files so I had to reinstall PR. Now that I've done that I just get this error at the launcher.

So earlier I could get into the launcher and patch, then as soon as i get that error in the patch now I can't even launch. Despite deleting the appdata folder to ensure the corrupt versions were not still on my computer. Maybe that helps isolate the problem given that I could use launcher earlier but not after attempting to update then re-installing?

Re: Unable to detect required dependency: Visual C++ 2012 Update 1 x86

Posted: 2013-12-13 15:14
by LITOralis.nMd

Re: Unable to detect required dependency: Visual C++ 2012 Update 1 x86

Posted: 2013-12-14 14:02
by Myers743
Well that's basically everything that has already been suggested, which many of us has said didn't work.

Tried everything you stated there. Installed x64, repaired it, still the same error. Reinstalled everything over and over, same process, same error. Like I said I could get the launcher up before I tried to manually install 1.0.32 to get around the 1212 error, now I can#t even get to the launcher despite full uninstalls.

Re: Unable to detect required dependency: Visual C++ 2012 Update 1 x86

Posted: 2013-12-14 16:29
by LITOralis.nMd
Myers743,
if you can upload your UpdateLog directory to something like Dropbox and send me a link to the upload, I'll take a look at it.

, the directory is usually located at

C:\Users\[USERNAME]\AppData\Local\Project Reality\Project Reality BF2\UpdateLogs