Add a Windows msi installer#280
Conversation
|
Todos
|
|
Do Rust binaries depend on MSVC? Just curious. I'm pretty sure Rust uses MSVC Toolchain by default. If it does, you may want to add an MSVC dependency to the WiX config. Here's how I did it recently: https://github.com/deskflow/deskflow/blob/0e3cee628751ed7be70f065e182ea9c7614f2378/deploy/windows/wix-patch.xml.in You can also use WiX |
Yes, it seems to require I guess you are refering to https://learn.microsoft.com/en-us/cpp/windows/redistributing-components-by-using-merge-modules?view=msvc-160 / https://learn.microsoft.com/en-us/cpp/windows/deployment-in-visual-cpp?view=msvc-160#central-deployment? Is there any proper documentation on how to do this? I found the wix documentation to be somewhat incomplete. |
Unfortunately, I did not, just had to muddle my way through it, sadly. For WiX, |
Thank you! It seems reasonable for various reasons to not have every application ship their own copy of the dlls. I'm going to check out |
That's what we're doing with Deskflow since there's no For Synergy we configure full-blown WiX manually like you're doing, and we use a naughty merge module (we were using them since before Microsoft deprecated them), but we plan to move to |
72e3fa7 to
64d5058
Compare
|
Crazy how difficult this stuff is on windows compared to Linux ... |
I recommend taking a look at Tauri's codebase, they have .MSI packaging working (with extra customization steps that you could discard), linking rust code properly, and working through cross compilation. |
c01c6b3 to
14f4d51
Compare
14f4d51 to
4821cd1
Compare
No description provided.