Skip to content

#5346 Uninstall older non-velopack viewer#5363

Merged
Geenz merged 2 commits into
project/one-clickfrom
andreyk/velopack_uninstall
Feb 10, 2026
Merged

#5346 Uninstall older non-velopack viewer#5363
Geenz merged 2 commits into
project/one-clickfrom
andreyk/velopack_uninstall

Conversation

@akleshchev

Copy link
Copy Markdown
Contributor

Uninstall older non-velopack viewer if of the same channel
Pull in clear registry change to make uninstall truly silent when possible.

@akleshchev akleshchev marked this pull request as draft February 3, 2026 00:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds functionality to detect and uninstall older NSIS-based viewer installations when a new Velopack-based version is installed. It also enhances the NSIS uninstaller with silent operation capabilities through new command-line flags.

Changes:

  • Adds detection of NSIS-based installations and prompts users to uninstall them during fresh Velopack installs
  • Introduces /clearreg and /clrusrfiles flags to the NSIS uninstaller for silent operation
  • Adds registry entries for help and support URLs in the Velopack installer

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 11 comments.

Show a summary per file
File Description
indra/newview/skins/default/xui/en/notifications.xml Adds user notification for prompting NSIS uninstallation
indra/newview/llvelopack.h Declares namespace variable and function for NSIS detection
indra/newview/llvelopack.cpp Implements NSIS uninstaller detection and adds support URLs to registry
indra/newview/llstartup.cpp Integrates NSIS uninstall prompt into startup flow
indra/newview/installers/windows/installer_template.nsi Adds silent uninstall command-line options
indra/cmake/CMakeLists.txt Adds Velopack.cmake to build configuration

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread indra/newview/llvelopack.cpp Outdated
Comment thread indra/newview/llvelopack.cpp
Comment thread indra/newview/skins/default/xui/en/notifications.xml Outdated
Comment thread indra/newview/llvelopack.h Outdated
Comment thread indra/newview/installers/windows/installer_template.nsi
Comment thread indra/newview/llstartup.cpp Outdated
Comment thread indra/newview/llvelopack.cpp Outdated
Comment thread indra/newview/llvelopack.cpp
Comment thread indra/newview/llvelopack.cpp Outdated
Comment thread indra/newview/llvelopack.cpp Outdated
@akleshchev akleshchev force-pushed the andreyk/velopack_uninstall branch 7 times, most recently from 23b0d7b to ab69410 Compare February 4, 2026 00:56
@akleshchev akleshchev requested a review from Copilot February 4, 2026 00:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 7 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread indra/newview/llvelopack.cpp
Comment thread indra/newview/llstartup.cpp
Comment thread indra/newview/llstartup.cpp Outdated
Comment thread indra/newview/llstartup.cpp Outdated
Comment thread indra/newview/llvelopack.cpp Outdated
Comment thread indra/newview/llvelopack.cpp Outdated
Comment thread indra/newview/llvelopack.cpp Outdated
@akleshchev akleshchev force-pushed the andreyk/velopack_uninstall branch 4 times, most recently from 6d8d324 to d176c24 Compare February 4, 2026 05:02
@akleshchev akleshchev force-pushed the andreyk/velopack_uninstall branch from d176c24 to 34ef3dd Compare February 4, 2026 05:11
@akleshchev akleshchev marked this pull request as ready for review February 4, 2026 06:48
@akleshchev akleshchev requested a review from Geenz February 4, 2026 06:48
@Geenz Geenz merged commit a6b978b into project/one-click Feb 10, 2026
12 checks passed
@Geenz Geenz deleted the andreyk/velopack_uninstall branch February 10, 2026 20:29
@github-actions github-actions Bot locked and limited conversation to collaborators Feb 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants