fn main() { // A clean Windows has no Visual C++ runtime; installing one may be this setup's very job. static_vcruntime::metabuild(); // The manifest asks for administrator rights once at start, turns on Common Controls 6 for the // task dialog and per-monitor DPI; the icon is the program's. embed_resource::compile("setup.rc", embed_resource::NONE) .manifest_required() .expect("setup.rc must compile"); }