Repository navigation
Description
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:
- Where to install the application eg. appdata, or program files, or custom user choice
- Custom rtf/html/markdown pages (macos supports welcome, readme, license, conclusion).
- Features: This needs some more thought. Perhaps to start out with we can support Windows Services as a required or optional feature. Later down the line, maybe custom features can invoke an exe with the usual --install hook. The benefit of this hook as a "feature" rather than the regular hook is that this could be run in a privileged context.
Firewall rules(don't think this is in scope for this issue)Where to allow installing shortcuts to, and whether to allow user choice✔ This is now supported in the one-click installer.
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.
Since some people need to deploy msi's via group policies / wsus, we should also endeavor to make this wizard installer emit an .msi.
Activity
Tommo56700 commentedon Jul 23, 2024
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 commentedon Jul 23, 2024
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 commentedon Jul 23, 2024
I am sorry there is no update on this issue yet. Velopack does not support updating in program files yet.
plumenator commentedon Nov 28, 2024
Any chance I can contribute here? I'd love to, but I confess would need some pointers to start.
Keboo commentedon Nov 28, 2024
This is actually something that we are actively working on implementing. If you want to see where we are at, it will likely be a topic discussed on my twitch live stream (starting soon).
TSelbonne commentedon Feb 6, 2025
I was having the same issue, a workaround I have found is to create a shortcut to the setup.exe and add the parameter -t or --installto as per setup.rs
.arg(arg!(-t --installto <DIR> "Installation directory to install the application").required(false).value_parser(value_parser!(PathBuf)))Anequit commentedon Mar 21, 2025
Will the --installto argument allow us to install into a subfolder in appdata?
Something similar to:
%appdata%/company/Productpfeigl commentedon Apr 11, 2025
This is something we would be very intrested too. The two major usecases for us are
Dunge commentedon Oct 29, 2025
Ever since we changed our app distribution method to use VeloPack, we occasionally receive support calls from customers who say they can't use it because it install in the user profiles instead of machine-wide. They mention it being incompatible with central distribution systems like SCCM and MDM (disclaimer: I never used these tools and it's not part of my field of expertise, so I'm not sure what guidance to offer them).
Would this ticket solve this issue simply by changing the installation location?
Is there any plan to move this ticket forward since it seems stalled since a few years?
Is there any workaround method that could be used right now to solve this instead?
farangkao commentedon Oct 30, 2025
@Dunge if velopack hasn't yet adopted that feature one way to distribute the App via Central IT, would be instead of "real Install" , the IT only installs a Shortcut in Startmenu to the executable installer, which then would install the App in User-Space.
Note: i'm working in a big company, we do our own Desktop App with Velopack as well. As the need to install Apps in User-Space is more and more common (not only for Velopack), usually the IT department has a solution for this scenario, it might be not the standard ,but they should have a workaround (like the example i mentioned here)
remco1271 commentedon Oct 30, 2025
#742 @caesay said:
They are busy with making a msi installer now.
Have to note that the installation location is the same as Teams and Discord.
For other locations you may need admin rights that not all users have
CyberNilsen commentedon Feb 21, 2026
How far has the development come on this? regarding a wizard?
Radot1 commentedon Feb 22, 2026
+1
caesay commentedon Feb 22, 2026
FIxed by #606