Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

the guide of "Using autoit for silent install"

- - - - -

  • Please log in to reply
35 replies to this topic

#26
Plamdi

Plamdi

    Junior

  • Member
  • Pip
  • 82 posts

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.


How to remove advertisement from MSFN

#27
Core3Trio

Core3Trio
  • Member
  • 2 posts
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

#28
dottbin

dottbin
  • Member
  • 7 posts
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

#29
chyronn

chyronn

    Still A Noob

  • Member
  • Pip
  • 90 posts
you need to make sure the "Record Window Text" option is ticked and "Record Mouse" is unticked

#30
dottbin

dottbin
  • Member
  • 7 posts
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

#31
simurqq

simurqq

    Newbie

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

#32
chaoticyeshua

chaoticyeshua

    Junior

  • Member
  • Pip
  • 72 posts
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, 20 February 2009 - 02:54 PM.


#33
jamesbebby

jamesbebby

    Member

  • Member
  • PipPip
  • 176 posts
hi, whats the second progarm link not workin?
cheers james :thumbup

#34
dcduque

dcduque
  • Member
  • 2 posts
  • OS:Windows 7 x64
  • Country: Country Flag
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.

#35
dcduque

dcduque
  • Member
  • 2 posts
  • OS:Windows 7 x64
  • Country: Country Flag

hi, whats the second progarm link not workin?
cheers james :thumbup


Also had the same confusion, I downloaded the program from here: http://www.autoitscript.com/cgi-bin/getfile.pl?../autoit3/scite/download/SciTE4AutoIt3.exe

#36
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Super Moderator
  • 9,812 posts
  • OS:Server 2012
  • Country: Country Flag

Donator

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.
MSFN RULES | GimageX HTA for PE 3-5 | lol probloms
msfn2_zpsc37c7153.jpg




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN