[Tex/LaTex] Migrating LaTeX (MiKTeX 2.9) from one computer to another

installingmiktexofflinepackages

I have an old computer (Windows XP Pro x64) with LaTeX (MiKTeX 2.9) installed and setup as I want it. I have a new computer (same operating system), and I want to be able to transfer MiKTeX to the new machine without having to reinstall MiKTeX .

Is there a simple way to do this?

Neither machine has internet connection.

Best Answer

Short Answer: No.

A little longer one:

Windows needs to copy special files (for example dll files) deep into the system of windows (c:\...\system32 or c:\..\Program). The names of the used directorys can differ on several computers. Windows does also store a lot of information in the registry, very relevant to get a running system.

Conclusion: to get a running system with windows install all the programs (for example: Viewer: SumatraPDF or Acrobat, distribution: MiKTeX, editor: TeXnicCenter) you need.

So you can do (because the second computer has no internet): Download with the MiKTeX installer the complete MiKTeX in a directory. Update these directory (have a look in the MiKTeX manual) to get the actual system and copy this directory to the second computer and install MikTeXfrom there. If possible copy the configuration of your editor (TeXnicCenter uses tco files for example) to restore it after you have installed pdf viewer, MiKTeX and editor.