Jump to content

A2 (a-squared) silent install


mrF1xIT

Recommended Posts

The installer uses Inno Setup, and using the command below installs silently, but at the end the installer launchs "A2 Updater" to ask for my registration.

REG ADD %KEY%\070 /VE /D "A-Squared Trojan Scanner" /f
REG ADD %KEY%\070 /V 1 /D "%systemdrive%\install\asquared\a2freesetup.exe /VERYSILENT" /f
REG ADD %KEY%\070 /V 2 /D "pskill a2upd.exe" /f

I tried adding the pskill, but then realized the installer is still running when it launches a2upd.exe, so it wont move on to the next line to run pskill.

Any ideas? i'd really appreciate it.

Link to comment
Share on other sites


hi

REG ADD %KEY%\070 /V 1 /D "%systemdrive%\install\asquared\a2freesetup.exe /VERYSILENT" /f

REG ADD %KEY%\070 /V 1 /D "pskill a2upd.exe" /f

or, u could try the switch /VERYSILENT /SP-

:)

Link to comment
Share on other sites

Thanks for the quick reply.

I tried adding that /SP- switch but that didn't do it. I'm just goanna repack the program folder.

Btw, changing that 2 to a 1 would make it overwrite the previous registry value lol.

Link to comment
Share on other sites

:confused:

it should make it go at the same time as the first value

070 = order

i think im right, but someone correct me if im wrong, ive been @ work most of my day & im goin on very lil sleep (heading 2 bed soon)

Link to comment
Share on other sites

  • 2 months later...

EDIT: A-Squared AutoIT Script

; ----------------------------------------------------------------------------

;

; AutoIt Version: 3.0

; Language:    English

; Platform:    Win9x / NT

; Author:      fourte3n

;

; Script Function:

; A-Squared 1.5 Free -  Install

;

; ----------------------------------------------------------------------------

; ----------------------------------------------------------------------------

; Set up our defaults/Variables

; ----------------------------------------------------------------------------

AutoItSetOption("WinTitleMatchMode", 1)

$SF= "a2freesetup.exe"

; ----------------------------------------------------------------------------

; Script Start

; ----------------------------------------------------------------------------

Run($SF)

WinWaitActive ("Select Setup Language")

Send ("{ENTER}")

WinWaitActive ("Setup - a-squared free")

Send ("!N")

WinWaitActive ("Setup - a-squared free")

Send("{TAB}" & "{UP}" & "{ENTER}")

WinWaitActive ("Setup - a-squared free")

Send ("{ENTER}")

WinWaitActive ("Setup - a-squared free")

Send ("{ENTER}")

WinWaitActive ("Setup - a-squared free")

Send ("{SPACE}" & "{TAB}" & "{SPACE}" & "{TAB}" & "{SPACE}" & "{ENTER}")

WinWaitActive ("Setup - a-squared free")

Send ("{ENTER}")

WinWaitActive ("a² Updater")

WinKill("a² Updater", "")

WinWaitActive ("Setup - a-squared free")

Send ("{ENTER}")

; ----------------------------------------------------------------------------

; Script End

; ----------------------------------------------------------------------------

Hope it helps you all.

Link to comment
Share on other sites

  • 1 year later...

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.
×
×
  • Create New...