Taking full advantage of the unique laboratory environment created by the National Ignition Facility (NIF) will require the availability of foam-lined indirect-drive inertial confinement fusion targets. Here, we report on a new approach that enables fabrication of target structures that consist of a thin-walled (<30 µm) ultra-low-density (<30 mg cm−3) hydrocarbon foam film inside a thick-walled, ∼2 mm diameter ablator shell. In contrast to previous work on direct-drive targets that started with the fabrication of foam shells, we use a prefabricated ablator as a mold to cast the foam liner within the shell. This work summarizes crucial components of this new approach, including the aerogel chemistry, filling of the ablator shell with the aerogel precursor solution with nanolitre precision, creating uniform polymer gel coatings inside the ablator capsule, supercritical drying and doping.