-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MSI Installer Created Shortcut Run As Admin Issue #82
Comments
Yeah I think that's some sort of issue with how I'm telling the installer to create that shortcut. I'll have to look into what odd options Windows has when you create those. The admin bit is only needed if you want to use hidguardian and while it's a bit inconvenient I found this the simplest way in the short term to interface with it. Though as there are quite a few changes happening with hidguardian and it's assorted helpers I'm expecting this to change in the future. So when I redo it it won't require admin rights anymore. |
It would be nice also if the JGremlin didn't create a new icon on my desktop everytime I start it. (I've already moved the icon where I want it, but JGremlin always create a new one on my desktop). Annoying. EDIT: Solved by creating a new shortcut instead of using the original created by the installer. |
Was it the installer creating a new icon or launching Gremlin itself that did that. If it's the installer then there might not be a way for me to check for the existence of that but you shouldn't need to launch the installer all the time. If it's the Gremlin program itself then I'm confused as I've never made it create shortcuts of any kind. |
The icon created by installer was doing this. It must be a "feature" implemented by the installer: |
Due to the integration with HiDGuardian I noticed that I know need to run JoystickGremlin as Administrator so that it can make the necessary registry changes. This is when I noticed that the shortcut that the installer creates in the start menu / desktop cannot be right clicked and run as administrator. Neither can you check the option in it's properties to force run as administrator (it's greyed out).
When Looking at the shortcut I noticed that it does not point to the exe for joystick gremlin directly which may be the problem.
In contrast here is a shortcut created manually by right clicking the exe and selecting create shortcut.
I tested a few different versions of windows 10 and some can right click the start menu shortcut and run as admin while the latest version of windows cannot. However they all had the same issue with the Run As Administrator properties option.
The text was updated successfully, but these errors were encountered: