file -i <here msi file> returns
application/vnd.ms-office and I think that is wrong. I need a more specific mime type for msi files. I know about magic files.
I have no internet on this PC so I need edit file manually. How can i correctly do that?
On my RHEL system, the
file command sits ontop of
libmagic and uses that to do the file magic detection. The magic is defined at
/usr/share/misc/magic (with symlinks to that file at
/usr/share/magic). The syntax of the file is a little complicated (understandably) but it should be described under
man 5 magic if not here is an online copy of the man page.