Repository: tauri
Issue: [bug] "copyright" parameter makes nsis build fail
Labels: type: bug,status: needs triage

### Describe the bug

In the wsl environment on Windows, create a new application through `pnpm create tauri-app`. At this time, running `pnpm tauri build --runner cargo-xwin --target x86_64-pc-windows-msvc` will successfully build tauri-app_0.1.0_x64-setup.exe. However, if `"copyright": "Copyright © 2020-present, xxx"` is added to tauri.conf.json, the build will fail.

### Reproduction

Just run a new tauri 2 project in Linux, add `"copyright": "Copyright © 2020-present, xxx"` in tauri.conf.json, and use `pnpm tauri build --runner cargo-xwin --target x86_64-pc-windows-msvc` to build
```
{
  "$schema": "https://schema.tauri.app/config/2",
  "productName": "tauri-app",
  "version": "0.1.0",
  "identifier": "com.tauri-app.app",
  "build": {
    "beforeDevCommand": "pnpm dev",
    "devUrl": "http://localhost:1420",
    "beforeBuildCommand": "pnpm build",
    "frontendDist": "../dist"
  },
  "app": {
    "windows": [
      {
        "title": "tauri-app",
        "width": 800,
        "height": 600
      }
    ],
    "security": {
      "csp": null
    }
  },
  "bundle": {
    "active": true,
    "targets": "all",
    "icon": [
      "icons/32x32.png",
      "icons/128x128.png",
      "icons/128x128@2x.png",
      "icons/icon.icns",
      "icons/icon.ico"
    ],
    "copyright": "Copyright © 2020-present, xxx"
  }
}

```

### Expected behavior

Error failed to build app: failed to build app

### Full `tauri info` output

```text
[✔] Environment
    - OS: Ubuntu 24.4.0 x86_64 (X64)
    ✔ webkit2gtk-4.1: 2.46.4
    ✔ rsvg2: 2.58.0
    ✔ rustc: 1.81.0 (eeb90cda1 2024-09-04)
    ✔ cargo: 1.81.0 (2dbb1af80 2024-08-20)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-x86_64-unknown-linux-gnu (default)
    - node: 22.12.0
    - pnpm: 10.0.0-beta.2
    - npm: 10.9.0

[-] Packages
    - tauri 🦀: 2.1.1
    - tauri-build 🦀: 2.0.3
    - wry 🦀: 0.47.2
    - tao 🦀: 0.30.8
    - @tauri-apps/api : 2.1.1
    - @tauri-apps/cli : 2.1.0

[-] Plugins

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - framework: Vue.js
    - bundler: Vite
```


### Stack trace

```text
✓ built in 562ms
   Compiling tauri-app v0.1.0 (/root/tauri-app/src-tauri)
error: failed to run custom build command for `tauri-app v0.1.0 (/root/tauri-app/src-tauri)`

Caused by:
  process didn't exit successfully: `/root/tauri-app/src-tauri/target/release/build/tauri-app-d330390941525bce/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed=TAURI_CONFIG
  cargo:rerun-if-changed=tauri.conf.json
  cargo:rustc-check-cfg=cfg(desktop)
  cargo:rustc-cfg=desktop
  cargo:rustc-check-cfg=cfg(mobile)
  cargo:rustc-env=TAURI_ANDROID_PACKAGE_NAME_APP_NAME=app
  cargo:rustc-env=TAURI_ANDROID_PACKAGE_NAME_PREFIX=com_tauri_1app
  cargo:rustc-check-cfg=cfg(dev)
  cargo:PERMISSION_FILES_PATH=/root/tauri-app/src-tauri/target/x86_64-pc-windows-msvc/release/build/tauri-app-3dccacfca14bddf9/out/app-manifest/__app__-permission-files
  cargo:rerun-if-changed=capabilities
  cargo:rustc-env=TAURI_ENV_TARGET_TRIPLE=x86_64-pc-windows-msvc
  package.metadata does not exist
  OPT_LEVEL = Some(3)
  OUT_DIR = Some(/root/tauri-app/src-tauri/target/x86_64-pc-windows-msvc/release/build/tauri-app-3dccacfca14bddf9/out)
  TARGET = Some(x86_64-pc-windows-msvc)
  cargo:rerun-if-env-changed=VCINSTALLDIR
  VCINSTALLDIR = None
  HOST = Some(x86_64-unknown-linux-gnu)
  cargo:rerun-if-env-changed=CC_x86_64-pc-windows-msvc
  CC_x86_64-pc-windows-msvc = None
  cargo:rerun-if-env-changed=CC_x86_64_pc_windows_msvc
  CC_x86_64_pc_windows_msvc = Some(clang-cl)
  cargo:rerun-if-env-changed=CC_KNOWN_WRAPPER_CUSTOM
  CC_KNOWN_WRAPPER_CUSTOM = None
  RUSTC_WRAPPER = None
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  CARGO_CFG_TARGET_FEATURE = Some(cmpxchg16b,fxsr,sse,sse2,sse3)
  DEBUG = Some(false)
  cargo:rerun-if-env-changed=CFLAGS_x86_64-pc-windows-msvc
  CFLAGS_x86_64-pc-windows-msvc = None
  cargo:rerun-if-env-changed=CFLAGS_x86_64_pc_windows_msvc
  CFLAGS_x86_64_pc_windows_msvc = Some(--target=x86_64-pc-windows-msvc -Wno-unused-command-line-argument -fuse-ld=lld-link /imsvc/root/.cache/cargo-xwin/xwin/crt/include /imsvc/root/.cache/cargo-xwin/xwin/sdk/include/ucrt /imsvc/root/.cache/cargo-xwin/xwin/sdk/include/um /imsvc/root/.cache/cargo-xwin/xwin/sdk/include/shared  )
  cargo:rerun-if-env-changed=CC_SHELL_ESCAPED_FLAGS
  CC_SHELL_ESCAPED_FLAGS = None
  CARGO_ENCODED_RUSTFLAGS = Some(-Clinker-flavor=lld-link-Lnative=/root/.cache/cargo-xwin/xwin/crt/lib/x86_64-Lnative=/root/.cache/cargo-xwin/xwin/sdk/lib/um/x86_64-Lnative=/root/.cache/cargo-xwin/xwin/sdk/lib/ucrt/x86_64)
failed to build app: failed to build app
    Error failed to build app: failed to build app
```


### Additional context

_No response_