cargo-bundle icon indicating copy to clipboard operation
cargo-bundle copied to clipboard

[Windows] Error in creating msi bundle

Open rimbi opened this issue 6 years ago • 2 comments

Hi,

I encounter the following error

error: Failed to generate Component table
Caused by: "xxx-xxx-xxx.exe" is not a valid value for column "KeyPath"

Any idea?

Thanks, Cem

rimbi avatar Jul 18 '19 10:07 rimbi

I'm also getting this on master when building an MSI bundle.

$ cargo bundle --target x86_64-pc-windows-msvc --format msi --release
    Finished `release` profile [optimized] target(s) in 0.05s
warning: MSI bundle support is still experimental.
    Bundling x.msi
error: Failed to generate Component table
  Caused by: "x.exe" is not a valid value for column "KeyPath"

poly2it avatar Oct 27 '25 21:10 poly2it

Wait, I think this error occurs because the filename cannot contain a hyphen. @rimbi, can you try without a hyphen in the package name?

poly2it avatar Oct 27 '25 21:10 poly2it