Tag Archives: : “Installation directory must be on a local drive”

[Solved] Win10 Install cmake Error: “Installation directory must be on a local drive”

Solution:

1. start the console with administrator privileges, or PowerShell

2. CD to installation package path

3.

msiexec /i "cmake-3.22.0-windows-x86_64.msi" WIXUI_DONTVALIDATEPATH="1"

PS: that’s it. What the hell is permission management

Reference: https://superuser.com/questions/1069513/installation-directory-must-be-on-a-local-drive-msi-install-error