View Single Post
  #5  
Old 10-15-2012, 09:09 PM
mazex's Avatar
mazex mazex is offline
Approved Member
 
Join Date: Oct 2007
Location: Sweden
Posts: 1,342
Default

Quote:
Originally Posted by HeavyHemi View Post
Gave the install script and reg edit a shot. No joy.
OK, it still fired up the c++ redist installation? It could of course be part of the CloD installation...

Lets keep trial and error - how about adding a line in the VCRedist part with:

"IgnoreExitCode" "1"

Just guessing that could ignore the fact that it "fails"...

If that fails I could write a silly c++ program that returns a 0 as exit code that you could put in %INSTALLDIR%\\redist\\VCRedist\\vcredist_x86.exe Or by the way, why not just do a copy of the DirextX installer and call it "vcredist_x86.exe" in that folder... That way it will "think" it installs the C++ redist and it works

EDIT:

Wrote an amazing version of vcredist_x86.exe that will always work Download below, unpack the rar and put the file in %INSTALLDIR%\\redist\\VCRedist\\vcredist_x86.exe (and save the orignal before etc...). It's a dummy console c++ program that does nothing but return 0 (the exit code for "OK).

https://sites.google.com/site/mazexx...edirects=0&d=1

This is the code it runs (a default empty c++ project):

Code:
int _tmain(int argc, _TCHAR* argv[])
{
	return 0;
}
__________________
i7 2600k @ 4.5 | GTX580 1.5GB (latest drivers) | P8Z77-V Pro MB | 8GB DDR3 1600 Mhz | SSD (OS) + Raptor 150 (Games) + 1TB WD (Extra) | X-Fi Fatality Pro (PCI) | Windows 7 x64 | TrackIR 4 | G940 Hotas

Last edited by mazex; 10-15-2012 at 09:29 PM.
Reply With Quote