mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-11 23:31:03 +03:00
2. Non-GUID key (...Uninstall\RustDesk) is explicitly written by RustDesk’s MSI compatibility component in res/msi/Package/Components/Regs.wxs:44, populated by preprocess.py --arp from .github/workflows/
flutter-build.yml:262.
So they were not using the same EstimatedSize logic:
- MSI GUID key: MSI-calculated size (KB).
- RustDesk key: custom script value from res/msi/preprocess.py:339 (previously bytes, now fixed to KB).
That mismatch is exactly why you saw different sizes.
RustDesk msi project
Use Visual Studio 2022 to compile this project.
This project is mainly derived from https://github.com/MediaPortal/MediaPortal-2.git .
Steps
python preprocess.py, seepython preprocess.py -hfor help.- Build the .sln solution.
Run msiexec /i package.msi /l*v install.log to record the log.
Usage
- Put the custom dialog bitmaps in "Resources" directory. The supported bitmaps are
['WixUIBannerBmp', 'WixUIDialogBmp', 'WixUIExclamationIco', 'WixUIInfoIco', 'WixUINewIco', 'WixUIUpIco'].
Knowledge
properties
wix-toolset-set-custom-action-run-only-on-uninstall
| Property Name | Install | Uninstall | Change | Repair | Upgrade |
|---|---|---|---|---|---|
| Installed | False | True | True | True | True |
| REINSTALL | False | False | False | True | False |
| UPGRADINGPRODUCTCODE | False | False | False | False | True |
| REMOVE | False | True | False | False | True |
TODOs
- Start menu. Uninstall
- custom options
- Custom client.
- firewall and tcp allow. Outgoing
- Show license ?
- Do create service. Outgoing.