MSFN Forum: Avira Setup Creator - for Avira Antivir Personal v10 - MSFN Forum

Jump to content



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
  • 7 Pages +
  • « First
  • 3
  • 4
  • 5
  • 6
  • 7
  • You cannot start a new topic
  • You cannot reply to this topic

Avira Setup Creator - for Avira Antivir Personal v10 Make your own build updated in your language Rate Topic: -----

#81 User is offline   funkwave 

  • Group: Members
  • Posts: 1
  • Joined: 07-December 10
  • OS:XP Pro x86
  • Country: Country Flag

Posted 04 January 2011 - 06:57 PM

Thanks a lot! Just what i needed! ;)

Here you have Spanish Lang:

[Spanish]
BtExec_txt=Comenzar
MenuF_txt01=&Archivo
MenuF_txt02=Crear un nuevo instalador
MenuF_txt03=Salir
MenuC_txt01=&Idioma
MenuC_txt02=Avira
MenuC_txt03=ASC Gui
MenuH_txt01=?
MenuH_txt02=Acerca de ASC
MenuH_txt03=Licencia
MenuH_txt04=Faq
MenuH_txt05=Línea de comandos
Label1_txt=Abajo puedes ir viendo los diferentes pasos del proceso:
step_txt01=¡Pulsa 'Comenzar' para crear un nuevo instalador!
step_txt02=Paso actual: Descargando el instalador de Avira
step_txt03=Paso actual: Extrayendo archivos del instalador de Avira
step_txt04=Paso actual: Descargando las últimas definiciones de virus
step_txt05=Paso actual: Extrayendo las definiciones de virus
step_txt06=Paso actual: Comprimiendo todos los archivos (7z)
step_txt07=Paso actual: Creando un nuevo instalador de Avira...
step_txt08=¡Finalizado! Nuevo instalador creado: Avira.exe
Unp_txt01=Descomprimiendo Avira...
Unp_txt02=Descomprimiendo las últimas definiciones de virus...
Pack_txt01=Comprimiendo todos los nuevos archivos...
Crt_setup_txt=Creando el nuevo instalador de Avira: Avira.exe
av_txt=Descargando Avira...
avdef_txt=Descargando las últimas definiciones de virus...
av_old=ASC - ¿Eliminar o mantener antiguos archivos de instalación de Avira?
av_old02=¿Quieres eliminar los ficheros descargados anteriormente en esta carpeta?
av_old03=Archivo:
av_old04=Archivo de definiciones de virus: vdf_fusebundle.zip
av_old05=Opción recomendada: Sí
av_old06=Nota: el servidor de descargas de Avira a veces 'está caído' o ralentizado.
av_old07=En este caso inténtalo más tarde, o descarga el instalador de Avira manualmente
av_old08=desde otra página web:
chk_dsk_txt=Crear un acceso directo en el escritorio
chk_sm_txt=Crear un acceso directo en el menú de inicio
cfg_title=Avira AntiVir Personal 10 (ES)
cfg_prompt=Esta instalación incluye los archivos de instalación de
cfg_prompt2=.\n¡Pulsa OK para comenzar la instalación!
cfg_extract=Extrayendo archivos, por favor espere...
cfg_cancel=Cancelar
cfg_finish=¡La instalación de Avira ha finalizado!
cfg_help=Parámetro para instalación desatendida con barra de progreso: -y
option=Opciones
Opt_Light=Crear una instalación liviana (Asc Light)
Opt_Light_tips=Ver Faq: ASC Light (elimina algunos archivos originales para reducir el tamaño de Avira.exe)
CheckFileTxt=Comprobar el Servidor de Avira
CheckFileTxt_Tips=¡Comprobar si todos los archivos están disponibles en el servidor de Avira!
BtCheckSrv=Comprobar


This post has been edited by funkwave: 04 January 2011 - 06:59 PM



#82 User is offline   cyberyeye 

  • Member
  • PipPip
  • Group: Members
  • Posts: 141
  • Joined: 19-March 05
  • OS:XP Pro x86
  • Country: Country Flag

Posted 10 January 2011 - 07:56 PM

Many thanks funkwave :thumbup

New build up with Spanish translation, v 1.2.1.9
Download link on the first page as usual !

And...... Happy new year to all msfn members !!!!!

#83 User is offline   cyberyeye 

  • Member
  • PipPip
  • Group: Members
  • Posts: 141
  • Joined: 19-March 05
  • OS:XP Pro x86
  • Country: Country Flag

