question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[bug] 32 bit windows wix build is broken

See original GitHub issue

Describe the bug

when building for for target stable-i686-pc-windows-msvc using tauri github action this happens:

 info: Verifying wix package
info: Downloading https://github.com/wixtoolset/wix3/releases/download/wix3112rtm/wix311-binaries.zip
info: validating hash
info: extracting WIX
thread '<unnamed>' panicked at 'Unexpected target triple x86-pc-windows-msvc', D:\a\tauri\tauri\tooling\bundler\src\bundle\settings.rs:516:7
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Done in 1233.46s.
Expected artifacts paths:
D:\a\blazing-launcher\blazing-launcher\src-tauri\target\release\bundle\msi\BlazingPackLauncher_1.9.0_x64_en-US.msi
D:\a\blazing-launcher\blazing-launcher\src-tauri\target\release\bundle\msi\BlazingPackLauncher_1.9.0_x64_en-US.msi.zip
D:\a\blazing-launcher\blazing-launcher\src-tauri\target\release\bundle\msi\BlazingPackLauncher_1.9.0_x64_en-US.msi.zip.sig
Error: No artifacts were found.

2 bugs here

  1. wix expects x64 binaries even though it’s a 32 bit build
  2. https://github.com/tauri-apps/tauri/blob/ed71679368845f603680465fdffcc90fe842bb8c/tooling/bundler/src/bundle/settings.rs#L503 this target is not handled properly for some reason

Reproduction

No response

Expected behavior

No response

Platform and versions

❯ tauri info

Operating System - Manjaro, version 21.2.5 X64

Node.js environment
  Node.js - 16.1.0
  @tauri-apps/cli - 1.0.0-rc.5
  @tauri-apps/api - 1.0.0-rc.1

Global packages
  npm - 7.11.2
  pnpm - Not installed
  yarn - 1.22.10

Rust environment
  rustup - 1.24.3
  rustc - 1.59.0
  cargo - 1.59.0
  toolchain - stable-x86_64-unknown-linux-gnu

App directory structure
/src-tauri
/.svelte-kit
/static
/node_modules
/venv
/icons-original
/build
/.github
/russian-assets
/functions
/.git
/heartbreak
/src
/.mypy_cache
/.vscode
/.log

App
  tauri - 1.0.0-rc.4
  tauri-build - 1.0.0-rc.4
  tao - 0.6.2
  wry - 0.13.3
  build-type - bundle
  CSP - default-src blob: source: data: filesystem: ws: http: https: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'
  distDir - ../build
  devPath - http://localhost:3000/
  framework - Svelte

Stack trace

No response

Additional context

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
lucasfernogcommented, Jun 21, 2022

I’ll close this as duplicate of #243, we also need to handle target vs arch for that.

0reactions
lucasfernogcommented, Jun 20, 2022

We need to get the arch from the target instead of just the system.

Read more comments on GitHub >

github_iconTop Results From Across the Web

WiX: Prevent 32-bit installer from running on 64-bit Windows
While the 32-bit installer runs fine on win64, it has the potential to create support headaches and we would like to prevent this...
Read more >
WIX project not working with Team Build - MSDN - Microsoft
When I queue a build, Team Build fails with following error. I did installed WIX 3.5 on my Build Server and Wix2010.targets.dll is...
Read more >
Broken links for resolving "light.exe : error LGHT0217 ... - GitHub
Bug report I am trying to use WiX to build an installer as part of a Gitlab Continuous Integration Pipeline. I am using...
Read more >
Paraffin 3.12: A Bug Fix and Three New Features - Atmosera
After a bit of rest and relaxation, Paraffin, my tool to make managing your Windows Installer XML (WiX) fragments easier makes a surprise...
Read more >
Wix installer not working - Add-in Express .NET forum
Hi, I am using Visual Studio 2019 and trying to figure out why the Wix Installer isn't working on a remote machine.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found