August 23, 200422 yr 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" /fREG ADD %KEY%\070 /V 1 /D "%systemdrive%\install\asquared\a2freesetup.exe /VERYSILENT" /fREG ADD %KEY%\070 /V 2 /D "pskill a2upd.exe" /fI 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.
August 23, 200422 yr hiREG ADD %KEY%\070 /V 1 /D "%systemdrive%\install\asquared\a2freesetup.exe /VERYSILENT" /fREG ADD %KEY%\070 /V 1 /D "pskill a2upd.exe" /for, u could try the switch /VERYSILENT /SP-
August 23, 200422 yr Author 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.
August 23, 200422 yr :confused:it should make it go at the same time as the first value070 = 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)
November 16, 200421 yr 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.
Create an account or sign in to comment