Posted 03 February 2011 - 08:38 AM

Hi all !

New build
: 1.2.2.0


- Avira Setup is now available in Chinese: zh-cn and zh-tw
- Avira Setup is now available in Korean

ASC can use these new language now ;)
(i'm still looking for ASC translation in: JP, KR, Chinese)

As usual, ASC download link has been updated in the first post from this topic.

Regards, Cyberyeye

#84 User is offline   ZileXa 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 767
  • Joined: 27-May 04

Posted 07 February 2011 - 10:54 AM

What if I just want to install Avira as it is, without using the creator to update or whatever. What is the silent switch?

#85 User is offline   cyberyeye 

  • Member
  • PipPip
  • Group: Members
  • Posts: 141
  • Joined: 19-March 05
  • OS:XP Pro x86
  • Country: Country Flag

Posted 07 February 2011 - 02:49 PM

There is no silent installation switch with official installer from avira personnal edition. Unattended deployement is reserved only for Server & workstation official setup.
But you can use an autoit script for doing a custom and silent installation (for Antivir PE). Of course you will had to build you're own script !

Note: Untested method (below) but it should works (?)

1 Extract Avira installer, eg with 7zip, in a new empty dir: X:\AviraExtracted
2. Install MS Visual Runtime >> vcredist_x86.exe (/qb ;should do a silent install)
3. Install Avira PE using: X:\AviraExtracted\presetup.exe /inf=X:\AviraExtracted\setup.inf
(x = your drive letter, dvdrom or usb pendisk)

Setup.inf

Quote

[DATA]
CopyConfig=0
DesktopIcon=0
DestinationPath=%PROGRAMFILES%
Guard=1
KeyFile=hbedv.key
MailScanner=1
ProgramGroup=0
RestartWindows=0
RootKit=1
ScanMode=0
ShellExtension=1
ShowReadMe=0
ShowRestartMessage=0
Upgrade=0
WebGuard=1

You can get a description of these option (setup.inf) from Avira Antivir Server from avira website: look in their PDF

Good luck !

PS: or you can use ASC ;)

#86 User is offline   ZileXa 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 767
  • Joined: 27-May 04

Posted 07 February 2011 - 04:14 PM

Haha ok you've made your point. ASC is running now :)
Btw, since I am going to install it on Win7 x64, visual c++ runtime should already be installed right? So a light setup would be enough unless I would install on XP.

EDIT: hmm, you are using the modified 7z sfx module from Oleg_Sch? Good choice. But it seems you forgot to add the config.txt file? I cannot find it in the ASC package and when I run the created Avira.exe I get an error about the sfx configuration file could not be found.

This post has been edited by ZileXa: 07 February 2011 - 04:20 PM


#87 User is offline   cyberyeye 

  • Member
  • PipPip
  • Group: Members
  • Posts: 141
  • Joined: 19-March 05
  • OS:XP Pro x86
  • Country: Country Flag

Posted 07 February 2011 - 05:46 PM

Quote

Btw, since I am going to install it on Win7 x64, visual c++ runtime should already be installed right? So a light setup would be enough unless I would install on XP

I'm using XP so I can't say for sure, Avira Antivir 10 PE use this build: 9.0.30729.4148, i don't know if this is include with Seven or... not.

Quote

EDIT: hmm, you are using the modified 7z sfx module from Oleg_Sch? Good choice. But it seems you forgot to add the config.txt file? I cannot find it in the ASC package and when I run the created Avira.exe I get an error about the sfx configuration file could not be found.

Thanks ! I like "Oleg" 7z module a lot too, he's doing a really great work on these module !

Config.txt file is create automatically by ASC (when you start ASC the file is create in the Antivir language to build in ASC) and then config.txt is add in the setup generated by ASC at the final step (avira.exe final executable).
(sourcecode in autoit (au3 format) is freely provided in ../Src sub-directory)

For your bug, i think that you have put Asc, in a directory containing, one or more, space character, eg: C:\Bla bla bla\ASC 1220\Asc.exe
Try to put Asc.exe in a directory containing NO space, eg: c:\Blabla\Asc\Asc.exe
(this is explain in the Faq)

This should resolve you're problem, at least I hope so !

Edit
: Below a screen capture when Asc is started


Posted Image
Config.txt is created automatically in the language choosen in Asc (I mean Antivir language setup to build)
Example if we choose French in Asc > a french config.txt is generated and use by Asc (include in Avira.exe)

Quote

