EDIT: Thanks to several people I almost have a complete answer. BCnrd pointed out that the generalized Riemann Existence Theorem shows that $\tilde{Y}$ can be uniquely given the structure of a complex variety $\tilde{Y}'$. Also, Georges pointed out that the Kodaira embedding theorem implies that $\tilde{Y}'$ is projective if $Y'$ is projective.

This leaves two parts open to my original question. If $Y'$ is quasiprojective, then must $\tilde{Y}'$ be quasiprojective? Also, if $Y'$ is affine, then must $\tilde{Y}'$ be affine?

The impression I get from reading the comments is that the answers are "yes" and that everyone but me is able to easily prove them given what has already been said. Can anyone give me a hint or a reference as to how to proceed?

Thanks to everyone for all your help so far.

ORIGINAL QUESTION:

Let $Y$ be a complex manifold that can be given the structure of a complex variety $Y'$. Let $\pi:\tilde{Y} \rightarrow Y$ be a finite, unramified cover of $Y$. Can $\tilde{Y}$ be given the structure of a complex variety $\tilde{Y}'$ such that there is a finite map $\pi' : \tilde{Y}' \rightarrow Y'$ making the obvious diagram commute? If the answer is yes, then can we take $\tilde{Y}'$ to be projective/quasiprojective/affine if $Y'$ is projective/quasiprojective/affine?

This kind of thing is true for Riemann surfaces, but even there I don't know how to prove it except by going through the whole machinery showing that all compact Riemann surfaces are projective varieties. Since such things are not available in higher dimensions, I'm stuck.

I should maybe remark that I don't even know how to do the above for affine varieties.

Thanks!