chrisb wrote: ↑Sat Oct 16, 2021 10:06 pm
- precondition: FreeCAD is installed for a single user as in the post above
- start install as admin
This is possible and lead to two parallel installations that don't interfer with each other, except of the setting which one of the 2 will open the *.FCSTD files.
This feature is useful for users like me who won't use the FC version the admin set up (admin set up FC 0.19 but I work with FC 0.20 dev).
chrisb wrote: ↑Sat Oct 16, 2021 10:06 pm
Flaw1: FreeCAD is now
always shown as a newly installed program. Probably because it was installed for the user
and for all users.
Yes, Windows shows you all recent installed programs, depending in the settings the admin made, also the ones the admin installed.
chrisb wrote: ↑Sat Oct 16, 2021 10:06 pm
Uninstall non admin installation
Flaw2: Even the installation for the current user needs admin rights to be uninstalled.
That is not correct. Only when the admin wants to uninstall the user's installation, he must enter admin credentials. This is clear since only the user who installed a program can uninstall it. The only exception is the admin.
chrisb wrote: ↑Sat Oct 16, 2021 10:06 pm
Switching to admin user doesn't help, because the installation of the non admin user is not shown there.
It is there and as admin you know n what folder you have to look. There are also some tools available for admins showing you local installations.
So again, admins must know what they are doing. We drifting away from FC since this is all Windows stuff, nothing specially related to FC.
chrisb wrote: ↑Sat Oct 16, 2021 10:06 pm
Install as admin for current user (without existance of another install before)
- start install as admin
- question asked if the installation is for all users or only for me. Answer: only for me
- proposed install directory is
c:\Users\<username>\AppData\Local\Programs\FreeCAD 0.19
- if the checkbox to start FreeCAD after install is checked, FreeCAD is started as admin.
Having selected to
install for the current user only, it seems not completely wrong for a not too educated user to expect that in this case FreeCAD is also
run as current user.
Again, Windows is just following your will, and this is good. You decided to install as admin only for the current user. This user is you, so the admin. Such an installation is important for admins to test things out before every user sees something.
chrisb wrote: ↑Sat Oct 16, 2021 10:06 pm
I see two options to improve this:
1) if installed for current user, then run FreeCAD - if so selected - as current user. There is no good reason to run FreeCAD in this case as admin.
But this is only the case, if you installed it only for the admin user. In every case FC is run OPTIONALLY after the installation as the user who installed it. This cannot be changed technically as I explained here a few times.
chrisb wrote: ↑Sat Oct 16, 2021 10:06 pm
2) Tell the user that FreeCAD in this case will be run as admin. This could be done by changing the text of the checkbox.
But in this case he is the admin, installed it for hisself, so of course every program he starts have admin permissions.
chrisb wrote: ↑Sat Oct 16, 2021 10:06 pm
Because it is not completely abstruse to install FreeCAD first for one user and later for all, I would create a minor bug report concerning the uninstall issue described above.
As stated above this is not abstruse but very useful for many users.