Scratching Your Head Installing Portable Latex

 

The Error!

Acccording to Miketex website you have to Just download the standard installer and rename it to miktex-portable.exe. You start installaton and after few minutes encounter this error:

portable-latex-installation-error.png

Solution-1: Command Line Installer

Download Command Line Installer from miketex site. miketex-commandline-installer.png

Unzip and copy the “miktexsetup_standalone.exe” file into the root directory of C:
Open Terminal and run :

C:\miktexsetup_standalone.exe --verbose --local-package-repository=D:\MikTex\packages\basic --package-set=basic download

miketex-commandline-installer-2.png

Now run:

 C:\miktexsetup_standalone.exe --verbose --local-package-repository=D:\MikTex\packages\basic --package-set=basic --portable=D:\MikTex-Portable\basic --use-registry=no --modify-path=no install

miketex-commandline-installer-3.png

and you are done!

miketex-commandline-installer-done.png