chon_ Posted February 15, 2007 Share Posted February 15, 2007 Well, I finally made it! Here's what I wanted to do:1) Install Internet Explorer 7 via RunOnceEx.2) Reboot.3) Install IE's hotfixes via RunOnceEx too.4) Do NOT altere/replace any DLLs and/or other files during the process.Problem is (as you should know by now), that IE7 setup process "clears" RunOnceEx registry key, hence no entries after IE7's setup entry are processed and RunOnceEx entries are not performed on next reboot.Actually the solution is very simple, and it's based in THIS MS article.You just need to add a FLAG to your RunOnceEx key. Below you'll find part of my RunOnceEx.cmd file to illustrate this:SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Instalando aplicaciones y mejoras" /fREG ADD %KEY% /V FLAGS /D "dword:0x00000080" /fREG ADD %KEY%80 /VE /D "Adobe Reader 8.0.0" /fREG ADD %KEY%80 /V 1 /D "%CDROM%\install\AdobRdr8\AcroRead.msi /qb" /fREG ADD %KEY%\100 /VE /D "Adobe Flash Player 9" /fREG ADD %KEY%\100 /V 1 /D "%CDROM%\Install\AdobeFlash\install_flash_player_active_x.msi /qb REBOOT=Suppress" REG ADD %KEY%\220 /VE /D "MS Office Professional 2003 SP2" /fREG ADD %KEY%\220 /V 1 /D "%CDROM%\Install\Off_2003\setup.exe TRANSFORMS=Unat.MST /qb-" /fREG ADD %KEY%\230 /VE /D "Internet Explorer 7.0" /fREG ADD %KEY%\230 /V 1 /D "regedit /s %CDROM%\Install\Scripts\TwksXP_u.REG" /fREG ADD %KEY%\230 /V 2 /D "%CDROM%\Install\Scripts\CleanXP.cmd" /fREG ADD %KEY%\230 /V 3 /D "%CDROM%\Install\IE7\IE7-WindowsXP-x86-esn.exe /quiet /passive /update-no /no-default /norestart" /fREG ADD %KEY%\230 /V 4 /D "%CDROM%\Install\Scripts\IE7_Hotfixes.cmd" /fEXITNote the third line of code: REG ADD %KEY% /V FLAGS /D "dword:0x00000080" /f. This is the only change you should make tou your file to get the work done. This flag prevents RunOnceEx key to be cleared.What IE7_Hotfixes.cmd does, is add registry entries for the hotfixes, which will be installed on the next reboot and restarts the computer after installing IE7. Here's my IE7_Hotfixes.cmd file:SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V FLAGS /D "dword:0x00000080" /fREG ADD %KEY%\910 /V 1 /D "%CDROM%\Install\IE7\Hotfixes\IE7-KB929969-WindowsXP-x86-esn.exe /q /n /z" /fREG ADD %KEY%\910 /V 2 /D "%CDROM%\Install\IE7\Hotfixes\IE7-KB928090-WindowsXP-x86-esn.exe /q /n /z" /fshutdown -r -f -t 180 -c "Reiniciando en 3 minutos..."Again, note this line: REG ADD %KEY% /V FLAGS /D "dword:0x00000080" /f.Of course, I use Spanish language, but the same apllies to your language distribution. B) Let me know any comments/doubts. Link to comment Share on other sites More sharing options...
neo Posted February 15, 2007 Share Posted February 15, 2007 thanx ... Let me check Link to comment Share on other sites More sharing options...
Yzöwl Posted February 15, 2007 Share Posted February 15, 2007 Unfortunately, I'm not in a position to try this right now, but I'm just a little sceptical.I don't understand how, adding a flag which disables dialog display status, prevents the contents of the key from being cleared.If it is confirmed to work however, well done for finding a solution! Link to comment Share on other sites More sharing options...
chon_ Posted February 15, 2007 Author Share Posted February 15, 2007 (edited) Well, I have to admit it, I too was very surprised when it worked.BTW, I forgot to mention that the solution was based in this article too, as you can see near the bottom it says:WORKAROUNDWhen you develop the application, set the No Status Dialog option of the RunOnceEx registry key.And that's exactly what that new line of code does (it sets the No Status Dialog Option).Based on that I started to do some testing, and..... these are my results. Give it a try, you have nothing to loose! Edited February 15, 2007 by chon_ Link to comment Share on other sites More sharing options...
Yzöwl Posted February 15, 2007 Share Posted February 15, 2007 BTW, I forgot to mention that the solution was based in this article too, as you can see near the bottom it says:WORKAROUNDWhen you develop the application, set the No Status Dialog option of the RunOnceEx registry key.Well that certainly lends some weight to the solution then; a Microsoft temporary fix! Link to comment Share on other sites More sharing options...
Major Posted February 16, 2007 Share Posted February 16, 2007 (edited) I get it worked replacing the file "iernonce.dll", the only problem is, when i launch internet explorer, it appears the page of the configuration again, it seems that has been cleared only two tweaks, then i create a new file named: ExtraCleanUp.cmd, the process is the followingI extracted IE7.exe and I extracted also KB928090.exe, then i copied the file "iernonce.dll" from the extracted KB928090.exe to the the extracted IE7.exe (overwrite it).Finally i repacked again the extracted IE7.exe with winrar:Setup=update\iesetup.exe /quiet /update-no /nobackup /norestartTempModeSilent=1Overwrite=1Title=Internet Explorer 7I have installed IE7 via SVCPACK.inf and the hotfixes KB928090, KB929969 via RunOnceEx.I have to apply only two tweaks via the file "ExtraCleanUp.cmd" that first must be copied from the file CleanUp.cmd. The idea is to apply the two tweaks when it is rebooted during the 2 minutes.CleanUp.cmdcmdow @ /HID@echo offshutdown.exe -r -f -t 120 -c "Windows XP se reiniciara en dos minutos"net user aspnet /deleteCOPY "%SystemDrive%\install\ExtraCleanUp.cmd" "%UserProfile%\Men£ Inicio\Programas\Inicio\"ExtraCleanUp.cmdcmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Limpiando" /fREG ADD %KEY%42 /VE /D "Limpiando Ficheros" /fREG ADD %KEY%42 /V 1 /D "REGEDIT /S %SystemDrive%\install\PishingFilter.reg" /fREG ADD %KEY%42 /V 2 /D "CMD /C RD /S /Q \"%systemdrive%\install\"" /fREG ADD %KEY%42 /V 3 /D "CMD /C DEL /Q \"%UserProfile%\Men£ Inicio\Programas\Inicio\ExtraCleanUp.cmd\"" /fRundll32.exe iernonce.dll,RunOnceExProcessExitPishingFilter.regWindows Registry Editor Version 5.00[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]"RunOnceComplete"=dword:00000001"RunOnceHasShown"=dword:00000001[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\PhishingFilter]"Enabled"=dword:00000000"ShownVerifyBalloon"=dword:00000001and the value of the pishing must be changed if you want to enable it. Edited February 16, 2007 by Major Link to comment Share on other sites More sharing options...
wazer Posted February 17, 2007 Share Posted February 17, 2007 (edited) EDIT; got to bottom to see my other question :=).Got some questionsI dont understand the flag your talking about, is it the last /F in one of those commands?when i use runonce i use gosh's guideHere's my runonceex.inf settings[Version]Signature=$CHICAGO$[DefaultInstall]AddReg = RunXP[XP]AddReg = RunXP[RunXP]HKLM,"%RunOnceEx%\",Title,0,"Installing Applications"HKLM,"%RunOnceEx%\",Flags,0x00010001,20HKLM,"%RunOnceEx%\install01",,,"Installing ViA Driver"HKLM,"%RunOnceEx%\install01",1,,"%24%\Install\Chipset\Chipset.exe"HKLM,"%RunOnceEx%\install02",,,"Installing Nvidia Driver"HKLM,"%RunOnceEx%\install02",1,,"%24%\Install\Graphics\NVIDIA-NGO19291.exe"HKLM,"%RunOnceEx%\install03",,,"Installing Razer Driver"HKLM,"%RunOnceEx%\install03",1,,"%24%\install\Mus\razersetup.exe"HKLM,"%RunOnceEx%\install04",,,"Installing Creative Audigy"HKLM,"%RunOnceEx%\install04",1,,"%24%\install\Lyd\Drivers.exe"HKLM,"%RunOnceEx%\install05",,,"Installing WinRAR"HKLM,"%RunOnceEx%\install05",1,,"%24%\install\winrar\winrar362.exe"HKLM,"%RunOnceEx%\install06",,,"Installing 7-zip"HKLM,"%RunOnceEx%\install06",1,,"%24%\install\winrar\7z444.exe"HKLM,"%RunOnceEx%\install07",,,"Installing Universal Extractor"HKLM,"%RunOnceEx%\install07",1,,"%24%\install\winrar\uniextract142.exe"HKLM,"%RunOnceEx%\install08",,,"Installing Ventrilo & Teamspeak"HKLM,"%RunOnceEx%\install08",1,,"%24%\install\wzr\Ventrilo_TeamSpeak.exe /s"HKLM,"%RunOnceEx%\install09",,,"Installing Favorites"HKLM,"%RunOnceEx%\install09",1,,"%24%\install\wzr\Foretrukne.exe /s"HKLM,"%RunOnceEx%\install10",,,"Installing Quick Launch"HKLM,"%RunOnceEx%\install10",1,,"%24%\install\wzr\Quick_Launch.exe /s"HKLM,"%RunOnceEx%\install11",,,"Installing Pictures"HKLM,"%RunOnceEx%\install11",1,,"%24%\install\wzr\Updates.exe /s"HKLM,"%RunOnceEx%\install12",,,"Installing MSFN Codecs"HKLM,"%RunOnceEx%\install12",1,,"%24%\install\wzr\Codecs.exe"HKLM,"%RunOnceEx%\install13",,,"Installing MSN"HKLM,"%RunOnceEx%\install13",1,,"%24%\install\wzr\msn750324.exe"HKLM,"%RunOnceEx%\install14",,,"Installing Firefox Profile"HKLM,"%RunOnceEx%\install14",1,,"%24%\install\wzr\firefox-profiles.exe /s"HKLM,"%RunOnceEx%\install15",,,"Applying Registry Tweaks"HKLM,"%RunOnceEx%\install15",1,,"%24%\install\REGEDIT /S RegTweaks.reg"AddReg=13min[13min][strings]RunOnceEx = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx"its ocword i see the runonce RUN! but no apps in it how comes?i normally dont beg, but please help me out here guys edit;Okay okay i missed some of the txt "REG ADD %KEY% /V FLAGS /D "dword:0x00000080" /f"But how should my runonceex.inf look like then? i already have a flag in it "HKLM,"%RunOnceEx%\",Flags,0x00010001,20" but surely not the same Edited February 17, 2007 by wazer Link to comment Share on other sites More sharing options...
just_laze Posted February 17, 2007 Share Posted February 17, 2007 Hey,This seems overly complicated? I have a thread here for anyone who's attempting to integrate IE7 and needs a walk-through.I understand the goal of this thread is to remove the requirement of replacing iernonce.dll but is it worth the effort?laze. Link to comment Share on other sites More sharing options...
Yzöwl Posted February 18, 2007 Share Posted February 18, 2007 @ just_lazeComplicated!All that is happening is an extra line is being added to the RunOnceEx.cmd file.From 'The Guide'cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fNew Suggestioncmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY% /V Flags /T REG_DWORD /D 128 /F@ wazerJust change:[RunXP]HKLM,"%RunOnceEx%\",Title,0,"Installing Applications"HKLM,"%RunOnceEx%\",Flags,0x00010001,20to[RunXP]HKLM,%RunOnceEx%,Title,,"Installing Applications"HKLM,%RunOnceEx%,Flags,0x10001,128 Link to comment Share on other sites More sharing options...
just_laze Posted February 18, 2007 Share Posted February 18, 2007 Hey,Ok, so I didn't take the time to read the thread in it's entirity... but why would anyone choose installing it via RunOnceEx over integration? It slows RunOnceEx down massively.laze. Link to comment Share on other sites More sharing options...
wazer Posted February 18, 2007 Share Posted February 18, 2007 (edited) YzöwlHUGE THANKS your da man. sorry for beeing stupid Edited February 18, 2007 by wazer Link to comment Share on other sites More sharing options...
wazer Posted February 18, 2007 Share Posted February 18, 2007 Hey,Ok, so I didn't take the time to read the thread in it's entirity... but why would anyone choose installing it via RunOnceEx over integration? It slows RunOnceEx down massively.laze.What else should we use then? Link to comment Share on other sites More sharing options...
just_laze Posted February 18, 2007 Share Posted February 18, 2007 Well,As mentioned above, I integrate it.laze. Link to comment Share on other sites More sharing options...
Yzöwl Posted February 18, 2007 Share Posted February 18, 2007 @ just_lazeThe method of which you speak still appears to be using older files to get over a problem, which isn't there any more. There is no need to replace IE7 files with IE6 files and use other peoples software and /or packs.People who follow the Unattended Guide, now apparently have their fix. Link to comment Share on other sites More sharing options...
just_laze Posted February 18, 2007 Share Posted February 18, 2007 (edited) Hey,My point is, I wouldn't install IE7 via RunOnceEx because the installation time of IE7 adds a huge overheard (IE7 takes about 10-15 minutes to install). I would choose to integrate it and when integrating IE7, there is a requirement to replace files which is relatively simple to implement.laze. Edited February 18, 2007 by just_laze 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