skavenger Posted June 27, 2008 Posted June 27, 2008 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. TIASkAvEnGeR
Killgore Posted June 30, 2008 Posted June 30, 2008 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 installationKudos to cool400 for original work.Regards, Chrisavira.zip
skavenger Posted July 3, 2008 Posted July 3, 2008 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
skavenger Posted July 21, 2008 Posted July 21, 2008 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 advanceSkAvEnGeR
Killgore Posted July 30, 2008 Posted July 30, 2008 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
biatche Posted September 7, 2008 Posted September 7, 2008 does anyone know if antivir free / personal edition has automatic updates?
Sammy20 Posted October 28, 2008 Posted October 28, 2008 (edited) 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 October 28, 2008 by Sammy20
ZileXa Posted November 1, 2008 Posted November 1, 2008 Can anyone confirm the created installer will install correctly at T13 (using RunOnceEx, so not at first GUI login but before)?
maam2 Posted November 9, 2008 Posted November 9, 2008 (edited) 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 regardscool400 EDIT: script-date 24/04/2008, MD5-checksum: BE840FC262B1264EE35F4F6077DEBF70Please cool400 I can't download from the link provided I tried several times but no luckI 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 November 9, 2008 by maam2
cyberyeye Posted November 9, 2008 Posted November 9, 2008 Please cool400 I can't download from the link provided wacko.gif I tried several times but no luckLinks still works fine !Anyway, i've upload it here (same file no mod at all)http://rapidshare.com/files/162226895/Antivir8_AOM.exe.htmlTake a look at updated script in post #17 by Killgore
ZileXa Posted November 10, 2008 Posted November 10, 2008 Will the installer created by this script also disable the extremely annoying popup? I'm looking for an unattended silent way to disable the popup for all users (XP). The normal method is described here:http://www.tipsfor.us/2007/08/15/make-avir...on-more-usable/
cool400 Posted November 10, 2008 Author Posted November 10, 2008 Hi you all,sorry for y my late reply!I've implemented the blocking for the annoying popup 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 regardscool400
rainforest Posted November 10, 2008 Posted November 10, 2008 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 Offfor %%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\RunOnceExREG ADD %KEY% /V TITLE /D "Installazione Applicazioni" /fREG ADD %KEY%\000 /VE /D "Internet_Explorer_7" /fREG ADD %KEY%\000 /V 1 /D "%CDROM%\APPS\IE7-WindowsXP-x86-ita.exe /quiet /update-no /norestart" /fREG ADD %KEY%\005 /VE /D "DirectX_9.0c" /f..........REG ADD %KEY%\040 /VE /D "Avira_Antivir_8" /fREG ADD %KEY%\040 /V 1 /D "%CDROM%\APPS\AV8_Silent.exe" /fREG ADD %KEY%\050 /VE /D "Pulizia" /fREG ADD %KEY%\050 /V 1 /D "%systemroot%\cleanup.cmd" /fEXITAny idea?Best regards.
rainforest Posted November 15, 2008 Posted November 15, 2008 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 . . . EXITInstalled 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.
cyberyeye Posted November 15, 2008 Posted November 15, 2008 start /wait rundll32.exe iernonce.dll,RunOnceExProcessSame 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.cmdcmdow @ /HID@echo offFOR %%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\RunOnceExREG ADD %KEY% /V TITLE /D "Mise … jour Windows" /fREG ADD %KEY%\010 /VE /D "Configuration des Composants Windows" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\Composant.cmd" /fblablarundll32.exe %systemdrive%\install\iernonce.dll,RunOnceExProcessSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installation des Programmes" /fREG ADD %KEY%\012 /VE /D "Avira 8 PE" /fREG ADD %KEY%\012 /V 1 /D "%cdrom%\Soft\Avira\AV8_Silent.exe" /fREG ADD %KEY%\012 /V 2 /D "%cdrom%\Soft\Avira\settings.cmd" /fblablarundll32.exe %systemdrive%\install\iernonce.dll,RunOnceExProcessSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Configuration de Windows" /fREG ADD %KEY%\010 /VE /D "Configuration de Windows XP" /fREG ADD %KEY%\010 /V 1 /D "regedit /s %systemdrive%\install\optireg.reg" /fblablarundll32.exe %systemdrive%\install\iernonce.dll,RunOnceExProcessSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Fin de l'installation" /fREG ADD %KEY%\010 /VE /D "Console de Recuperation" /fREG ADD %KEY%\010 /V 1 /D "%cdrom%\i386\winnt32 /cmdcons /unattend" /fblablarundll32.exe %systemdrive%\install\iernonce.dll,RunOnceExProcessEXITIE7 is slipstream with HfSlip (inlcluding hotfix, and so on (dotnet with snm...))I never had problem using old iernonce.dll
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now