Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


cool400

Avira Antivir 8 Free - complete silent and unattended!

Recommended Posts

He he,

looks very nice.

But....

is it possible to use systemvariables for paths like %programfiles% and %windir% instead of full paths?

Because. I've made a silent installer with your tool and stored it on my DVD. Sometimes the paths on the system where i want to install it differ to the paths i uses while creating silent installer.

TIA

SkAvEnGeR

Share this post


Link to post
Share on other sites

is it possible to use systemvariables for paths like %programfiles% and %windir% instead of full paths?

Hi!

Yes, it's possible ;). I've made some changes to the script, because I've had the same problems. To use modified version you have to extract original package (Antivir8_AOM.exe) with 7zip or winrar and replace runonce.bat and config.txt with files from attached zip archive.

Changes:

- script is completely unattended. I like it better this way – it's easier to use for me. If you want German version you have to change avfile variable to antivir_workstation_winu_de_h.exe in runonce.bat (or you can parametrize it). As a consequence nlite addon support is removed.

- Avira files (antivir_workstation_winu_en_h.exe and ivdf_fusebundle_nt_en.zip) are kept in script directory – it feels "cleaner" for me ;)

- during installation installer is temporarily unpacked to %SystemRoot%\Temp\Avira and Avira is installed to %programfiles%\avira

- temporary folder is deleted after installation

Kudos to cool400 for original work.

Regards,

Chris

avira.zip

Share this post


Link to post
Share on other sites

Hi Killgore,

thanks for this easy and quick solution.

I can't test it a.t.m., because i'm in vacancies.... :)

After final testing i will give you a feedback.

Greetz

Share this post


Link to post
Share on other sites

Hi Killgore,

Thank you for this one.

I have test it now.

I have updated these two files -but now it works different.

After running "Antivir8_AOM.exe" it unpacks itself an thats is. The script-window appears for 2 seconds. I must start the script "runonce.bat" manually. Then it works.

No idea why. Trying to add the "tempmode"-Parameter in WinRAR was not working.

After creating silent package the script ends and leave all files.

What is the best way to fix this?

Thanks in advance

SkAvEnGeR

Share this post


Link to post
Share on other sites

Hi Skavenger!

I have updated these two files -but now it works different.

After running "Antivir8_AOM.exe" it unpacks itself an thats is. The script-window appears for 2 seconds. I must start the script "runonce.bat" manually. Then it works.

I think we have a little misunderstanding here. If you have extracted Antivir8_AOM.exe with 7zip or winrar, and replaced these two files from my zip archive you don’t use Antivir8_AOM.exe again because it will overwrite files you have just replaced (with original versions).

Yes, you have to run runonce.bat manually because that’s what Antivir8_AOM.exe normally does – it extracts itself to temporary directory and runs runonce.bat.

After creating silent package the script ends and leave all files.

What is the best way to fix this?

It doesn’t leave all the files – it keeps only files it will reuse during next run.

So, there is nothing to fix – you only have to run runonce.bat I’ve provided and use AV8_Silent.exe to install Avira.

If you want it as one exe file you will have to add some cleaning stuff to runonce.bat and repack Antivir8_AOM.exe with new files. I haven’t done this because I can’t attach file this big to the post. Besides, I like it better with all used files already extracted in one directory :) .

Regards,

Chris

Share this post


Link to post
Share on other sites

This batch script is awesome, been using it for a while.

Just recently it stopped working. Keeps saying connection timed out. Anyone know of a updated server?

EDIT: note that I've been using the updated script in post #17 by Killgore.

Edited by Sammy20

Share this post


Link to post
Share on other sites

Can anyone confirm the created installer will install correctly at T13 (using RunOnceEx, so not at first GUI login but before)?

Share this post


Link to post
Share on other sites
I have made a script that downloads the newest Antivir 8-programfiles and definitions and creates an always up-to-date, complete silent, self-installing 7Zip-SFX-archive for the use with WPI, ComfortInstaller or simply manual installation.

Additionally you can choose to create an nLite-Addon - I think it will also work with RyanVM-Integrator (but I don't use it, so test it out yourself ;))

You can choose where Antivir should be installed and where your Windows is installed (needed for the TEMP-files)!

Simply download the script here and start it anywhere. After the script has finished you will find your SFX/Addon in the folder where you started if from!

I would be glad about your feedback :)

Best regards

cool400 :ph34r:

EDIT: script-date 24/04/2008, MD5-checksum: BE840FC262B1264EE35F4F6077DEBF70

Please cool400 I can't download from the link provided :wacko: I tried several times but no luck

I even used an other computer but no help , any one can mirror this file cause without it the script is of no use.

Anyway very thanks for your efforts

Edited by maam2

Share this post


Link to post
Share on other sites

Hi you all,

