Closed tristanlabelle closed 1 year ago
Burn uses CreateProcessW
to launch ExePackage
s too, so there's no UAC prompt.
Fixed by bundling individual dlls via https://github.com/apple/swift/pull/69743 and https://github.com/apple/swift-installer-scripts/pull/256
Since https://github.com/apple/swift-installer-scripts/pull/251, the installer packages the VC redistributable, which is a machine-wide install, even though the Swift toolchain itself if a per-user install. This step hence fails when running the installer unelevated. We might be able to switch back to using
ExePackage
, which I believe will show an elevation prompt but has other limitations on detecting prior installations, or we could mark that stepVital="false"
and allow it to fail when run unelevated.