d3b6026bfd
- Filled empty libs/hbb_common/ submodule (cloned from rustdesk/hbb_common) - Patched Flutter 3.44 / Dart 3.12 compatibility: * flutter/lib/generated_bridge.dart: asTypedList with cast<>, DartPort=Int64 * flutter/lib/common.dart: DialogTheme->DialogThemeData, TabBarTheme->TabBarThemeData * flutter/pubspec.yaml: extended_text 14.0.0->15.0.2, google_fonts override 5.0.0 * flutter/macos/Runner/Configs/Release.xcconfig: EXCLUDED_ARCHS=x86_64 - Build verified: cargo check + cargo build --features flutter + cargo build --release --features flutter - Verified flutter build macos --debug and --release both produce working .app - Verified .dmg installer (27MB arm64) created via hdiutil - Build deps: Xcode 26.5, CocoaPods 1.16.2, Flutter 3.44, VCPKG arm64-osx
45 lines
1.4 KiB
Markdown
45 lines
1.4 KiB
Markdown
# 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
|
|
|
|
1. `python preprocess.py`, see `python preprocess.py -h` for help.
|
|
2. Build the .sln solution.
|
|
|
|
Run `msiexec /i package.msi /l*v install.log` to record the log.
|
|
|
|
## Usage
|
|
|
|
1. 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](https://www.advancedinstaller.com/versus/wix-toolset/wix-toolset-set-custom-action-run-only-on-uninstall.html)
|
|
|
|
| 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
|
|
|
|
1. Start menu. Uninstall
|
|
1. custom options
|
|
1. Custom client.
|
|
1. firewall and tcp allow. Outgoing
|
|
1. Show license ?
|
|
1. Do create service. Outgoing.
|
|
|
|
## Refs
|
|
|
|
1. [windows-installer-portal](https://learn.microsoft.com/en-us/windows/win32/Msi/windows-installer-portal)
|
|
1. [wxs](https://wixtoolset.org/docs/schema/wxs/)
|
|
1. [wxs github](https://github.com/wixtoolset/wix)
|