Hi here are the files.
Use the 7zsd.sfx file from Oleg, the Antivir.7z file you can create using Cool400 script, and the config.txt file below.
Start > Run.. type CMD press ENTER. In the command line window, enter this command:
CODE
COPY /B 7zSD.sfx + config.txt + Antivir.7z Antivir.exe
The result is:




if you DON'T use silent switch, you wil get a notification window after Avira Antiv setup has finished (have to click OK) so you will know when installation is done. Don't have a screenshot of this window.)
If you use the -? switch you get this:


Actually the info above is incorrect! the -y is indeed the silent switch, but if you also want to hide extraction progressbar use -y -gm2. I fixed this in my installer, just to lazy to update the screenshot.
And ofcourse you need ResHacker to modify the icon and version info. I also use UPX.exe to make the installer a little bit smaller.
You can download my installer here:
http://ifile.it/9q81nb7/avira_antivir.exeHere's the config.txt so you can create your own:
CODE
;!@Install@!UTF-8!
Title="Avira AntiVir Personal - FREE Antivirus"
ExtractTitle="Avira AntiVir Personal"
BeginPrompt="This One-Click Easy Installer contains Avira anti-virus Personal including the latest updates.\n\t\tPlease click Y e s to start installing Avira Antivir Personal!\n\n\t\t\t(use the -? switch for silent options)"
ExtractDialogText="Extracting files for installation, please wait..."
ExtractCancelText="Cancel extraction"
RunProgram="\"%%T\\basic\\setup.exe\" /inf=\"%%T\\setup.inf\""
OverwriteMode="0"
GUIFlags="6176"
FinishMessage="Antivir Antivirus installation finished successfully!"
HelpText="Antivir Antivirus One-Click Installer will install an up-to-date version of Antivir • No pop-ups! • \n\n_______________________________________\n\nSwitches for silent install: -y\nAnd to supress extraction progressbar also use -gm2\n\n_______________________________________\n\nEasy Installer created by ZileXa.\n(c) 2008-2009 ZileXa[at]myrealbox[dot]com\n\nThanks to Cool400 for his Avira antivir script & installer creator.\nThanks to Oleg_Sch for his incredible 7z SFX module."
;!@InstallEnd@!
The regtweaks to prevent popup after updates didn't work for me so I removed them from the config file above.
BTW I recommend you do the following because Avira wil not always install since it cannot find the .key file. This is caused by the fact that in the .INF file you have to give the full static path to the key. But you cannot predict the name of the temporary folder created by the 7z extractor:after extracting the original Avira setup file, I copy the key file from the root to the basic folder.
In the INF file, I don't give a location to the key file, just the filename. This way the installer is not bound to static locations of the temp file. Besides, using 7zsfx you cannot predict the temporary extracted folder.
This way Avira will always get installed. But it does produce blue error screen at T13. So I also install at first guiboot.
You can use the INF file that I attached, just don't forget to move the key file to the 'basic' folder.
Download my Easy Installer here:
http://ifile.it/9q81nb7/avira_antivir.exe