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] infinite update with nsis on windows #8753

Closed
thewh1teagle opened this issue Feb 3, 2024 · 1 comment
Closed

[bug] infinite update with nsis on windows #8753

thewh1teagle opened this issue Feb 3, 2024 · 1 comment
Labels
status: needs triage This issue needs to triage, applied to new issues type: bug

Comments

@thewh1teagle
Copy link
Contributor

thewh1teagle commented Feb 3, 2024

Describe the bug

I made simple repo with guides/distribution/updater
And it works for MacOS - it asks for new update and update,
However, for windows (nsis) it opens dialog and asks for new update and I confirm it
and it doesn't really update the program so it opens again and asks again (and the version doesn't change I display it in main window)
github.com/thewh1teagle/tauri-auto-updater

Reproduction

Download releases/download/v0.0.3/tauri-auto-updater_0.0.3_x64-setup.exe
Then install and confirm the update to see the infinite update dialog

Expected behavior

It should update to version v0.0.4 (if I install manually it update)

Full tauri info output

WARNING: no lock files found, defaulting to npm

[✔] Environment
    - OS: Mac OS 14.2.1 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.75.0 (82e1608df 2023-12-21)
    ✔ cargo: 1.75.0 (1d8b05cdd 2023-11-20)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (environment override by RUSTUP_TOOLCHAIN)
    - node: 18.19.0
    - npm: 10.2.3

[-] Packages
    - tauri [RUST]: 1.5.4
    - tauri-build [RUST]: 1.5.1
    - wry [RUST]: 0.24.7
    - tao [RUST]: 0.16.7
    - tauri-cli [RUST]: 1.5.9
    - @tauri-apps/api : not installed!
    - @tauri-apps/cli [NPM]: 1.5.9

[-] App
    - build-type: bundle
    - CSP: unset
    - distDir: ../src
    - devPath: ../src

Stack trace

No response

Additional context

Everything available at github.com/thewh1teagle/tauri-auto-updater

@thewh1teagle thewh1teagle added status: needs triage This issue needs to triage, applied to new issues type: bug labels Feb 3, 2024
@FabianLars
Copy link
Member

The reason is that your latest.json file points to the .msi installer, not the setup.exe. They don't work interchangibly so i'd recommend to decide on one bundle type (msi or nsis) and disable the other.

@FabianLars FabianLars closed this as not planned Won't fix, can't repro, duplicate, stale Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage This issue needs to triage, applied to new issues type: bug
Projects
None yet
Development

No branches or pull requests

2 participants