mirror of
https://github.com/storytold/craft-launcher.git
synced 2026-11-16 15:14:56 +00:00
The batch session's elevated copy took a package's path and checksum from a manifest in the launcher's downloads folder, which any process of the user can write. The UAC prompt names the launcher's publisher, so a manifest written by such a process could get any MSI installed under that prompt. The elevated copy now checks each held package's Authenticode signature against its own, as the self-update helper does, and reports no exit code without running Windows Installer when they differ. The launcher's side sends a package from another publisher to install by itself under its own prompt, as SolidCraft and ArtCraft Studio do now. The elevated copy also resolves the package's path before holding it and refuses a symbolic link, so the path it checks is the one it installs, and it writes its process id only to a new file.