Skip to content

Configure NSIS installer for one-click installation #1220

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

j4far
Copy link

@j4far j4far commented May 23, 2025

This change modifies the electron-builder configuration to enable a true one-click installation experience for the Windows NSIS target.

Key changes in electron-builder-config.mjs:

  • Set nsis.oneClick to true.
  • Set nsis.allowToChangeInstallationDirectory to false.

These changes simplify the installation process for non-technical users by eliminating interactive prompts after the initial execution and UAC confirmation. I've documented how to manually verify this behavior.

This change modifies the electron-builder configuration to enable a true one-click installation experience for the Windows NSIS target.

Key changes in `electron-builder-config.mjs`:
- Set `nsis.oneClick` to `true`.
- Set `nsis.allowToChangeInstallationDirectory` to `false`.

These changes simplify the installation process for non-technical users by eliminating interactive prompts after the initial execution and UAC confirmation. I've documented how to manually verify this behavior.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant