Just for completeness...
I have noticed that .msi files do not acquire x permissions. For example:
$ wget http://libreoffice.mirror.garr.it/mirrors/tdf/libreoffice/stable/4.4.1/win/x86/LibreOffice_4.4.1_Win_x86.msi
$ ls -lrt LibreOffice_4.4.1_Win_x86.msi
-rw-r--r-- 1 angelo None 224264192 22 feb 22.57 LibreOffice_4.4.1_Win_x86.msi
and this is expected.. But
$ chmod +x LibreOffice_4.4.1_Win_x86.msi
$ ls -lrt LibreOffice_4.4.1_Win_x86.msi
-rw-r--r-- 1 angelo None 224264192 22 feb 22.57 LibreOffice_4.4.1_Win_x86.msi
The same steps on Cygwin give:
$ ls -lrt LibreOffice_4.4.1_Win_x86.msi
-rwxr-xr-x 1 angelo None 224264192 22 feb 22.57 LibreOffice_4.4.1_Win_x86.msi
Filesystem permissions on MSYS2 are deliberately read-only (mount points have the
noacloption set).Furthermore,
.msifiles are not even considered executable by Windows (seePATHEXT), they just have a default application associated with them. A good command to open a file using its default application would bestart.