ZileXa Posted February 9, 2011 Share Posted February 9, 2011 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. Link to comment Share on other sites More sharing options...
cyberyeye Posted February 9, 2011 Author Share Posted February 9, 2011 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. Link to comment Share on other sites More sharing options...
cyberyeye Posted February 10, 2011 Author Share Posted February 10, 2011 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.... Link to comment Share on other sites More sharing options...
ZileXa Posted February 20, 2011 Share Posted February 20, 2011 (edited) 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? Edited February 20, 2011 by ZileXa Link to comment Share on other sites More sharing options...
cyberyeye Posted February 20, 2011 Author Share Posted February 20, 2011 (edited) VC++ 2008 SP1 (english) is v9.0.30729.17VC++ 2008 ATL (english) is v9.0.30729.4148ATL 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.cmdAutoUnattend.xml<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.cmdcmdow @ /HID@echo offFOR %%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\RunOnceExREG ADD %KEY% /V TITLE /D "Installation of all MS hotfix now" /fREG ADD %KEY% /v Flags /t REG_DWORD /d "20" /fREG ADD %KEY%\010 /VE /D "VC 2008 ATL Runtime" /fREG ADD %KEY%\010 /V 1 /D "%usb%\Soft\VC\vcredist_x86.exe /Q" /frundll32.exe %systemdrive%\install\iernonce.dll,RunOnceExProcessSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installation of all Software now" /fREG ADD %KEY% /v Flags /t REG_DWORD /d "20" /fREG ADD %KEY%\010 /VE /D "Avira Antivir 10 PE create by ASC" /fREG ADD %KEY%\010 /V 1 /D "%usb%\Soft\Antivir\Avira.exe -y" /frundll32.exe %systemdrive%\install\iernonce.dll,RunOnceExProcessEdit: Roe with Win7 x64 tips on this topic(to replace in my example: "rundll32.exe %systemdrive%\install\iernonce.dll,RunOnceExProcess") Edited February 20, 2011 by cyberyeye Link to comment Share on other sites More sharing options...
cyberyeye Posted February 20, 2011 Author Share Posted February 20, 2011 New ASC build: 1.2.2.1Changelog: 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. Link to comment Share on other sites More sharing options...
ZileXa Posted February 20, 2011 Share Posted February 20, 2011 (edited) 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. Edited February 20, 2011 by ZileXa Link to comment Share on other sites More sharing options...
cyberyeye Posted February 21, 2011 Author Share Posted February 21, 2011 (edited) 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)Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce]"1"="C:\\Test\\Install.cmd"Install.cmdcmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Avira Test Seven x86" /fREG ADD %KEY% /v Flags /t REG_DWORD /d "20" /fREG ADD %KEY%\010 /VE /D "VC 2008 ATL x86 (extract from original antivir 10 setup)" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\Test\vcredist_x86.exe /Q" /fREG ADD %KEY%\011 /VE /D "Antivir 10 - create with Asc light" /fREG ADD %KEY%\011 /V 1 /D "%systemdrive%\Test\Avira.exe -y" /frundll32.exe iernonce.dll,RunOnceExProcessEXIT- 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 :/ Edited February 21, 2011 by cyberyeye Link to comment Share on other sites More sharing options...
ZileXa Posted February 21, 2011 Share Posted February 21, 2011 Ok I will do the same test on x64 tomorrow, will report back Link to comment Share on other sites More sharing options...
cyberyeye Posted February 21, 2011 Author Share Posted February 21, 2011 (edited) 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 x64Successful test using VC++ 2008 Atl x86 on Win7 x64then Antivir is starting perfectly after "ROE": when user loggonConclusion: Windows (XP, Vista/7) x86 or x64 need VC++ 2008 ATL x86 to be installed before starting Antivir v10.Hope this help Edited February 21, 2011 by cyberyeye Link to comment Share on other sites More sharing options...
ZileXa Posted February 23, 2011 Share Posted February 23, 2011 Thanks for testing.Avira, Office 2010 and Paint.Net cannot be installed during Windows Setup (this means pass Specialize, because for AuditSystem/AuditUser it means you install it in your image so that it will be preinstalled for future use). They install just fine using SetupComplete (just before user login) or using FirstLogonCommands (right after first login). I am using SetupComplete now, installing vcredistx86 first and then Avira (your Light version). Link to comment Share on other sites More sharing options...
SYSTEM Posted February 24, 2011 Share Posted February 24, 2011 Thank you, cyberyeye. Avira Setup Creator is very useful.I translated it into Finnish language. [Finnish]BtExec_txt=AloitaMenuF_txt01=&TiedostoMenuF_txt02=Uusi asennusohjelmaMenuF_txt03=PoistuMenuC_txt01=&KieliMenuC_txt02=AviraMenuC_txt03=KäyttöliittymäMenuH_txt01=?MenuH_txt02=Tietoja ASC:staMenuH_txt03=LisenssiMenuH_txt04=UkkMenuH_txt05=KomentoriviLabel1_txt=Seuraa asennusohjelman luonnin edistymistä alta:step_txt01=Paina 'Aloita' luodaksesi uuden asennusohjelman !step_txt02=Nykyinen vaihe: Ladataan Aviran asennusohjelmaa !step_txt03=Nykyinen vaihe: Puretaan tiedostoja Aviran asennusohjelmasta !step_txt04=Nykyinen vaihe: Ladataan uusimpia virustunnisteita !step_txt05=Nykyinen vaihe: Puretaan virustunnisteet sisältävää pakettia !step_txt06=Nykyinen vaihe: Pakataan tiedostoja (7z)step_txt07=Nykyinen vaihe: Luodaan uutta Avira-asennusohjelmaa...step_txt08=Valmista ! Uusi asennusohjelma (Avira.exe) on luotuUnp_txt01=Puretaan asennusohjelmaa...Unp_txt02=Puretaan uusimpia virustunnisteita...Pack_txt01=Pakataan uusia tiedostoja...Crt_setup_txt=Luodaan uutta asennusohjelmaa: Avira.exeav_txt=Ladataan Aviraa...avdef_txt=Ladataan virustunnisteita...av_old=ASC - Poistetaanko vanhat asennustiedostot ?av_old02=Haluatko poistaa vanhat Avira-asennustiedostot ASC:n hakemistosta?av_old03=Tiedosto:av_old04=Virustunnistepaketti: vdf_fusebundle.zipav_old05=Valitse 'Kyllä', jos olet epävarma.av_old06=Huom: Aviran latauspalvelimet ovat joskus hyvin hitaita.av_old07=Siinä tapauksessa yritä myöhemmin uudelleenav_old08=tai lataa asennustiedostot käsin toiselta sivustolta:chk_dsk_txt=Luo pikakuvake työpöydällechk_sm_txt=Luo kansio Käynnistä-valikkooncfg_title=Avira AntiVir Personal 10 (EN)cfg_prompt=Tämä asennusohjelma sisältää päivitetyt tiedostot kohteestacfg_prompt2=.\nPaina OK aloittaaksesi asennuksen!cfg_extract=Odota, puretaan tiedostoja...cfg_cancel=Peruutacfg_finish=Aviran asennus on valmis!cfg_help=Valitsin, jolla Avira asentuu automaattisesti (tosin näyttäen edistymispalkin): -yoption=AsetuksetOpt_Light=Luo kevyt asennusohjelma (Asc Light)Opt_Light_tips=Katso Ukk: ASC Light (joitakin tiedostoja poistetaan asennusohjelman keventämiseksi)CheckFileTxt=Tarkista Aviran palvelinCheckFileTxt_Tips=Tarkista, löytyvätkö tiedostot Aviran palvelimelta!BtCheckSrv=Tarkista Link to comment Share on other sites More sharing options...
cyberyeye Posted February 24, 2011 Author Share Posted February 24, 2011 (edited) Thanks a lot for you're translation I'll add this new one into the next build (in a few days I got a lot of works todo 'irl')@Zilexa: indeed it should works using SetupComplete or FirstLogonCommands Edited February 24, 2011 by cyberyeye Link to comment Share on other sites More sharing options...
cyberyeye Posted February 25, 2011 Author Share Posted February 25, 2011 New build is up: 1.2.2.2Changelog: Add Finnish translation (thanks to System)Download link on the first page as usual Link to comment Share on other sites More sharing options...
XTriLogy Posted March 21, 2011 Share Posted March 21, 2011 (edited) please change encoding in Settings.ini to UTF-8 or ANSI, otherwise Edited March 21, 2011 by XTriLogy Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now