sorry for y my late reply!

I've implemented the blocking for the annoying popup :thumbup Maybe I will find a better way by replacing the avnotify.exe automatically with with a dummy, but by now it works with a registry-hack.

Best regards

cool400 :ph34r:

Share this post


Link to post
Share on other sites

Hi!

This works fine but only for a manual installation! :}

If I use it in RunOnceEx.cmd along with IE7-WindowsXP-x86-ita.exe, it "breaks" IE as it don't start.

Antivir instead works.

RunOnceEx.cmd

@Echo Off

for %%i in (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:\i386\winnt.exe set CDROM=%%i:

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

REG ADD %KEY% /V TITLE /D "Installazione Applicazioni" /f

REG ADD %KEY%\000 /VE /D "Internet_Explorer_7" /f

REG ADD %KEY%\000 /V 1 /D "%CDROM%\APPS\IE7-WindowsXP-x86-ita.exe /quiet /update-no /norestart" /f

REG ADD %KEY%\005 /VE /D "DirectX_9.0c" /f

.....

.....

REG ADD %KEY%\040 /VE /D "Avira_Antivir_8" /f

REG ADD %KEY%\040 /V 1 /D "%CDROM%\APPS\AV8_Silent.exe" /f

REG ADD %KEY%\050 /VE /D "Pulizia" /f

REG ADD %KEY%\050 /V 1 /D "%systemroot%\cleanup.cmd" /f

EXIT

Any idea?

Best regards. :hello:

Share this post


Link to post
Share on other sites

Hi!

Resolved with:

REG ADD %KEY% /V TITLE /D "Installazione Applicazioni 1" /f

REG ADD %KEY%\000 /VE /D "Internet_Explorer_7" /f
REG ADD %KEY%\000 /V 1 /D "%CDROM%\APPS\IE7-WindowsXP-x86-ita.exe /quiet /update-no /norestart" /f

REG ADD %KEY%\005 /VE /D ".Net_Framework_1.1" /f
. . .
. . .

start /wait rundll32.exe iernonce.dll,RunOnceExProcess

REG ADD %KEY% /V TITLE /D "Installazione Applicazioni 2" /f

. . .

REG ADD %KEY%\040 /VE /D "Office_2003_SP3" /f
REG ADD %KEY%\040 /V 1 /D "%CDROM%\APPS\Office2003SP3.exe" /f

REG ADD %KEY%\050 /VE /D "Avira Antivir 8" /f
REG ADD %KEY%\050 /V 1 /D "%CDROM%\APPS\AV8_Silent.exe /f

. . .

EXIT

Installed IE7 at T-12 (all items before start /wait rundll32.exe iernonce.dll,RunOnceExProcess are installed at T-12) and Antivir after first reboot.

Bye.

Share this post


Link to post
Share on other sites
start /wait rundll32.exe iernonce.dll,RunOnceExProcess

Same here except i'm using iernonce.dll from SP2 thus build had no problem at all for ROE batch :)

I put iernonce.dll into:

$OEM$\$1\Install\iernonce.dll (sp2 build 2180)

Install dir is copying in %systemdrive%

my batch is in:

$OEM$\$1\Install\Runonceex.cmd

cmdow @ /HID

@echo off

FOR %%i IN (D E F G H I J K L) DO IF EXIST %%i:\WIN51IP.SP3 SET CDROM=%%i:

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

REG ADD %KEY% /V TITLE /D "Mise … jour Windows" /f

REG ADD %KEY%\010 /VE /D "Configuration des Composants Windows" /f

REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\Composant.cmd" /f

blabla

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

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

REG ADD %KEY% /V TITLE /D "Installation des Programmes" /f

REG ADD %KEY%\012 /VE /D "Avira 8 PE" /f

REG ADD %KEY%\012 /V 1 /D "%cdrom%\Soft\Avira\AV8_Silent.exe" /f

REG ADD %KEY%\012 /V 2 /D "%cdrom%\Soft\Avira\settings.cmd" /f

blabla

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

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

REG ADD %KEY% /V TITLE /D "Configuration de Windows" /f

REG ADD %KEY%\010 /VE /D "Configuration de Windows XP" /f

REG ADD %KEY%\010 /V 1 /D "regedit /s %systemdrive%\install\optireg.reg" /f

blabla

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

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

REG ADD %KEY% /V TITLE /D "Fin de l'installation" /f

REG ADD %KEY%\010 /VE /D "Console de Recuperation" /f

REG ADD %KEY%\010 /V 1 /D "%cdrom%\i386\winnt32 /cmdcons /unattend" /f

blabla

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

EXIT

IE7 is slipstream with HfSlip (inlcluding hotfix, and so on (dotnet with snm...))

I never had problem using old iernonce.dll :thumbup

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...