Hi all,
I'm having an issue with Log4OM (and the others), when installing a program as a non-privileged user on Win10. Installer will automatically request privileges escalation (asking for local admin password). When entering password installation begins and all program files are successfully copied to the C:\Program Files (x86) folder. The problem arises when the installer wants to install user data, as they are copied to the admin user's profile (AppData\Roaming) and not the actual user profile I'm using. As far as I was able to recognize, it is SQLite libraries and similar files. Installation will finish successfully, but the program doesn't start and finish with error, covered by the initialization screen. The error message cannot be closed as it is out of focus.
Thank you for comments, Marian OK1SMN
Installation issue with non-priviledged user
- G4POP
- Log4OM Alpha Team
- Posts: 11569
- Joined: 21 Jan 2013, 14:55
- Location: Burnham on Crouch, Essex UK
Re: Installation issue with non-priviledged user
Have you tried right clicking on the Log4OM install file and selecting 'Run as an administrator'?
Have you set the PC UAC to the lowest setting?
Have you set the PC UAC to the lowest setting?
73 Terry G4POP
Re: Installation issue with non-priviledged user
>Have you tried right clicking on the Log4OM install file and selecting 'Run as an administrator'?
Thank you for reply. This problem is exactly when run as admin user (user with admin privileges), this is requested by default by the app.
>Have you set the PC UAC to the lowest setting?
My user I'm using has normal user privileges for security reasons.
Here is what I have my user configured I think the solution is to let user choose destination folder of user data during installation. I can manually change destination folder in oder to user my standard user folder, where my user has read/write permissions.
Thank you for reply. This problem is exactly when run as admin user (user with admin privileges), this is requested by default by the app.
>Have you set the PC UAC to the lowest setting?
My user I'm using has normal user privileges for security reasons.
Here is what I have my user configured I think the solution is to let user choose destination folder of user data during installation. I can manually change destination folder in oder to user my standard user folder, where my user has read/write permissions.
Re: Installation issue with non-priviledged user
Just for you to know, I got this working. I simply copied all files from privileged user folder C:\Users\<priviledged_user>\AppData\Roaming\Log4OM2 to user's folder C:\Users\<non-priviledged-user>\AppData\Roaming\Log4OM2
Thank you Marian
Thank you Marian
Re: Installation issue with non-priviledged user
Many thanks for this solution Marian. I had the same issue when running instalator of Log4OM as unprivileged user. Installation itself went well (of course asking for admin credentials to run), but then - after successful installation - program reported the same error during startup as in your case and it was not possible to perform initial configuration (enter call sign, location, etc.). Solution was to run the program as administrator, which is ridiculous as we use unprivileged accounts to avoid exactly that. Thus I’m very happy that I found your post, which solved the problem once and for all.
I was just wondering if this could be corrected in the installer. Seems like the installer is having split-brain, and thus installing some files in user home directory and some in admin home directory. I reckon this is because installer asks for elevated rights to install the program, but other programs do the same and somehow manage to put all required files in the proper directory.
I was just wondering if this could be corrected in the installer. Seems like the installer is having split-brain, and thus installing some files in user home directory and some in admin home directory. I reckon this is because installer asks for elevated rights to install the program, but other programs do the same and somehow manage to put all required files in the proper directory.
73 Mike SP5MTD
Re: Installation issue with non-priviledged user
I have just upgraded to version 2.35.1.0 and noticed, that installer again put some files into \Users\admin\AppData\Roaming\Log4OM, instead of \Users\user\AppData\Roaming\Log4OM, where user is the one initiating installation. I guess the installer is using the same procedure for first time install and upgrade.
Are this files important for the upgrade? If yes, which files shall I exclude from copy to unprivileged user directory to avoid any loss in my config?
Are this files important for the upgrade? If yes, which files shall I exclude from copy to unprivileged user directory to avoid any loss in my config?
Last edited by SP5MTD on 18 Feb 2025, 11:03, edited 1 time in total.
73 Mike SP5MTD
- G4POP
- Log4OM Alpha Team
- Posts: 11569
- Joined: 21 Jan 2013, 14:55
- Location: Burnham on Crouch, Essex UK
Re: Installation issue with non-priviledged user
Lele is aware and currently checking this
73 Terry G4POP