[Spice-devel] how to build usbredirect-x64-0.13.0.msi

Victor Toso victortoso at redhat.com
Thu Apr 6 08:41:47 UTC 2023


Hi,

I'm CC'ing spice-devel mailing list.

On Thu, Apr 06, 2023 at 11:47:29AM +0800, 李皆俊 wrote:
> Hi, l want to build usbredirect-x64-0.13.0.msi in centos8 stream;
> follw the doc https://github.com/freedesktop/spice-usbredir/blob/master/docs/how_to_release.md  
> 
> Generate the MSI installer
> On the usbredir srcdir mkdir build-win64 && cd build-win64
> mingw64-meson
> DESTDIR=./install-root ninja install
> DESTDIR=./install-root ninja data/usbredirect-x64-$version.msi
> The MSI installer is then located at build-win64/data
> 
> when i run DESTDIR=./install-root ninja install is good and
> usbredirect.exe is in tools dir; and then run

...

> DESTDIR=./install-root ninja data/usbredirect-x64-$version.msi
> have some error:[ninja: error: unknown target 'data/usbredirect-x64.msi'];

We used $version in the docs because it changes, so it is a
variable. Try:

    DESTDIR=./install-root ninja data/usbredirect-x64-0.13.0.msi

This process calls msitools binaries and uses its wxi data to
assembly the msi installer.

> so i want some help: how to build usbredirect-x64-0.13.0.msi in centos8 stream
> 
> think you very mach.

Cheers,
Victor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20230406/1eed8ecb/attachment.sig>


More information about the Spice-devel mailing list