I use the command to install:

msiexec /i " mysql-5.5.23-winx64.msi" INSTALLDIR="C:\Program Files\MySQL" /L* "C:\Program Files\MySQL\mysql-log.txt" 

enter image description here

    2 answers 2

    Try to specify the full path to the msi file or go to its directory via cd [path]

    • And the space as the first character of the package name is slightly doubtful ... - Akina
    • @matrix I did this like cd C:\Windows\SysWOW64 && msiexec /i mysql-5.5.23-winx64.msi /quiet INSTALLDIR="C:\Program Files\MySQL" , but now does not install in the wrong directory - Identin
    • @ Identicon And why do you have msi in Syswow64? - matrix
    • @matrix There it is downloaded by default, the problem decided it turned out necessary /quiet after INSTALLDIR to put. - Identic

    cd C:\Windows\SysWOW64 && msiexec /i mysql-5.5.23-winx64.msi INSTALLDIR="C:\Program Files\MySQL" /quiet