xris09 Posted June 16, 2019 Share Posted June 16, 2019 Hello! My name is Cristian and, to be honest, I speak 100% Spanish, so it is difficult for me to seek help. But I will comment .. I'm using Auto-it to "silence" application installations, and what I'm looking for is to minimize the installation, or hide it, while it is being done, so that the user does not interrupt the installation. I will leave 1 simple examples of my code very simple. ---------------------------------------------------------------- Name-Installer: "Mipony-installer.exe" --------------------------------------------------------------- Opt("WinWaitDelay",100) Opt("WinTitleMatchMode",4) Opt("TrayIconHide", 1) dim $txt1 , $txt2 , $txt3 , $txt4 , $txt5 , $txt6 ,$txt7 , $txt8 , $txt9 $txt1 ="Installer Language" $txt2 ="Instalación de MiPony 3.0.4" $txt3 ="" $txt4 ="" $txt5 ="" $txt6 ="" $txt7 ="" $txt8 ="" $txt9 ="" run("Mipony-Installer.exe") WinWait($txt1 ,"Please select a language") If Not WinActive($txt1 ,"Please select a language") Then WinActivate($txt1 ,"Please select a language") WinWaitActive($txt1 ,"Please select a language") ControlClick ($txt1 ,"Please select a language", "Button1") WinWait($txt2 ,"Bienvenido al Asistente") If Not WinActive($txt2 ,"Bienvenido al Asistente") Then WinActivate($txt2 ,"Bienvenido al Asistente") WinWaitActive($txt2 ,"Bienvenido al Asistente") ControlClick ($txt2 ,"Bienvenido al Asistente", "Button2") WinWait($txt2 ,"Acuerdo de licencia") If Not WinActive($txt2 ,"Acuerdo de licencia") Then WinActivate($txt2 ,"Acuerdo de licencia") WinWaitActive($txt2 ,"Acuerdo de licencia") ControlClick ($txt2 ,"Acuerdo de licencia", "Button4") ControlClick ($txt2 ,"Acuerdo de licencia", "Button2") WinWait($txt2 ,"Elegir lugar de instalación") If Not WinActive($txt2 ,"Elegir lugar de instalación") Then WinActivate($txt2 ,"Elegir lugar de instalación") WinWaitActive($txt2 ,"Elegir lugar de instalación") ControlClick ($txt2 ,"Elegir lugar de instalación", "Button2") WinWait($txt2 ,"Completando el Asistente de Instalación de MiPony") If Not WinActive($txt2 ,"Completando el Asistente de Instalación de MiPony") Then WinActivate($txt2 ,"Completando el Asistente de Instalación de MiPony") WinWaitActive($txt2 ,"Completando el Asistente de Instalación de MiPony") ControlClick ($txt2 ,"Completando el Asistente de Instalación de MiPony", "Button4") ControlClick ($txt2 ,"Completando el Asistente de Instalación de MiPony", "Button2") ;Cierra Aplicacion Sleep("200") ProcessClose("Mipony.exe.exe") Exit --------------------------------------------------------------- Note: The installation is perfect, but I would like to hide the installation windows. Regards!! :) Link to comment Share on other sites More sharing options...
Earthshine Posted June 16, 2019 Share Posted June 16, 2019 (edited) Forget hiding it. Not possible. Why are you wanting to hide it? Don’t seem right Edited June 16, 2019 by Earthshine My resources are limited. You must ask the right questions Link to comment Share on other sites More sharing options...
xris09 Posted June 16, 2019 Author Share Posted June 16, 2019 Because with one click, you can stop the entire installation of all applications and cause an error. The facilities I make are through the WPI Assistant. Link to comment Share on other sites More sharing options...
Developers Jos Posted June 16, 2019 Developers Share Posted June 16, 2019 Use the Silent installer which seems to be available? Jos Earthshine 1 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Earthshine Posted June 16, 2019 Share Posted June 16, 2019 Yeah always do silent install when possible My resources are limited. You must ask the right questions Link to comment Share on other sites More sharing options...
xris09 Posted June 16, 2019 Author Share Posted June 16, 2019 Yes! I had tried with all the commands to silence, and I realized that I had to change to CAPS "/ S", so that it would work for me ... Anyway it is very difficult to hide as I mentioned, the installation by au3 ? Link to comment Share on other sites More sharing options...
Developers Jos Posted June 16, 2019 Developers Share Posted June 16, 2019 56 minutes ago, xris09 said: Anyway it is very difficult to hide as I mentioned, the installation by au3 ? That all depends on the installer and how it interacts with the desktop. The easy way to hide it is to run it under different credentials to avoid any interaction with the desktop at all, but the /S(ilent) option is always preferred as there are no exceptions to worry about and it should always finish properly. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
xris09 Posted June 16, 2019 Author Share Posted June 16, 2019 Yes, luckily this program was easy to "auto", however, not everyone can. And I had loved how they "auto" the page "SolidShare Net", they make it so simple. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now