No shortcut created when installing from a non-admin account on Windows
- Easy Installer version: latest version
- Machine: Windows 10, latest version
Summary
When the Easy Installer is installed from a non-admin account, no shortcut is added (so the user don't know how to launch the Easy Installer).
The problem
Steps to reproduce
Install the Easy Installer from a standard user account (without admin rights).
What is the current behavior?
When installed from a non-admin account, the Easy Installer asks for admin rights. By giving these admin rights, it's like the Easy Installer was installed from the admin account and not from the non-admin account. Until here, no problem.
But since the Easy Installer is set to add a shortcut only for the account that installs the Easy Installer and not for all the users of the laptop, the shortcut is added for the admin account and not for the actual non-admin account. So at the end of the installation, there is no shortcut for the non-admin account.
What is the expected correct behavior?
A shortcut should be created no matter the kind of account (admin or non-admin).
user feedback
Timestamp: 2021-06-24 19:11:22
Device model: GS290, GS290
OS name: Windows 10
Easy-Installer version: v0.12.3-beta
Feelings: happy
Comment: Installation didn't create an entry in Windows 10 Start Menu
Solutions
Workaround
Logout from the non-admin account and use the Easy Installer in the admin account, where the shortcuts are.
Possible fixes
The solution is to configure the Easy installer to add the shortcuts system wide and not user only.
This can be easily done by changing the path where the shortcuts are put, by replacing:
-
C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
by C:\ProgramData\Microsoft\Windows\Start Menu\Programs
By the way, I also recommend to create an Easy Installer directory in order to have 1 folder instead of 2 files in the Start Menu. So the final path should be:
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Easy Installer
Now all users of the laptop will have the Easy Installer folder in the Start Menu.