Can a compressed or iso file containing a virus inside infect a drive or ...

Can a compressed (WinRar/Zip) or iso file containing a virus/trojan/worm inside infect a drive or activate when transfering the container to another hard drive?

No, virus cannot be activated itself, when it is compressed…