;!@Install@!UTF-8!
Title="Avira AntiVir Personal 10 (FR)"
ExtractTitle="Avira AntiVir Personal 10 (FR)"
BeginPrompt="Cet installeur contient la MAJ du 08.02.2011.\nCliquer sur OK pour commencer l'installation!"
ExtractDialogText="Extraction des fichiers, veuillez patienter..."
ExtractCancelText="Annuler"
RunProgram="\"%%T\\presetup.exe\" /inf=\"%%T\\setup.inf\""
OverwriteMode="0"
GUIFlags="6176"
FinishMessage="Installation de Avira terminer!"
HelpText="Switch pour installation silencieuse avec barre de progression: -y"
;!@InstallEnd@!

If you choose a english, or other language, of course Asc will generate the appropriate language.

This post has been edited by cyberyeye: 07 February 2011 - 06:09 PM


#88 User is offline   ZileXa 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 767
  • Joined: 27-May 04

Posted 07 February 2011 - 05:53 PM

View Postcyberyeye, on 07 February 2011 - 05:46 PM, said:

Quote

Btw, since I am going to install it on Win7 x64, visual c++ runtime should already be installed right? So a light setup would be enough unless I would install on XP

I'm using XP so I can't say for sure, Avira Antivir 10 PE use this build: 9.0.30729.4148, i don't know if this is include with Seven or... not.

Quote

EDIT: hmm, you are using the modified 7z sfx module from Oleg_Sch? Good choice. But it seems you forgot to add the config.txt file? I cannot find it in the ASC package and when I run the created Avira.exe I get an error about the sfx configuration file could not be found.

Thanks ! I like "Oleg" 7z module a lot too, he's doing a really great work on these module !

Config.txt file is create automatically by ASC (when you start ASC the file is create in the Antivir language to build in ASC) and then config.txt is add in the setup generated by ASC at the final step (avira.exe final executable).
(sourcecode in autoit (au3 format) is freely provided in ../Src sub-directory)

For your bug, i think that you have put Asc, in a directory containing, one or more, space character, eg: C:\Bla bla bla\ASC 1220\Asc.exe
Try to put Asc.exe in a directory containing NO space, eg: c:\Blabla\Asc\Asc.exe
(this is explain in the Faq)

This should resolve you're problem, at least I hope so !


Ok to be absolutely sure I extracted the contents of the ASC download to C:\ASC1220 and ran the installer... same result.

but after I rebooted my laptop and tried it again without redownloading everything it worked perfectly!

This post has been edited by ZileXa: 07 February 2011 - 05:54 PM


#89 User is offline   cyberyeye 

  • Member
  • PipPip
  • Group: Members
  • Posts: 141
  • Joined: 19-March 05
  • OS:XP Pro x86
  • Country: Country Flag

Posted 07 February 2011 - 06:26 PM

Maybe a bug between AutoIT (Asc is code in Autoit language) and Seven ? I never had this bug with XP. A few month ago I've test Asc in a VM (vbox) with Seven 32b. and sometimes (rarely) Avira.exe was corrupted, i've tried many different code for creating Avira.exe (old dos style using copy /B; or with autoit function > same random result).

