Skip to content

How do I add DLLs to a package? #271

Description

@nazar-pc

There are #161 and #140, but they are not really that helpful, everyone is so cryptic about how to actually do it that I wasn't able to get it to work after spending hours.

What I have is an app that depends on GTK4. So I copied all DLLs into a separate directory target\gtk4, ran this command to get gtk4.wxs:

heat.exe dir target\gtk4 -gg -sfrag -template:fragment -out target\gtk4\gtk4.wxs -cg GTK -dr GTK

And then did cargo wix --include .\target\gtk4\gtk4.wxs and... nothing happened, meaning no DLLs were included, size of the msi file is the same, zero errors with --nocapture either.

So the question still remains: how do I add DLLs to a package? I'd really appreciate some help since I'm thankfully not dealing with Windows almost at all and unfortunately have no experience with such tools.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions