Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] msi installer lost sidecar exe file when install with old version installed (Windows) #3868

Closed
rming opened this issue Apr 7, 2022 · 1 comment

Comments

@rming
Copy link
Contributor

rming commented Apr 7, 2022

Describe the bug

https://streamable.com/k0lc8i
https://streamable.com/ql2x6u

Reproduction

tauri app msi installer with sidecar exe file

  1. install v1 msi
  2. install v2 msi

the sidecar exe file missing

Expected behavior

No response

Platform and versions

Environment
  › OS: Windows 10.0.19044 X64
  › Webview2: 100.0.1185.29
  › MSVC:
      - Visual Studio ???? 2019
  › Node.js: 16.14.0
  › npm: 8.3.1
  › pnpm: Not installed!
  › yarn: 1.22.18
  › rustup: 1.24.3
  › rustc: 1.59.0
  › cargo: 1.59.0
  › Rust toolchain: stable-x86_64-pc-windows-msvc

Packages
  › @tauri-apps/cli [NPM]: 1.0.0-rc.7
  › @tauri-apps/api [NPM]: 1.0.0-rc.2
  › tauri [RUST]: 1.0.0-rc.6,
  › tauri-build [RUST]: 1.0.0-rc.5,
  › tao [RUST]: 0.7.0,
  › wry [RUST]: 0.14.0,

App
  › build-type: bundle
  › CSP: script-src 'unsafe-eval' 'self' https://*.baimiaoapp.com https://*.cnzz.com; default-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self'; img-src 'self' data: http: https:;
  › distDir: ../dist
  › devPath: http://127.0.0.1:8080/
  › framework: Vue.js (Vue CLI)
  › bundler: Webpack

App directory structure
  ├─ .git
  ├─ .github
  ├─ dist
  ├─ node_modules
  ├─ public
  ├─ scripts
  ├─ src
  └─ src-tauri

Stack trace

No response

Additional context

No response

@rming rming added the type: bug label Apr 7, 2022
@rming rming changed the title [bug] msi installer lost sidecar bin file when install with old version installed (Windows) [bug] msi installer lost sidecar exe file when install with old version installed (Windows) Apr 7, 2022
@lucasfernog
Copy link
Member

It's related to the way we're using MajorUpgrade. I couldn't find a way to fix it yet. This is super high priority for v1.

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

No branches or pull requests

3 participants