I found the problem, in my case, it was a connection timeout. So during the installation process, I picked the option to set a raw connection string, and I set a huge connection timeout. The installation has been done with success including the sample data. After the installation, I've changed the Connection timeout for a reasonable time again.
connection string example:
Data Source=serverhostname;Initial Catalog=databasename;Persist Security Info=True;User ID=login;Password=pwd;Persist Security Info=False;Connection Timeout=2147483647;
[Solved] This bug is due to a file access error that is not handled by the code To resolve this issue, remove the files and folders and folder's items from read-only mode. Presentation\Nop.Web\wwwroot\images\thumbs, Presentation\Nop.Web\web.config