MiKTeX has the ability to automatically install missing packages.
MiKTeX asks your permission before installing a package (see Figure 4.3, “Automatic Package Installation”.
Click Always show this dialog before installing packages. Your decision will be remembered.
to start the installation of the package. Click , to cancel the installation. If you do not want to see this dialog in the future, clear the mark from the check box