Comments (9)
It was done like this because it is the easiest way to make NSIS elevate the installer.
- The user will not lose their configuration, since it is not stored in a user-specific location. I agree it is not ideal to run the program elevated, but I'd rather do that than having users become frustrated the first time the app is run because they are trying to drag elevated programs.
- Maybe you are right, maybe I should add it to all users instead. I haven't really thought about this because all my computers only have one user.
I built AltDrag when installing stuff in Program Files
was more common. I agree that it is probably time to revise that and start installing in %APPDATA%
.
Thank you for your input.
from altdrag.
I am perfectly fine with installing to Program Files
, I only mentioned %APPDATA%
as an option where the installer doesn't require elevation at all.
The default for Elevate to administrator privileges
is off, so it seems MORE inconsistent to me that you would have an elevated AltDrag for just the first session ("why could I drag this window before now suddenly I can't?!")
It is possible to operate on administrative windows without running the process as an administrator. It works by installing a system certificate- I don't know the details, but you can look through the source code here:
http://www.autohotkey.com/board/topic/70449-enable-interaction-with-administrative-programs/
And this article is referenced in the above link
https://msdn.microsoft.com/en-us/library/bb756929.aspx
from altdrag.
I have never seen the system certificate thing before, thanks!
from altdrag.
It might not be a viable solution since the formal process seems to involve a yearly payment for a signed cert, but if you are able to implement a self-signed cert for the more technically inclined users (as AHK did), that'd be great too!
I really don't have a problem with AltDrag not working on elevated processes by default, since I rarely have elevated processes running and I understand the technical limitations when I do (and AltDrag incidentally helps me identify programs running as admin when they shouldn't be!). However you decide to proceed with the cert thing, I'll be happy :)
from altdrag.
I built AltDrag when installing stuff in
Program Files
was more common. I agree that it is probably time to revise that and start installing in%APPDATA%
.
Just a note, but this wouldn't really be practical when trying to install system-wide for all users.
from altdrag.
If installing for all users, %ALLUSERSPROFILE%
can be used (or %PROGRAMDATA%
for Windows Vista and newer).
from altdrag.
I hope everyone is happy with the solution I picked: 2679805
Let me know if you have opinions. :)
from altdrag.
This change probably requires an uninstall of the old version first, right?
I'll test it out when I next get the chance
from altdrag.
Yup, I put this note on the upgrade page:
Note: version 1.1 and later defaults to install to the user directory. If you are upgrading from a previous version, then I recommend that you first uninstall and then install from scratch. Otherwise you have to right click the installer and use 'Run as administrator'.
from altdrag.
Related Issues (20)
- Is X or D Input support possible? HOT 9
- Suggestion: Scroll to adjust screen brightness
- Windows 11 start and other ui elements are able to be broken. HOT 2
- Add toggleable option for Alt + Shift window snapping HOT 2
- Instructions for dealing with DPI scaling on Windows 11 HOT 2
- Feature request: Add option to disable centre resizing. HOT 1
- Window movement lags when the window is partially off-screen HOT 2
- Pressing shift causes programs to lose mouse capture HOT 2
- [Feature request] - Hotkeys ? HOT 1
- Does anyone know? HOT 3
- WSL2 Windows only move the display, not the clickable area HOT 3
- Snaps any window HOT 2
- Any updates? HOT 1
- Finnish (fi-FI) HOT 2
- Ability to disable Ctrl screen imprisonment
- Add new functions?
- Link to website in About is invalid HOT 2
- Alt+Drag (probably falsley) detected as Malware on VirusTotal (2/75) HOT 1
- thank you for this project [not an issue] HOT 1
- Windows 23H2v2 conflict with Alt + TAB task switcher HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from altdrag.