Reputation: 31
I've got the following issue. I'm trying to run 3rd-party x86 .exe application (specifically vc_redistr.x86.exe from MS) from my .NET executable - here is the code:
Process process = new Process();
process.StartInfo.FileName = vcredistrPath;
process.StartInfo.Arguments = " /install /passive /norestart";
process.Start();
process.WaitForExit();
But when process.Start() is called I'm getting error saying that its incompatible with 64 bit OS. Of course, when I'm running this exe from command line it works just fine. The question: is there any way how I can do it from my .NET app?
Upvotes: 0
Views: 80
Reputation: 31
OK, I've found the reason: the exe file itself appeared to be corrupted.
Upvotes: 0