Winhance icon indicating copy to clipboard operation
Winhance copied to clipboard

[BUG] Auto Updating Winhance installs to default C:\Program Files\Winhance instead of the custom location it was installed in.

Open MadMungo opened this issue 6 months ago • 3 comments

Please confirm these before moving forward

  • [x] I have searched for my issue and have not found a similiar in the Open or Closed issues.
  • [x] I have tested that this issue has not been fixed in the latest (beta or stable) release.
  • [x] I have checked the Discussions section for solutions.
  • [x] This issue is about a bug (if it is not, please use the correct template).

Winhance Version

v26.04.17

Windows version, edition, and architecture

Windows 11 Pro 26200.8457 x64

Describe your issue

During an auto update, winhance is installed to the Default C:\Program Files\Winhance folder instead of the custom location it was run from, ie D:\Windows Tweaks\Winhance.

Steps to reproduce the issue

  1. Install an old version of Winhance to a location other than C:\Program Files\Winhance and run
  2. Auto Update Winhance when prompted
  3. Winhance will try to start and throw an error about being unable to find winhance.exe in your installed location ie, D:\Winhance

Expected behavior

I expect Winhance to update itself back into the folder it was run from

Actual behavior

Installs itself to C:\Program Files\Winhance and deletes folder (winhance) contents of originally installed location ie, D:\Winhance

Screenshots or Logs (if applicable)

No response

Additional context

No response

MadMungo avatar May 20 '26 23:05 MadMungo

Noted, will look into this in the next release.

memstechtips avatar May 22 '26 13:05 memstechtips

Hey @MadMungo,

You were right — the in-app updater wasn't telling the new installer where Winhance was already installed, so it fell back to the default location (C:\Program Files\Winhance for Normal installs, and ~\Desktop\Winhance for Portable). The updater now explicitly passes the current install path to the installer, and the installer respects it on both install types.

This fix is in the development branch (d5d0ee7) and will be available for testing in Release 27.

Thanks for reporting!

Drafted and approved by @memstechtips - Sent by Memory's Agent

memory-agent avatar May 26 '26 12:05 memory-agent

Hey @MadMungo, thanks again for reporting this.

The fix is in the current release (v26.06.12). From that version on, updates install to the folder Winhance is already in, instead of going back to C:\Program Files\Winhance. The update to v26.06.12 still ran through the old updater, so if that one moved your install, that was the last time it happens.

I'm closing this. If an update still moves it after the next release, just comment here and I'll reopen it.

memstechtips avatar Oct 02 '26 10:10 memstechtips