User account privilege elevation (again) #8029
-
I have an installer that does not run in a Windows/Powershell workflow because the installed wants UAC (i.e. pops up the "Allow changes..." popup if run on a regular Windows command prompt). I found #6557 and this suggested setting the Examples of what I have tried are this:
Anything else I should be doing? I have seen someone question whether the runner needs to be rebooted for the change t take affect - is this even possible? Thanks for any and all suggestions. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
I tried UAC is disabled during image generation: https://github.com/actions/runner-images/blob/main/images/win/scripts/Installers/Initialize-VM.ps1#L28-L31 |
Beta Was this translation helpful? Give feedback.
-
Hey @papadeltasierra. What makes you think that UAC blocks execution? UAC is already disabled in runner so there shouldn't by popup. Is it possible that installer needs something else to be executed in runner (e.g. flags for silent execution)? What software you are trying to install? |
Beta Was this translation helpful? Give feedback.
-
Oh, that's very interesting. I'ts an installer that does have various parameters to stop pop-ups etc but I have set these and tested it locally. But your info implies that maybe there is some other issue that is causing the installer to not run so I'll do a little more playing and try and figure out what is going on. |
Beta Was this translation helpful? Give feedback.
-
Umm, from what I can see, using the call operator is not working. As a test example I tried this:
I see no output at all, implying that the call operator doesn't appear to have run the sort command. |
Beta Was this translation helpful? Give feedback.
-
Success, and thank for your steer. I managed to use this...
|
Beta Was this translation helpful? Give feedback.
Oh, that's very interesting. I'ts an installer that does have various parameters to stop pop-ups etc but I have set these and tested it locally. But your info implies that maybe there is some other issue that is causing the installer to not run so I'll do a little more playing and try and figure out what is going on.
FWIW the installed is from here: http://wiki.telink-semi.cn/wiki/IDE-and-Tools/IDE-for-TLSR8-Chips/
When downloaded and then unzipped, there is an executable in the IDE drive named
TelinkSDKv1.3.1.exe
and that is what I am trying to run.