Skip to content

Support wizard installer on Windows #30

Closed

Description

@caesay

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

  1. added
    enhancement
    on Feb 14, 2024
  2. Tommo56700 commented on Jul 23, 2024

    @Tommo56700

    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?

  3. remco1271 commented on Jul 23, 2024

    @remco1271
    Contributor

    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

  4. caesay commented on Jul 23, 2024

    @caesay
    MemberAuthor

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

  5. self-assigned this
    on Oct 11, 2024
  6. plumenator commented on Nov 28, 2024

    @plumenator

    Any chance I can contribute here? I'd love to, but I confess would need some pointers to start.

  7. Keboo commented on Nov 28, 2024

    @Keboo
    Member

    Any chance I can contribute here? I'd love to, but I confess would need some pointers to start.

    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).

  8. TSelbonne commented on Feb 6, 2025

    @TSelbonne

    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)))

  9. Anequit commented on Mar 21, 2025

    @Anequit

    Will the --installto argument allow us to install into a subfolder in appdata?

    Something similar to:
    %appdata%/company/Product

  10. pfeigl commented on Apr 11, 2025

    @pfeigl
    Contributor

    This is something we would be very intrested too. The two major usecases for us are

    • Installing into a org based folder structure as @Anequit also asked for
    • Defining custom installation directories while packing the application. This would allow us to have seperate installers for Test / Prod and so on. We are intentionally not working with channels and need to have different installers per environment
  11. Dunge commented on Oct 29, 2025

    @Dunge

    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?

  12. farangkao commented on Oct 30, 2025

    @farangkao

    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?

    @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)

  13. remco1271 commented on Oct 30, 2025

    @remco1271
    Contributor

    #742 @caesay said:

    This is awesome! thanks so much for sending this through. I am in the middle of trying to merge #606 which is a huge PR and is taking much longer than expected, but I'll get to testing / reviewing this straight after.

    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

  14. CyberNilsen commented on Feb 21, 2026

    @CyberNilsen

    How far has the development come on this? regarding a wizard?

  15. Radot1 commented on Feb 22, 2026

    @Radot1

    +1

  16. caesay commented on Feb 22, 2026

    @caesay
    MemberAuthor

    FIxed by #606

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

Metadata

Metadata

Assignees

Labels

enhancementos:windows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions