Open moolight-seashell opened 1 year ago
Can you give an example of the entire bat file, in order for us below a certain paygrade to test it?
the all bat is here
cmd /min /C "set __COMPAT_LAYER=RUNASINVOKER && start "" %1"
i create the bat file the drag an drop any exe on the bat file on the explorer to open the exe with the bat (this set "%1" as the path of the exe)
Ask admin only if necessary,
if i try to install into for example downloads foler i d'ont need admin, and this works if i use this bat to launch the installer :
cmd /min /C "set __COMPAT_LAYER=RUNASINVOKER && start "" %1"
it will be cool if the installer ask admin only when starting the install (at the end of the setup steps ) and only if it's required ( based on the destination path )