The present invention discloses a replication-deficient pseudoinfective virus belonging to the Flaviviridae family that lack the capsid gene, where the replication-deficient pseudoinfective virus propagates only in cells expressing the capsid or capsid, prM and envelope protein of the flavivirus. The present also discloses the method of producing such viruses on a large scale and the use of these pseudoinfective viruses as vaccines for preventing diseases caused by infections of humans or animals by the viruses belonging to this family.