velopack / velopack

Installer and automatic update framework for cross-platform desktop applications
https://velopack.io
MIT License
493 stars 34 forks source link

Support wizard installer on Windows #30

Open caesay opened 7 months ago

caesay commented 7 months ago

The current installer for windows is a one-click installer which has very minimal UI.

It is desirable for some developers to provide an installer which allows the user to customise install location, install optional features, windows services, license acceptance dialogs, and so forth.

On MacOS, the built-in .pkg installer has a lot of this already, so this task would bring windows back up to feature parity with macos. The one-click installer should still be the default, but the solution here would allow a developer to customise the installer further.

Ideally, we will integrate with NSIS or WiX to provide the wizard installer, but since those are very complex tools, we should distil the user experience down to a limited subset of common features and make it very easy to use.

Some possible configuration options:

To support updating installs in privileged folders, the updater also needs to know how to prompt for UAC if we hit an access denied error. To support updating windows services, the updater will need to know how request UAC and to stop/start a service.

Tommo56700 commented 1 month ago

Any updates on this? My company has a strict policy blocking users from running exe’s from AppData to reduce malware risk and prevent users from circumventing admin privileges. So we must install to ProgramFiles. How would the auto update work if this was the case?

remco1271 commented 1 month ago

You could put the portable version in the ProgramFiles and give users write permission to that one folder to allow it to update. Custom location was also requested at #177

caesay commented 1 month ago

I am sorry there is no update on this issue yet. Velopack does not support updating in program files yet.