• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
master_mtz

the guide of "Using autoit for silent install"

36 posts in this topic

I have a question about silent installs maked with Autoit Scite Script Writer.

Is it possible that you don't see the install screen?

No it isn't, the only way to do that is by compleatly rewriting the installation package.
0

Share this post


Link to post
Share on other sites

wow... thanks for the guide.. it looks like not hard for noobs like me..

but,the image in page 1 is already deleted.. could u upload another one,please?

Thanks... :D

0

Share this post


Link to post
Share on other sites

hi mtz,

I need your help :blushing:

when I launched au3record I must flag also 'record mouse' as if I unflag it, after stopping au33record, I obtain only following lines:

Opt("WinWaitDelay",100)

Opt("WinTitleMatchMode",4)

Opt("WinDetectHiddenText",1)

Opt("MouseCoordMode",0)

Run('D:\Sotware indispensabili\WinRAR.v3.71.Regged.Italiano-YAG\WinRAR.v3.71.Regged.Italiano-YAG\wrar371it.exe')

meanwhile if I flag 'record mouse' I obtained all script as follow:

Opt("WinWaitDelay",100)

Opt("WinTitleMatchMode",4)

Opt("WinDetectHiddenText",1)

Opt("MouseCoordMode",0)

Run('D:\Sotware indispensabili\WinRAR.v3.71.Regged.Italiano-YAG\WinRAR.v3.71.Regged.Italiano-YAG\wrar371it.exe')

WinWait("WinRAR 3.71","Copyright © 1993-200")

If Not WinActive("WinRAR 3.71","Copyright © 1993-200") Then WinActivate("WinRAR 3.71","Copyright © 1993-200")

WinWaitActive("WinRAR 3.71","Copyright © 1993-200")

MouseMove(215,381)

MouseDown("left")

MouseUp("left")

WinWait("Configurazione WinRAR","Associa a WinRAR arc")

If Not WinActive("Configurazione WinRAR","Associa a WinRAR arc") Then WinActivate("Configurazione WinRAR","Associa a WinRAR arc")

WinWaitActive("Configurazione WinRAR","Associa a WinRAR arc")

MouseMove(34,95)

MouseDown("left")

MouseUp("left")

MouseMove(30,95)

MouseDown("left")

MouseUp("left")

MouseMove(201,378)

MouseDown("left")

MouseUp("left")

WinWait("Configurazione WinRAR","WinRAR è stato insta")

If Not WinActive("Configurazione WinRAR","WinRAR è stato insta") Then WinActivate("Configurazione WinRAR","WinRAR è stato insta")

WinWaitActive("Configurazione WinRAR","WinRAR è stato insta")

MouseMove(251,389)

MouseDown("left")

MouseUp("left")

WinWait("WinRAR","FolderView")

If Not WinActive("WinRAR","FolderView") Then WinActivate("WinRAR","FolderView")

WinWaitActive("WinRAR","FolderView")

MouseMove(783,14)

MouseDown("left")

MouseUp("left")

where is my mistake?

can you help me?

thank in advanced

dottBin

0

Share this post


Link to post
Share on other sites

you need to make sure the "Record Window Text" option is ticked and "Record Mouse" is unticked

0

Share this post


Link to post
Share on other sites

thanks chyronn for your answer.

Anyway I found my mistake: during installation I used mouse instead of keyboard

now I wolud like to hide installation screen during installation. Any suggestion?

BR,

Gianni

0

Share this post


Link to post
Share on other sites

See above for Plamdi's post. I've personally tried to hide setup windows for countless number of times - no way!!!

0

Share this post


Link to post
Share on other sites

If it's that big of a deal, you could always just move the window off screen using something like this:

WinWait("Title","Text")
WinMove("Title","Text",-1000,-1000)

This way it'll wait for the window to exist, then move it off of the screen where it is no longer visible. It will show for a split second, then be moved.

Edited by chaoticyeshua
0

Share this post


Link to post
Share on other sites

Thank you! It is very useful to me, I already tried it but did not work, I guess there's some information on the images that I can't see, why can't I see the pictures?

Another thing, I am using Windows 7 (x64) it seems to have an incompatibility error with Scite, so I had to install Microsoft Visual C++ 2010 Redistributable Package (x86) and copy msvcr100.dll from C:WindowsSysWOW64 to C:WindowsSystem32 and it worked :) in case anyone has the same problem.

By the way, the error I am having is that the line which executes the installer replaces the actual name of the installer for the name of the script. I would appreciate it if anyone knows what I should do, thanks.

0

Share this post


Link to post
Share on other sites

By the way, the error I am having is that the line which executes the installer replaces the actual name of the installer for the name of the script. I would appreciate it if anyone knows what I should do, thanks.

Post a code snippet.

0

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.