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

Make a windows installer and winget package rinnable by non-admins #2437

Open
sanzoghenzo opened this issue Nov 29, 2024 · 2 comments
Open

Comments

@sanzoghenzo
Copy link

Is your feature request related to a problem? Please describe.

Currently it is not possible to install gitui on windows with a regular user.

I suppose that being an admin is not an hard requirement to install this program, and it could be enough to install it to %localappdata%\programs.

Describe the solution you'd like

Since it seems that the cargo-wix, and in general the MSI packages, are not tailored for regular-users installs, I propose to switch to Innosetup and its github action.
This will create a .exe installer, that can handle both admin and non-admin installs.

The winget package definition should then be adapted to use this installer and to add the user scope for non-admin installations

Describe alternatives you've considered

Manually download the windows .tar.gz and put it in a folder in PATH.
I've just done it but it's not the best user experience having to do this manually each time.

Additional context

As I can see from Komac documentation, InnoSetup is supported and should detect the two scopes

@extrawurst
Copy link
Owner

@sanzoghenzo are you willing to work on this? i am not on windows, i could not move this forward myself

@sanzoghenzo
Copy link
Author

I'll try 🤞

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

No branches or pull requests

2 participants