I wanted to post this here because I couldn't find the solution online elsewhere.
I did a fresh install on Windows 7 of MiKTeX 2.9 and TeXnicCenter 2 alpha 3 but on trying to build the project I get the error:
Code: Select all
C:\Program Files (x86)\MiKTeX 2.9\miktex\bin\latex.exeCannot execute the command.Error:%1 is not a valid Win32 application.
Go to "Define Output Profiles" Alt+F7
Select a profile
under "Path to the (La)TeX compiler:"
put the file path inside double quotation marks e.g.
Code: Select all
"C:\Program Files (x86)\MiKTeX 2.9\miktex\bin\latex.exe"
And do the same for all other commands (BibTeX, MakeIndex, Viewer). Problem solved.
Why was it so?
Thanks
James