gitui-org / gitui-org/gitui

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

Aperta
#2,437 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
feature-request windows
Lingua principale
Rust
Stelle
22.5k
Fork
773
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**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](https://github.com/volks73/cargo-wix/issues/297), I propose to switch to Innosetup and [its github action](https://github.com/marketplace/actions/inno-setup-action).
This will create a .exe installer, that [can handle both admin and non-admin installs](https://jrsoftware.org/ishelp/index.php?topic=admininstallmode).

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.