+1
Fixed
Automatic updates failed when UAC is enabled
Autoupdater doesn't ask me for admin privileges. You can use this method to do this:
::ShellExecute(0, // owner window
L"runas",
L"C:\\Windows\\Notepad.exe",
0, // params
0, // directory
SW_SHOWNORMAL);
Antwoord
Started
The tweaker assumes to be installed in a folder that doesn't require admin rights - by default, the setup doesn't run as admin and the default setup folder is %appdata%\7+ Taskbar Tweaker.
You can run the setup explicitly as administrator and install the tweaker in, e.g., Program Files - then the auto update won't work.
Updating as administrator is not a solution as it's not required for most users. The only accepted solution might be to check whether the installation path requires admin rights, and only then run the update as administrator. I'll see how doable it is.
You can run the setup explicitly as administrator and install the tweaker in, e.g., Program Files - then the auto update won't work.
Updating as administrator is not a solution as it's not required for most users. The only accepted solution might be to check whether the installation path requires admin rights, and only then run the update as administrator. I'll see how doable it is.
Antwoord
Fixed
Done in v4.1.7.
The tweaker detects whether the setup folder requires admin rights, and runs the update elevated in such case.
Note that installing to a folder which requires admin rights isn't fully supported. In order to install 7TT in such a folder, you must manually run the setup elevated. In order to uninstall it, you must manually run the uninstaller elevated, too. If you forget, it will just quietly half-uninstall.
It would be nice to fix that and make a proper setup which supports Program Files and such, but NSIS is too much PITA for that.
The tweaker detects whether the setup folder requires admin rights, and runs the update elevated in such case.
Note that installing to a folder which requires admin rights isn't fully supported. In order to install 7TT in such a folder, you must manually run the setup elevated. In order to uninstall it, you must manually run the uninstaller elevated, too. If you forget, it will just quietly half-uninstall.
It would be nice to fix that and make a proper setup which supports Program Files and such, but NSIS is too much PITA for that.
Customer support service by UserEcho
The tweaker detects whether the setup folder requires admin rights, and runs the update elevated in such case.
Note that installing to a folder which requires admin rights isn't fully supported. In order to install 7TT in such a folder, you must manually run the setup elevated. In order to uninstall it, you must manually run the uninstaller elevated, too. If you forget, it will just quietly half-uninstall.
It would be nice to fix that and make a proper setup which supports Program Files and such, but NSIS is too much PITA for that.