I noticed it long ago but always forgot to report
when you update the game, the UAC window appears asking for admin permission (I'm unable to capture the screen, but it's executing something like "stage 2" and "instruction.json") even if factorio is installed in a user writable folder(not in "program files" or similar)
[0.10.x] admin permission required during update
[0.10.x] admin permission required during update
Do you need help taking screenshots in-game? have a look to my guide to calculate screenshot dimensions
-
- Long Handed Inserter
- Posts: 92
- Joined: Mon Aug 11, 2014 5:22 am
- Contact:
Re: [0.10.x] admin permission required during update
I would argue this is notabug. The Windows NT lineage (including XP, Vista, 7, 8, et al) is an inherently multi-user system, and part of its design philosophy is that something that affects other users should require elevated privileges. The current design assumption is that Factorio is installed someplace system-global, and therefore an update would indeed affect other users.
Would make sense to put in a suggestion to check whether the game is installed underneath the user's profile (easy: check whether the install directory begins with %USERPROFILE%), and if it is, don't attempt to elevate. But seeing as you should only be playing games on personal systems, and you definitely should have elevated privileges on your own machines, it's a non-issue.
Would make sense to put in a suggestion to check whether the game is installed underneath the user's profile (easy: check whether the install directory begins with %USERPROFILE%), and if it is, don't attempt to elevate. But seeing as you should only be playing games on personal systems, and you definitely should have elevated privileges on your own machines, it's a non-issue.
- SuperSandro2000
- Filter Inserter
- Posts: 741
- Joined: Sun Jan 12, 2014 3:54 am
- Contact:
Re: [0.10.x] admin permission required during update
If I have the exe version installed this behavior is ok but when I install the zip version then iks that onla anoing.
Please call me simply Sandro.
My Main Mods: Sandro's fixes, Expanded Rocket Payloads Touched by an AngelBob and more can be found here
My Main Mods: Sandro's fixes, Expanded Rocket Payloads Touched by an AngelBob and more can be found here
Re: [0.10.x] admin permission required during update
My game has been installed from zip package, in a c:\games directory.
Is there no way to check if elevated privilege is needed before starting the update process (other than checking specific installation path as already suggested)?
Is there no way to check if elevated privilege is needed before starting the update process (other than checking specific installation path as already suggested)?
Do you need help taking screenshots in-game? have a look to my guide to calculate screenshot dimensions
Re: [0.10.x] admin permission required during update
Hello, this have been fixed for 0.11.11 (to be released this week). The zip version shouldn't ask for permission anymore (it should work on the transition 0.11.11 -> 0.11.12)