Don't ask me why, i have absolutly no idea, and this bug has never appear on XP, so... that's why my guess is that in some unknow circumstance this bug appear sometimes ! But only when using Seven (admin account, Uac and a/v deactivate... change nothing this bug can appear on Seven whenever it want: that's insane !)

Indeed... Running Asc a second time, or doing a reboot, solve this rare bug most of the time.
(maybe this bug will be fix with SP1 or with the next Autoit version)

This post has been edited by cyberyeye: 07 February 2011 - 06:28 PM


#90 User is offline   ZileXa 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 767
  • Joined: 27-May 04

Posted 08 February 2011 - 04:08 AM

I did it on XP SP3 :P but it works now so it's cool!

#91 User is offline   ZileXa 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 767
  • Joined: 27-May 04

Posted 09 February 2011 - 08:51 AM

Oops, I'm back :)
I'm trying to install the created installer via AutoUnattend.xml. The package is launched and starts to install but at some point it gives an error, saying something about it cannot continue probably because an update or Windows update is running. I will provide a screenshot later, clicked the message away to fast.

#92 User is offline   cyberyeye 

  • Member
  • PipPip
  • Group: Members
  • Posts: 141
  • Joined: 19-March 05
  • OS:XP Pro x86
  • Country: Country Flag

Posted 09 February 2011 - 01:11 PM

If you had used "Asc light" with Asc: VC++ 2008 SP1 Runtime is removed from installer.
Microsoft list VC++ 2008 sp1 runtime as available for Seven x64 on this page, Meaning VC++ 2008 sp1 is not installed by default with Seven x64 ?

In this case IF VC++ 2008SP1 is missing from a default Seven installation, a setup create without using "Asc light" in Asc should works.

#93 User is offline   cyberyeye 

  • Member
  • PipPip
  • Group: Members
  • Posts: 141
  • Joined: 19-March 05
  • OS:XP Pro x86
  • Country: Country Flag

Posted 10 February 2011 - 07:42 AM

I've wrote a executable (Autoit, src provide) for testing if VC 2008 Runtime is installed. Result is showing in a messagebox.

- If the runtime is already installed a messagebox show a message. Then if Avira.exe is in the same dir a second messagebox ask if you're willing to start Antivir setup (avira.exe -y ; silent install).
- If the runtime is NOT detected a messagebox is shown too, in this case there is not a 2nd msgbox (to install Antivir).

Antivir 10 setup need this runtime: Visual C++ 2008 SP1 ATL Security Update Redistributable Package (x86)

Note: Antivir original setup use only vcredist_x86.exe (if necessary)
(vcredist_x64.exe is not include with Antivir official setup!)

Maybe i'll put this into ASC oneday, i doubt that this is usefull....

#94 User is offline   ZileXa 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 767
  • Joined: 27-May 04

Posted 20 February 2011 - 11:51 AM

Well, at what stage do you install Avira on Win7?
I use AutoUnattend.xml settings pass Specialize, your executable tells me VC2008 is not installed (using a x64 Win7 incl SP1 image).

If I would install Visual C++ 2008 SP1 ATL Security Update Redistributable Package x64 (since I have x64 win7) first, it should work?
Or do I have to install both Microsoft Visual C++ 2008 SP1 Redistributable Package (x64) and Visual C++ 2008 SP1 ATL Security Update Redistributable Package x64 ?
Or do I have to install both Microsoft Visual C++ 2008 SP1 Redistributable Package (x64) and Visual C++ 2008 SP1 ATL Security Update Redistributable Package x86?

This post has been edited by ZileXa: 20 February 2011 - 11:52 AM


#95 User is offline   cyberyeye 

  • Member
  • PipPip
  • Group: Members
  • Posts: 141
  • Joined: 19-March 05
  • OS:XP Pro x86
  • Country: Country Flag

Posted 20 February 2011 - 03:21 PM

VC++ 2008 SP1 (english) is v9.0.30729.17
VC++ 2008 ATL (english) is v9.0.30729.4148

ATL contain a security fix. You can consult this MS page to get a list of latest build of VC++ Runtime installer.

Antivir PE 9 use: 9.0.30729.17 (SP1)
Antivir PE 10 use: 9.0.30729.4148 (ATL)
(only Russian setup is still a v9 version; every other langage of antivir setup are a v10)

If you extract original setup from Avira website to see which version they are using you'll see that they are using only x86 runtime with antivir setup. They don't use x64 VC runtime at all.
I admit that this is weird, but this is their choice.

So by deduction you should use/test using x86 build for VC++ 2008 ATL runtime. I haven't time to test it... but it sound pretty logic to me to install the same build as Avira provide with Antivir original setup.
Of course Vc++ 2008 Atl runtime must be installed BEFORE starting Antivir (PE10) setup !

On your Win7 media you can try this: Sources\$OEM$\$1\Install\install.cmd

AutoUnattend.xml

Quote

<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<CommandLine>cmd /C start /wait %systemdrive%\install\install.cmd</CommandLine>
<Description>Starting my apps installation</Description>
<Order>1</Order>
<RequiresUserInput>false</RequiresUserInput>
</SynchronousCommand>
</FirstLogonCommands>


install.cmd

Quote

cmdow @ /HID
@echo off

FOR %%i IN (C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\AutoUnattend.xml SET USB=%%i:

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installation of all MS hotfix now" /f
REG ADD %KEY% /v Flags /t REG_DWORD /d "20" /f

REG ADD %KEY%\010 /VE /D "VC 2008 ATL Runtime" /f
REG ADD %KEY%\010 /V 1 /D "%usb%\Soft\VC\vcredist_x86.exe /Q" /f

rundll32.exe %systemdrive%\install\iernonce.dll,RunOnceExProcess

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installation of all Software now" /f
REG ADD %KEY% /v Flags /t REG_DWORD /d "20" /f

REG ADD %KEY%\010 /VE /D "Avira Antivir 10 PE create by ASC" /f
REG ADD %KEY%\010 /V 1 /D "%usb%\Soft\Antivir\Avira.exe -y" /f

rundll32.exe %systemdrive%\install\iernonce.dll,RunOnceExProcess


Edit: Roe with Win7 x64 tips on this topic
(to replace in my example: "rundll32.exe %systemdrive%\install\iernonce.dll,RunOnceExProcess")

This post has been edited by cyberyeye: 20 February 2011 - 03:27 PM


#96 User is offline   cyberyeye 

  • Member
  • PipPip
  • Group: Members
  • Posts: 141
  • Joined: 19-March 05
  • OS:XP Pro x86
  • Country: Country Flag

Posted 20 February 2011 - 03:30 PM

New ASC build: 1.2.2.1

Changelog: 1.2.2.1: Url fix for 'wksstats.dll.gz & build.dat.gz' in /Files/Settings.ini for almost all language.

As usual download link is available on 1st page of this topic.

#97 User is offline   ZileXa 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 767
  • Joined: 27-May 04

Posted 20 February 2011 - 03:54 PM

Why do you run RunOnceEx twice?? Why not just once? Everything will be installed in order so your hotfix and ATL will be installed first.

Actually I did a new test with a suprising result:
If I just extract the resulting exe file (avira_auto_setup.exe) and I run presetup.exe via a CMD file that I start using autounattend.xml settings pass Specialize, I get the error message attached.
Using Win7 SP1 image.

This post has been edited by ZileXa: 20 February 2011 - 04:14 PM


#98 User is offline   cyberyeye 

  • Member
  • PipPip
  • Group: Members
  • Posts: 141
  • Joined: 19-March 05
  • OS:XP Pro x86
  • Country: Country Flag

Posted 20 February 2011 - 06:08 PM

I run many Roe different section only for cosmetic purpose, not for a technical reason.

I've made a test in VM using 7 x86: with an existing profil account (not at oobe stage) i don't know if this change something (?).

Roe.reg (Regfile to do an installation test when relogging)

Quote

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]
"1"="C:\\Test\\Install.cmd"



Install.cmd

Quote

cmdow @ /HID
@echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Avira Test Seven x86" /f
REG ADD %KEY% /v Flags /t REG_DWORD /d "20" /f

REG ADD %KEY%\010 /VE /D "VC 2008 ATL x86 (extract from original antivir 10 setup)" /f
REG ADD %KEY%\010 /V 1 /D "%systemdrive%\Test\vcredist_x86.exe /Q" /f

REG ADD %KEY%\011 /VE /D "Antivir 10 - create with Asc light" /f
REG ADD %KEY%\011 /V 1 /D "%systemdrive%\Test\Avira.exe -y" /f

rundll32.exe iernonce.dll,RunOnceExProcess

EXIT


- vcredist_x86.exe (VC 2008 ATL x86 / v9.0.30729.4148)
- Avira.exe; create with Asc "light options"

Everything went fine: no errros or whatsoever. Unfortunatly I don't have a Win7 64 to do a test :/

This post has been edited by cyberyeye: 20 February 2011 - 06:09 PM


#99 User is offline   ZileXa 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 767
  • Joined: 27-May 04

Posted 20 February 2011 - 06:28 PM

Ok I will do the same test on x64 tomorrow, will report back :)

#100 User is offline   cyberyeye 

  • Member
  • PipPip
  • Group: Members
  • Posts: 141
  • Joined: 19-March 05
  • OS:XP Pro x86
  • Country: Country Flag

Posted 21 February 2011 - 02:21 PM

As I expected, VC 2008 Atl x64 runtime, doesn't works with Antivir. I must be VC++ 2008 ATL x86 ortherwise Antivir setup will fail.

Test has failed using VC++ 2008 Atl x64 on Win7 x64
Posted Image

Successful test using VC++ 2008 Atl x86 on Win7 x64
Posted Image

then Antivir is starting perfectly after "ROE": when user loggon
Posted Image

Conclusion: Windows (XP, Vista/7) x86 or x64 need VC++ 2008 ATL x86 to be installed before starting Antivir v10.

Hope this help ;)

This post has been edited by cyberyeye: 21 February 2011 - 02:21 PM


Share this topic:


  • 7 Pages +
  • « First
  • 3
  • 4
  • 5
  • 6
  • 7
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy