About this question
To my current understanding:
A virus is a program that does not self replicate and relies on the host file being spread. It has malicious intent. A trojan is a program that is run by deceiving the user into appearing to be something legitimate, but has malicious intent.
How are these different? To get a user to install a virus doesn't it always require appearing as something legitimate?
Or does a trojan program run as expected so for example if it was a game it would work fine but have done something malicious without the user knowing, whereas a virus wouldn't?