Skip to content

[bug] Signed Windows installer shows program name as autogenerated hash value #3945

@dceddia

Description

@dceddia

Describe the bug

After building an MSI installer for Windows, and signing it, the installer shows a dialog with the app name set to a random-looking value that looks like a hash of some sort.

This SO question matches the problem: https://stackoverflow.com/questions/34357704/how-to-replace-autogenerated-product-name-in-install-dialog (/ht @FabianLars in Discord for that link)

tauri-installer

Reproduction

  1. Create a Tauri project
  2. Set up code signing and build an installer
  3. Run the installer.

Expected behavior

The "Product name" should probably match package.productName from tauri.conf.json.

Platform and versions

yarn run v1.22.18
$ tauri info

Operating System - Windows, version 10.0.18363 X64
Webview2 - 100.0.1185.44
Visual Studio Build Tools:
   - Visual Studio Build Tools 2019

Node.js environment
  Node.js - 16.14.2
  @tauri-apps/cli - 1.0.0-rc.6
  @tauri-apps/api - 1.0.0-rc.3

Global packages
  npm - 8.5.0
  pnpm - Not installed
  yarn - 1.22.18

Rust environment
  rustup - 1.24.3
  rustc - 1.59.0
  cargo - 1.59.0
  toolchain - stable-x86_64-pc-windows-msvc 

App directory structure
/.vscode
/build
/node_modules
/public
/scripts
/src
/src-tauri

App
  tauri - 1.0.0-rc.4
  tauri-build - 1.0.0-rc.4
  tao - 0.6.4
  wry - 0.13.3
  build-type - bundle
  CSP - unset
  distDir - ../build
  devPath - http://localhost:3000/
  framework - Svelte
  bundler - Rollup
Done in 6.53s.

Stack trace

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions