Files
rustdesk/res
rustdesk 9dae15e523 fix(msi): pass the printer name in a format the custom action can read
[~] is MSI's escape for a NUL character, not the delimiter WcaReadStringFromCaData
splits on -- that is a literal wide char 128, which a Formatted property value
cannot carry -- and WcaGetProperty returns a null-terminated string anyway. So
the second field was unreachable: InstallPrinter always fell back to the stock
name and installed a printer and port called "RustDesk Printer" inside a
customer's branded package, while UninstallPrinter, whose data is a single field
and parsed fine, went looking for "Acme Printer" and left the real one behind
for good.

Both actions now read CustomActionData directly and split on a character that
cannot occur in a Windows path or in a validated app name. A package built
before this carries no separator and keeps the stock name, as it did.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q7fBdTwziR5BHTkSz7Tzcm
2026-08-06 00:16:24 +08:00
..
2023-04-03 13:16:49 +08:00
2026-06-18 22:37:15 +08:00
2024-03-25 12:06:49 +08:00
2024-03-25 12:06:49 +08:00
2024-03-25 12:06:49 +08:00
2025-11-20 22:15:42 +08:00
2026-04-21 16:27:39 +08:00
2026-06-17 22:18:45 +08:00
2023-02-07 21:14:01 +08:00
2024-03-07 17:00:32 +08:00
2025-03-27 15:34:27 +08:00
2023-10-28 10:59:33 +02:00
2023-02-07 21:04:50 +08:00
2022-09-18 11:26:10 +08:00
2026-05-26 11:45:15 +08:00
2026-07-06 18:00:39 +08:00
2026-07-06 18:00:39 +08:00
2026-07-06 18:00:39 +08:00
2026-01-21 20:43:15 +08:00
2026-07-06 18:00:39 +08:00
2023-05-25 15:53:27 +08:00
2023-02-07 21:04:50 +08:00
2023-04-03 13:16:49 +08:00