Import .frm and .ibd files into a new instance of MySQL
It should work copying the whole data directory to the target machine given the following conditions:


You must have the whole data directory (ibdata1 and iblogfiles included).
Try to use the same my.ini file.
The OS where the source DB files were running must be the same as of the target OS.
Try to use MySQL 5.5.x. If you need to upgrade to 5.7 you must first install 5.6.x and run mysql_upgrade script, install 5.7.x and run again mysql_upgrade script, OR install 5.5.x, run a mysqldump, and then importing the dumpfile on 5.7.x.


If you don't have the ibdata1 and iblogfiles then you must apply the procedure of the thread that you shared, scripting as Rick suggested.