Skip to content

Call cargo wix sign in workspace #168

@chaynabors

Description

@chaynabors

Me and my team are using cargo-wix to bundle multiple binaries for Windows. One of the requirements for distribution is that we sign our installer. Since our project exists in a workspace and bundles multiple binaries in the workspace, we build all of our binaries in release mode and run cargo-wix with --no-build enabled and pass -p to it to build everything from a single wix file in the primary crate. This mostly works great!

There doesn't appear to be a way to do the same thing for cargo wix sign. When ran from a workspace it asks to be passed a specific package, but -p doesn't work in this case:

image

The desired behavior for us is for cargo-wix to know which package to sign without passing the path to the msi, and it currently appears that there's no way to run cargo wix sign from a workspace despite the flags I enable or the paths I set. Perhaps I'm missing something?

Thanks in advance

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions