IPB

Google Frontpage Forums Unattended CD/DVD Guide

> Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules

 
Reply to this topicStart new topic
> How to install Ad-Aware 7.1.0.10 unattended Complete
ZiCruz
post Jul 31 2008, 09:32 AM
Post #1





Group: Members
Posts: 2
Joined: 31-July 08
Member No.: 203266
OS: none
Country Flag


Hi,

I'm traing to intall Ad-Aware 7.1.0.10 in unattended mode with the parameter /PASIVE but is not complety unattended because start the intalation asked the language, the rest is unattended.

How to specific the languate that I want to install ??

Tanks,
Go to the top of the page
 
+Quote Post
Tatsh
post Jul 31 2008, 10:11 PM
Post #2





Group: Members
Posts: 4
Joined: 11-March 06
Member No.: 90498
Country Flag


I've been trying to do the same thing. For the previous version I was using an AutoIt script that was simply wait for the window and hit Enter, but that did not work with this new version.

Discovered today though: Empty all your %TEMP% directories. Run the setup programme like normal, but let it get to the point where you are about to click Next. Do not pass it any switches. Now go into all your %TEMP% directories and find an MSI. Mine was named dfc61.msi. Now you may execute like this: msiexec /i dfc61.msi /qb. The problem is the licensing. The licensing application for Ad-Aware will run immediately after the installation is complete, and what I found was that AutoIt cannot identify any elements of this windows, so only click/mouse functions could possibly skip this part. However, if you kill this programme, AAWLic.exe, then Ad-Aware on first run assumes you clicked 'Use Free'.

You will need to use AutoIt a little bit. First, copy the MSI to %SYSTEMROOT%\system32 because that is where msiexec is, unless you want to code in a batch file a way to give the full-path to the MSI to msiexec. In my case, I'm running it like the following (AutoIt code): Run("msiexec /i dfc61.msi /qb"). AutoIt does not tell msiexec that it's running in somewhere else other than system32 and then is able to change the reference of the MSI file. If the MSI file is always at one point, you can change it in the AutoIt code. Essentially, you need to run this part, then wait for the window of the licensing which is handled by AAWLic.exe, give it Alt+F4 to kill it. Updater now runs, but it will automatically close. Then continue as normal.

CODE
@ECHO OFF
REM Copy MSI file to system32 temporarily
copy /y "dfc61.msi" "%SYTEMROOT%\system32\dfc61.msi"
REM AutoIt executable
"ad-aware-free-installer.exe"
REM Now remove the MSI file
del "%SYTEMROOT%\system32\dfc61.msi"
exit


You can do more of course, but the main thing is getting past that license screen. Here is the AutoIt code:

CODE
Run("msiexec /i ad-aware-2008-7.1.0.8.msi /qb")
WinWaitActive("Product registration")
; Send the Alt+F4 combination
Send("!{F4}")
; Updater now runs, but it closes automatically


I usually remove the desktop shortcuts, and the shortcut to Ad-Watch since it does nothing.

CODE
del "%USERPROFILE%\Desktop\Ad-Aware.lnk"
del "%USERPROFILE%\Desktop\Ad-Watch.lnk"
del "%USERPROFILE%\Start Menu\Programs\Lavasoft\Ad-Aware\Ad-Watch.lnk"


Hope this helps. I've tested this several times on a VM, seems to work pretty good. Yes, the updater sucks in that it has a time out of 10 seconds to wait, but this is negligible to me. I will have this tested on a real machine by tomorrow for sure.
Go to the top of the page
 
+Quote Post
ricktendo64
post Jul 31 2008, 10:27 PM
Post #3


Group: Banned Members
*******

Group: Members
Posts: 1530
Joined: 6-June 06
From: Honduras
Member No.: 98200
OS: Vista Ultimate x86
Country Flag


You can use a MSI editor and create a MST file that will stop it from launching after install

You can also do a admin install of the MSI and add any updates to it too
Go to the top of the page
 
+Quote Post
Tatsh
post Aug 1 2008, 07:19 AM
Post #4





Group: Members
Posts: 4
Joined: 11-March 06
Member No.: 90498
Country Flag


I tried to modify the MSI to skip the action of the licensing and the updating but then it does not validate properly. Msiexec finds it as a non-valid package. Tried modifying with Orca. Surprisingly, Orca does show that default action of closing out the license screen or saying 'No' even though no such button exists (again it's a very custom window) automatically sets Ad-Aware into free mode.
Go to the top of the page
 
+Quote Post
ZiCruz
post Aug 3 2008, 02:12 AM
Post #5





Group: Members
Posts: 2
Joined: 31-July 08
Member No.: 203266
OS: none
Country Flag


Thanks Tatsh,

I've used the next AutoIt Script,

CODE
; INICIO
; Ejecuta el instador en modo pasivo
Run("Ad-Aware_2008-v7.1.0.10.exe /Passive")

; Espera a que aparezca la ventana de selección del lenguaje.
WinWaitActive("Ad-Aware")
; Selecciona el último lenguaje de la lista, el español.
Send("{END}")
Send("{ENTER}")

; Espera a que aparezca la ventana del registro de la aplicación.
WinWaitActive("Product registration")
; Cierra la ventana del registro de la aplicación con Alt+F4.
Send("!{F4}")

; Despues de cerrarse la ventana de actualización
WinWaitClose("Lavasoft Update Manager 7.1.0.2")
; Se copia el archivo de licencias
FileCopy("lavalicense.dll", "C:\Archivos de programa\Lavasoft\Ad-Aware", 1)
; FIN


QUOTE (Tatsh @ Aug 1 2008, 06:11 AM) *
I've been trying to do the same thing. For the previous version I was using an AutoIt script that was simply wait for the window and hit Enter, but that did not work with this new version.

Discovered today though: Empty all your %TEMP% directories. Run the setup programme like normal, but let it get to the point where you are about to click Next. Do not pass it any switches. Now go into all your %TEMP% directories and find an MSI. Mine was named dfc61.msi. Now you may execute like this: msiexec /i dfc61.msi /qb. The problem is the licensing. The licensing application for Ad-Aware will run immediately after the installation is complete, and what I found was that AutoIt cannot identify any elements of this windows, so only click/mouse functions could possibly skip this part. However, if you kill this programme, AAWLic.exe, then Ad-Aware on first run assumes you clicked 'Use Free'.

You will need to use AutoIt a little bit. First, copy the MSI to %SYSTEMROOT%\system32 because that is where msiexec is, unless you want to code in a batch file a way to give the full-path to the MSI to msiexec. In my case, I'm running it like the following (AutoIt code): Run("msiexec /i dfc61.msi /qb"). AutoIt does not tell msiexec that it's running in somewhere else other than system32 and then is able to change the reference of the MSI file. If the MSI file is always at one point, you can change it in the AutoIt code. Essentially, you need to run this part, then wait for the window of the licensing which is handled by AAWLic.exe, give it Alt+F4 to kill it. Updater now runs, but it will automatically close. Then continue as normal.

CODE
@ECHO OFF
REM Copy MSI file to system32 temporarily
copy /y "dfc61.msi" "%SYTEMROOT%\system32\dfc61.msi"
REM AutoIt executable
"ad-aware-free-installer.exe"
REM Now remove the MSI file
del "%SYTEMROOT%\system32\dfc61.msi"
exit


You can do more of course, but the main thing is getting past that license screen. Here is the AutoIt code:

CODE
Run("msiexec /i ad-aware-2008-7.1.0.8.msi /qb")
WinWaitActive("Product registration")
; Send the Alt+F4 combination
Send("!{F4}")
; Updater now runs, but it closes automatically


I usually remove the desktop shortcuts, and the shortcut to Ad-Watch since it does nothing.

CODE
del "%USERPROFILE%\Desktop\Ad-Aware.lnk"
del "%USERPROFILE%\Desktop\Ad-Watch.lnk"
del "%USERPROFILE%\Start Menu\Programs\Lavasoft\Ad-Aware\Ad-Watch.lnk"


Hope this helps. I've tested this several times on a VM, seems to work pretty good. Yes, the updater sucks in that it has a time out of 10 seconds to wait, but this is negligible to me. I will have this tested on a real machine by tomorrow for sure.

Go to the top of the page
 
+Quote Post
jgut
post Aug 6 2008, 08:53 AM
Post #6


Newbie


Group: Members
Posts: 22
Joined: 24-March 04
Member No.: 16547
OS: XP Pro x86
Country Flag


I found this link which is quite helpful for silently installing AAW 7.1.0.10. Even though it refers to an earlier version it still works for 7.1. Hope this helps. thumbup.gif

http://www.wincert.net/forum/index.php?sho...aded&start=
Go to the top of the page
 
+Quote Post

Google Frontpage Forums Unattended CD/DVD Guide

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 8th January 2009 - 12:52 AM
All trademarks mentioned on this page are the property of their respective owners
MSFN is not affiliated with Microsoft
Copyright © 2001-2008 msfn.org
Privacy Policy