Es posible algo asi? / Is something like this possible? - Forum

Forum Navigation
You need to log in to create posts and topics.

Es posible algo asi? / Is something like this possible?

@gaev, @vadim, @mishem, @cn_iceman

Ante todo aprovecho este post para desearles a todos y cada uno de los integrantes de este sitio unas muy FELICES NAVIDADES y mejor año nuevo por comenzar, que todas las metas y objetivos trazadas se cumplan en esta nueva etapa....

Esta pregunta es desde mi ignorancia...

Se puede establecer dentro de una app compilada que al ejecutar unas determinadas acciones estas se realicen con permiso de administrador?

lo que intento es que desde la misma aplicación este guion tenga permiso de ejecución de administrador hay alguna forma???

Setvar "[estado]" "ACTIVANDO... AGUARDE!"
FileErase "!C:\Program Files (x86)\Whatxxx\Whatxxx.exe"
DownloadFile "https://reg.xxx.com/Whatxxx.exe" "!C:\Program Files (x86)\Whatxxx\Whatxxx.exe" "HideProgress"
FileErase "!C:\Program Files (x86)\Whatxxx\Languages\Español.json"
DownloadFile "https://reg.xxx.com/Español.json" "!C:\Program Files (x86)\Whatxxx\Languages\Español.json" "HideProgress"
Setvar "[estado]" "LICENCIA ACTIVADA - REINICIE EL PROGRAMA!"
ShowObject "avisolicencia" "None" "0"
Delay "1500"
Exit "Whatxxx" "Muchas gracias por elegirnos!|Visita regularmente nuestro sitio Web| --------- http://www.xxx.com ---------"

 

ENGLISH

First of all, I take advantage of this post to wish each and every member of this site a very MERRY CHRISTMAS and a better new year to begin, that all the goals and objectives set are met in this new stage....

This question is from my ignorance...

Can it be established within a compiled app that when executing certain actions, they are performed with administrator permission?

What I am trying to do is that from the same application this script has administrator execution permission. Is there any way???

 

Setvar "[estado]" "ACTIVANDO... AGUARDE!"
FileErase "!C:\Program Files (x86)\Whatxxx\Whatxxx.exe"
DownloadFile "https://reg.xxx.com/Whatxxx.exe" "!C:\Program Files (x86)\Whatxxx\Whatxxx.exe" "HideProgress"
FileErase "!C:\Program Files (x86)\Whatxxx\Languages\Español.json"
DownloadFile "https://reg.xxx.com/Español.json" "!C:\Program Files (x86)\Whatxxx\Languages\Español.json" "HideProgress"
Setvar "[estado]" "LICENCIA ACTIVADA - REINICIE EL PROGRAMA!"
ShowObject "avisolicencia" "None" "0"
Delay "1500"
Exit "Whatxxx" "Muchas gracias por elegirnos!|Visita regularmente nuestro sitio Web| --------- http://www.xxx.com ---------"

 

@joferar333

Project>Project Properties>General>Version>Require Administrator

Thanks @mishem

Super!!!!!

Best Regards