When I'm installing painted trim -- baseboards, window or door trim, etc. -- I usually prime and paint it before installation. That way I only have to fill the nail holes, sand smooth and paint one coat after installation.
If I want my trim to have a natural wood finish instead, how much of the process of applying wood conditioner, stain and two or three coats of varnish can I do before I install the trim?