# Windows error

## [Installation Directory Must Be On A Local Hard Drive (Fixed)](https://www.thefreewindows.com/19928/fix-error-installation-directory-local-hard-drive/)

Trying to install an application from an MSI installer you may face this error, that “Installation directory must be on a local hard drive”! Even if you create manually yourself the installation directory on any of your local drives, this error message persists!

When you right click the installer to run it “as administrator”, you receive another error message, that “This file does not have a program associated with it for performing this action. Please install a program or, if one is already installed, create an association in the Default Programs control panel.”!!!

To fix this issue: open the Command Prompt**as administrator**and write the command**msiexec /i**followed by the path to your installer. For instance, let’s say you are installing[File Converter](https://www.thefreewindows.com/19930/download-free-file-converter-audio-video-documents-images/). First, copy the path to the installer, then in the command prompt window write:

```
msiexec /i "c:\AnyPath\YourInstaller.msi"
```

This will run the MSI installer of your program without errors. If not, to the command above add also this direction: WIXUI\_DONTVALIDATEPATH=1. It now becomes:

```
msiexec /i "c:\AnyPath\YourInstaller.msi" WIXUI_DONTVALIDATEPATH="1"
```

Enjoy!

## ![](https://2312561935-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M6K6AifqMsztHFnLbbW%2Fsync%2F0fa84783c011aa40cb63772d78377977fa5811f7.jpg?generation=1588418419635627\&alt=media)

## For understanding Regedit

## [How to Force an MSI Package to Install Using Administrator Mode](https://www.howtogeek.com/178826/how-to-force-an-msi-package-to-install-using-administrator-mode/)
