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

[feat] Add NSIS support #4450

Closed
sFireFrog opened this issue Jun 23, 2022 · 3 comments
Closed

[feat] Add NSIS support #4450

sFireFrog opened this issue Jun 23, 2022 · 3 comments
Assignees
Labels

Comments

@sFireFrog
Copy link

Describe the problem

Wix toolset, a bit difficult to use, ugly interface, maybe I'm not using it properly.

Describe the solution you'd like

Can you provide more packaged installation tools? such as NSIS,Squirrel.Windows

Alternatives considered

No response

Additional context

No response

@lucasfernog
Copy link
Member

NSIS will be investigated in the future. Currently you'll have to get along with Wix :) at least you don't have to write the XML directly :D

@lucasfernog lucasfernog changed the title [feat] Building [feat] Add NSIS support Jun 29, 2022
@amrbashir amrbashir self-assigned this Jul 4, 2022
@amrbashir amrbashir added status: in progress Implementation is proceeding smoothly platform: Windows labels Jul 4, 2022
@seahindeniz
Copy link

seahindeniz commented Dec 11, 2022

I'm assuming this will affect this documentation as well
https://tauri.app/v1/guides/building/windows/#replacing-the-installer-code-with-a-custom-wix-file


@amrbashir I'm not familiar with NSIS nor how the implementation and configuration will be. Do you think it would be possible to add options to the installer to install the app for current user only or all users option?
Some apps may need to restrict the installation for current user only on Windows too (I personally interested in this)

Something like this, perhaps
image

However, I'm not sure about the installation path for the current user. I'm assuming if it's possible, it'll install the app on AppData directory, where we can also use AppData/Roaming for sharing resources. Installing the app on the same directory or AppData/Local could also work I guess.

Found this links
https://nsis.sourceforge.io/Docs/MultiUser/Readme.html
http://nsis-dev.github.io/NSIS-Forums/html/t-254878.html

@amrbashir
Copy link
Member

amrbashir commented Dec 11, 2022

@seahindeniz In the linked PR, I have implemented an option in tauri.conf.json that determines whether your installer will be built to be installed system-wide or for current userbut not both at the same time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants