[bug] CreateStartMenuShortcut or CreateDesktopShortcut in win7 Creation failed #10041
Open
Description
Describe the bug
tauri.config.json "nsis": {
"installMode": "currentUser",
"installerIcon":"icons/icon.ico"
}, Creating shortcut failed in Win7 ,Causing the installation program to crash directly
Reproduction
No response
Expected behavior
No response
Full tauri info
output
> mock_student@0.0.0 tauri
> tauri info
[✔] Environment
- OS: Windows 10.0.22631 X64
✔ WebView2: 125.0.2535.92
✔ MSVC: Visual Studio Community 2019
✔ rustc: 1.76.0 (07dca489a 2024-02-04)
✔ cargo: 1.76.0 (c84b36747 2024-01-18)
✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
- node: 20.11.1
- pnpm: 8.15.4
- npm: 10.2.4
[-] Packages
- tauri [RUST]: 1.5.4
- tauri-build [RUST]: 1.5.1
- wry [RUST]: 0.24.7
- tao [RUST]: 0.16.5
- @tauri-apps/api [NPM]: 1.5.6
- @tauri-apps/cli [NPM]: 1.5.14
[-] App
- build-type: bundle
- CSP: unset
- distDir: ../dist
- devPath: http://localhost:1421/
- framework: Vue.js
- bundler: Vite
Stack trace
No response
Additional context
No response