ITADN

Run as admin setting on ROM install

#55Openregorxxx 创建于 2025-10-29
R
regorxxxcommented
Usual setup files do this by theirselves, but scripts and batch files have problems with this. The use case is simple, some games may have up to 20 different setup files for updates, DLCs, etc. (for ex EUIV) Manually installing this or managing so many roms on every update is a nightmare within playnite <img width="500" height="564" alt="Image" src="https://github.com/user-attachments/assets/9ea98e8f-1d88-4082-8aaf-e91f6a67f6f8" /> A simple batch file can install all setups within the same folder in a single step like this (this is for GOG) ``` @echo off PUSHD "%~dp0" for %%a in (*.exe) do ( ECHO Installing %%a... %%a /sp- /verysilent /suppressmsgboxes ) ECHO Done. ``` Such bat file can be added as a rom, and it works fine but since it runs every setup file, an UAC popup is shown for every file, which totally defeats the purpose of silent/batch installation. This is because the bat file itself is run with the same permissions than playnite. In this example I had to click +30 times on such popup, while waiting between them to finish the setup. Not really a great experience. Having a setting to run specific ROMs as admin would greatly help. A single UAC popup would be shown to run the bat file, and then the entire script would be run as admin, thus working as intended. <img width="1188" height="166" alt="Image" src="https://github.com/user-attachments/assets/3f6172b9-ab62-4eb8-a2c6-fed710774706" /> The setting could just be a tick box at the right
1 条评论