gugutz Posted October 5, 2006 Share Posted October 5, 2006 1 - Disabling the creation of the Thumbs.db files affects in any way my windows?2- EVERYTHING nLite does it is possible to do using registry entries?i know some of them are, like MenuShowDelay and others. but i´m not sure if ALL the optimizations and components removal and everything nLite does can be done mannually.The purpose of this is that in that way i can mantain a whole structured folder, with everything set, all the reg files done, folder options, file associations and all, and use nLite only for integrating hotfixes.3- how many windows does ROE supports to open? i use 9 windows, one for each type of install (Antiviruses, Multimedia, Reg Tweaks, Progs, XP Powertoys, and so it goes until it gets to the last one), but when it comes to the final window, the one who calls cleanup.cmd to shutdown computer and make the final adjustments, it doesn´t open!! so when i restart my PC and, there it is, the window witch was supose to be openned before, right at the first logon. Anyone knows why is that happening?that´s all, for know.i guess Link to comment Share on other sites More sharing options...
mazin Posted October 5, 2006 Share Posted October 5, 2006 3- You might forget to add rundll32.exe iernonce.dll,RunOnceExProcess to the 9th.cmd!Otherwise, SET KEY=HKCU\... for the last Window in order to launch from CU-ROE just afterthe 8th window has been fnished running from LM-ROE (KEY=HKLM\...). Link to comment Share on other sites More sharing options...
gugutz Posted October 5, 2006 Author Share Posted October 5, 2006 i didn´t forget the run32.dll lineand i don´t have a second cmdi use only 1 RunOnceEx.cmd to configure the whole thing, then all i would need is one reboot to complete the entire installationhere goes my RunOnceEx, runned from GuiRunOnce:cmdow @ /HID@echo off::Este RunOnceEx.cmd é pra ser usado na linha GuiRunRonce do arquivo WINT.SIFFOR %%D IN (d: e: f: g: h: i: j: k: l: m: n: o: p: q: r: s: t: u: v: w: x:) DO IF EXIST %%D\WIN51IP SET CDROM=%%DSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExSET SCRIPTS=%CDROM%\gugutz.scriptsSET TWEAKS=%CDROM%\gugutz.tweaksREG ADD %KEY% /V TITLE /D "Instalando Programas" /fREG ADD %KEY%\001 /VE /D "Adobe Reader 7.08" /f::REG ADD %KEY%\001 /V 1 /D "\"%systemdrive%\programas\AdobeReader v7.0.8 ptb.exe\" /Q /W /S /V"/QB" /f (quando precisar liberar uns 11 mb no cd, usar esse no lugar do msi. tentar também /Q:U pra ver se aparece o processo inicial de processar os arquivos de instalação.)REG ADD %KEY%\001 /V 1 /D "%systemdrive%\Programas\AdobeReader-7.0.8pt-br\instalar.msi /passive /norestart" /fREG ADD %KEY%\005 /VE /D "CCleaner 1.33.382" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\programas\ccleanersetup1.33.382.exe /S" /f::installer: Nulsoft NSISREG ADD %KEY%\020 /VE /D "Dicionario Michaelis (3 Idiomas)" /fREG ADD %KEY%\020 /V 1 /D "\"%systemdrive%\programas\Dicionario Michaelis\Instala.exe\" /fREG ADD %KEY%\025 /VE /D "Firefox 1.5.0.7" /fREG ADD %KEY%\025 /V 1 /D "\"%systemdrive%\programas\Firefox\Firefox Setup 1.5.0.7.exe\" -ms -ira -SetDefaultBrowser" /fREG ADD %KEY%\025 /V 2 /D "%systemdrive%\programas\Firefox\Plugins\FirefoxFlashPlugin.exe" /fREG ADD %KEY%\025 /V 3 /D "%systemdrive%\programas\Firefox\Plugins\firefoxshockwaveplugin.exe" /fREG ADD %KEY%\025 /V 4 /D "%systemdrive%\programas\Firefox\gugutz.ff.profile.exe /s" /f::PRA INSTALAR EXTENSÕES: Firefox.exe -install-global-extension "name-of-extension.xpi"::PRA INSTALAR TEMAS: Firefox.exe -install-global-theme "name-of-theme.jar"REG ADD %KEY%\030 /VE /D "Flash Player 9.0.16.0 Active X" /f::REG ADD %KEY%\025 /V 1 /D "%systemdrive%\programas\flash_player.exe /S" /f corrigir com o caminho certo (flash player 9)REG ADD %KEY%\030 /V 1 /D "%systemdrive%\programas\flash_player_active_x.msi /passive" /f::installer: ?REG ADD %KEY%\035 /VE /D "GetRight Professional 6.0b" /fREG ADD %KEY%\035 /V 1 /D "\"%systemdrive%\programas\GetRight Professional v6.0b.exe\" /s" /fREG ADD %KEY%\035 /V 2 /D "nircmd" wait 2000" /f REG ADD %KEY%\035 /V 3 /D "taskkill /F /IM getright.exe" /fREG ADD %KEY%\035 /V 4 /D "regedit.exe /s %tweaks%\gugutz.GetRightTweaks.reg" /f::installer: ?REG ADD %KEY%\040 /VE /D "ImageShack Toolbar para IE" /fREG ADD %KEY%\040 /V 1 /D "%systemdrive%\programas\ImageShackToolbar.exe /passive" /fREG ADD %KEY%\040 /V 2 /D "taskkill /F /IM iexplore.exe" /f::installer: Install ShieldREG ADD %KEY%\045 /VE /D "Java Runtime Environment 5.0 Update 6" /fREG ADD %KEY%\045 /V 1 /D "%systemdrive%\programas\JREv5.0Update6.exe /s /v\"/qb ADDLOCAL=jrecore MOZILLA=1 IEXPLORER=1" /f::installer: ?REG ADD %KEY%\050 /VE /D "Microsoft .NET Framework 2.0" /fREG ADD %KEY%\050 /V 1 /D "\"%systemdrive%\programas\Microsoft .NET Framework 2.0\install.exe\" /qb /f::REG ADD %KEY%\050 /V 2 /D "\"%systemdrive%\programas\Microsoft .NET Framework 2.0\install.exe\" /s /qb" /f obs: tentei uma vez soh com /qb, sem o /s, e instalou silencioso também!REG ADD %KEY%\055 /VE /D "Nero 6.6.1.4" /fREG ADD %KEY%\055 /V 1 /D "\"%systemdrive%\programas\Nero v6.6.1.4.exe\" /silent /noreboot /no_ui /sn=removed /write_sn" /fREG ADD %KEY%\055 /V 2 /D "\"%systemdrive%\programas\Nero v6.6.1.4 ptg.exe\" /silent /noreboot" /f::installer: ?REG ADD %KEY%\060 /VE /D "Notepad ++" /fREG ADD %KEY%\060 /V 1 /D "%systemdrive%\programas\notepad++v3.8.exe /S" /f::installer: ?REG ADD %KEY%\070 /VE /D "WinRAR 3.61" /fREG ADD %KEY%\070 /V 1 /D "%systemdrive%\programas\wrar361br.exe /s" /f::installer: WinRAR SFX rundll32.exe iernonce.dll,RunOnceExProcessREG ADD %KEY% /V TITLE /D "Instalando Programas Antivirus e Spywares" /fREG ADD %KEY%\001 /VE /D "NOD32 2.51.31 (Atualizado 03/10/2006)" /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\programas\Av-Spw-Adw\nod32entptst2.5.exe /silentmode /norestart" /fREG ADD %KEY%\001 /V 2 /D "%systemdrive%\programas\Av-Spw-Adw\gugutz.nod32.vacinas.v1.1742(03-10-06.04h43m).exe /s" /fREG ADD %KEY%\001 /V 3 /D "regedit.exe /s %systemdrive%\programas\Av-Spw-Adw\NOD32Fix2.1.reg" /fREG ADD %KEY%\001 /V 4 /D "regedit.exe /s %systemdrive%\programas\Av-Spw-Adw\NOD32Fix2.1Scheduler.reg" /f::REG ADD %KEY%\010 /VE /D "avast! Antivirus 4 (Atualizado 22/09/2006)" /f::REG ADD %KEY%\010 /V 1 /D "\"%systemdrive%\programas\Av-Spw-Adw\avast! 4 v4.7 Home Edition.exe\" /SILENT /NORESTART /SP-" /f::REG ADD %KEY%\010 /V 2 /D "%systemdrive%\programas\Av-Spw-Adw\guguZ.avastDatabaseUpdated22-09-06.exe /s" /frundll32.exe iernonce.dll,RunOnceExProcessREG ADD %KEY% /V TITLE /D "Instalando Programas Filesharing" /fREG ADD %KEY%\001 /VE /D "eMule Plus 1.2" /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\programas\Filesharing\eMulePlus1.2.Installer.exe /SILENT SP-" /fREG ADD %KEY%\001 /V 2 /D "%systemdrive%\programas\Filesharing\eMulePlus.configs.exe /s" /f::installer:REG ADD %KEY%\005 /VE /D "K-Lite 2.7.2 nsane install" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\programas\Filesharing\K-Lite272nsane.exe /silent" /fREG ADD %KEY%\005 /V 2 /D "taskkill /F /IM khancer.exe" /fREG ADD %KEY%\005 /V 3 /D "taskkill /F /IM BannedIPsUpdater.exe" /fREG ADD %KEY%\005 /V 4 /D "regedit.exe /s %tweaks%\gugutz.K-LiteTweaks.reg\" /f::installer: ?REG ADD %KEY%\010 /VE /D "Soulseek 157 test 8" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\programas\Filesharing\slsk157test8.exe /S /NRCR" /fREG ADD %KEY%\010 /V 2 /D "%systemdrive%\programas\Filesharing\gugutz.soulseek.configs.exe /s" /f::installer: Nullsoft NSISrundll32.exe iernonce.dll,RunOnceExProcessREG ADD %KEY% /V TITLE /D "Instalando Programas Instant Messaging" /fREG ADD %KEY%\001 /VE /D "ICQPro 2003b build 3916" /fREG ADD %KEY%\001 /V 1 /D "\"%systemdrive%\programas\IMClients\ICQ Pro v2003b Build#3916.exe\" /s" /fREG ADD %KEY%\001 /V 2 /D "taskkill /F /IM icq.exe" /fREG ADD %KEY%\001 /V 3 /D "%systemdrive%\programas\IMClients\gugutz.ICQ2003Patched.exe /s" /fREG ADD %KEY%\001 /V 4 /D "regedit.exe /s %tweaks%\gugutz.ICQTweaks.reg" /f::installer: Wise Installer (pelo menos a versão 5.1 é. confirmar se a 2003 pro também é futuramente.REG ADD %KEY%\005 /VE /D "Windows Live Messenger 8.0.0812" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\programas\IMClients\WindowsLiveMessenger8.0.0812.00\MsnMsgs.msi /qb" /fREG ADD %KEY%\005 /V 2 /D "regedit.exe /s %tweaks%\gugutz.WLMMessPatched.reg" /f::installer: ?rundll32.exe iernonce.dll,RunOnceExProcessREG ADD %KEY% /V TITLE /D "Instalando Programas Multimídia" /fREG ADD %KEY%\001 /VE /D "Exact Audio Copy 0.94b + Lame 3.90.3 (UberStandart - GuguTz Install)" /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\programas\gugutz.EAC.exe /s" /fREG ADD %KEY%\005 /VE /D "Irfan View 3.98 + Plugins" /fREG ADD %KEY%\005 /V 1 /D "\"%systemdrive%\programas\Multimedia\Irfan View v3.98.exe\" /silent /desktop=0 /thumbs=0 /group=1 /allusers=1 /assoc=1 /qb" /fREG ADD %KEY%\005 /V 2 /D "\"%systemdrive%\programas\Multimedia\Irfan View plugins v3.98.exe\" /silent /qb" /fREG ADD %KEY%\005 /V 3 /D "\"%systemdrive%\programas\Multimedia\gugutz.Irfan View pt-br v3.98.exe\" /s /qb" /fREG ADD %KEY%\010 /VE /D "Winamp 5.3" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\programas\Multimedia\winamp53_full_emusic-7plus.exe /S /install=SRFQ" /fREG ADD %KEY%\010 /V 2 /D "taskkill.exe /F /IM winamp.exe" /fREG ADD %KEY%\010 /V 3 /D "%systemdrive%\programas\Multimedia\gugutz.WinampPrefs.exe /s" /fREG ADD %KEY%\010 /V 4 /D "%programfiles%\Winamp\eMusic\Uninst-eMusic-promotion.exe /S" /f::S = Start Menu Icon::R = Fake Registration: = Desk Top Icon::Q = Quicklaunch Icon::A = Run Winamp Agent/Set Dufault::F = File Association::Winamp 5.3 foi tirado da ordem alfabética e colocado antes do K-Lite Mega Codec Pack porque se for instalado depois ele cria associações com arquivos de vídeo, e os vídeos acabam não abrindo com o Media Player ClassicREG ADD %KEY%\015 /VE /D "K-Lite Mega Codec Pack 1.57" /fREG ADD %KEY%\015 /V 1 /D "%systemdrive%\programas\Multimedia\klmcodec157.exe /silent" /f::installer: ?::REG ADD %KEY%\020 /VE /D "Winamp 2.95" /f::REG ADD %KEY%\020 /V 1 /D "\"%systemdrive%\programas\Multimedia\Winamp v2.95 full.exe\" /S /NCRC" /f::REG ADD %KEY%\020 /V 2 /D "%systemdrive%\programas\Multimedia\gugutz.WinampPrefs.exe /s" /frundll32.exe iernonce.dll,RunOnceExProcessREG ADD %KEY% /V TITLE /D "Configurando o Visual do Windows" /fREG ADD %KEY%\001 /VE /D "XPize 4.5.1" /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\programas\XPize451Full.exe /S /NORESTORE /NOBOOT /TAHOMA /SETTINGSPANEL" /fREG ADD %KEY%\005 /VE /D "Tema Luna Element 5.0.5" /fREG ADD %KEY%\005 /V 1 /D "\"%systemdrive%\programas\Luna Element v5.0.5.exe\" /S" /frundll32.exe iernonce.dll,RunOnceExProcessREG ADD %KEY% /V TITLE /D "Instalando XP Powertoys" /fREG ADD %KEY%\001 /VE /D "Open Command Window Here" /fREG ADD %KEY%\001 /V 1 /D "\"%systemdrive%\programas\XP Powertoys\CmdHerePowertoySetup.exe\" /s /v/qb" /fREG ADD %KEY%\002 /VE /D "Virtual Desktop Manager" /fREG ADD %KEY%\002 /V 1 /D "\"%systemdrive%\programas\XP Powertoys\DeskmanPowertoySetup.exe\" /s /v/qb" /fREG ADD %KEY%\003 /VE /D "HTML Slide Show Wizard" /fREG ADD %KEY%\003 /V 1 /D "\"%systemdrive%\programas\XP Powertoys\HtmlgenPowertoySetup.exe\" /s /v/qb" /fREG ADD %KEY%\004 /VE /D "Image Resizer" /fREG ADD %KEY%\004 /V 1 /D "\"%systemdrive%\programas\XP Powertoys\ImageResizerPowertoySetup.exe\" /s /v/qb" /fREG ADD %KEY%\005 /VE /D "Taskbar Magnifier" /fREG ADD %KEY%\005 /V 1 /D "\"%systemdrive%\programas\XP Powertoys\MagnifierPowertoySetup.exe\" /s /v/qb" /fREG ADD %KEY%\006 /VE /D "Power Calculator" /fREG ADD %KEY%\006 /V 1 /D "\"%systemdrive%\programas\XP Powertoys\PowerCalcPowertoySetup.exe\" /s /v/qb" /fREG ADD %KEY%\007 /VE /D "Slide Show Generator" /fREG ADD %KEY%\007 /V 1 /D "\"%systemdrive%\programas\XP Powertoys\SlideshowPowertoySetup.exe\" /s /v/qb" /fREG ADD %KEY%\008 /VE /D "Task Switcher (substituido pelo TaskSwtichXP do XPize" /f::REG ADD %KEY%\008 /V 1 /D "\"%systemdrive%\programas\XP Powertoys\TaskswitchPowertoySetup.exe" /s /v/qb" /fREG ADD %KEY%\009 /VE /D "Webcam Timershot" /fREG ADD %KEY%\009 /V 1 /D "\"%systemdrive%\programas\XP Powertoys\TimershotPowertoySetup.exe\" /s /v/qb" /fREG ADD %KEY%\010 /VE /D "TweakUI" /fREG ADD %KEY%\010 /V 1 /D "\"%systemdrive%\programas\XP Powertoys\TweakUiPowertoySetup.exe\" /s /v/qb" /frundll32.exe iernonce.dll,RunOnceExProcessREG ADD %KEY% /V TITLE /D "Aplicando Modificações de Registro e Sistema" /fREG ADD %KEY%\001 /VE /D "Ativando Barra de Inicializacao Rapida" /fREG ADD %KEY%\001 /V 1 /D "regedit.exe /s %tweaks%\ativar.quick.launch.reg" /fREG ADD %KEY%\005 /VE /D "Associando Extensoes para Firefox" /fREG ADD %KEY%\005 /V 1 /D "regedit.exe /s %tweaks%\(.xpi)abrir.com.firefox.reg" /fREG ADD %KEY%\010 /VE /D "Abrir arquivos desconhecidos com Bloco de Notas" /fREG ADD %KEY%\010 /V 1 /D "regedit.exe /s %tweaks%\abrir.arquivos.sem.extensao.com.bloco.de.notas.reg" /fREG ADD %KEY%\015 /VE /D "Criando associacoes de arquivos" /fREG ADD %KEY%\015 /V 1 /D "%scripts%\gugutz.file.associations.cmd" /frundll32.exe iernonce.dll,RunOnceExProcessREG ADD %KEY% /V TITLE /D "Finalizando a instalacao" /fREG ADD %KEY%\001 /VE /D "Fazendo ajustes finais, limpando arquivos temporarios usados na instalacao e reiniciando" /fREG ADD %KEY%\001 /V 1 /D "%scripts%\gugutz.cleanup.cmd" /fREG ADD %KEY%\010 /VE /D "Configurando Conexoes Dial-Up" /fREG ADD %KEY%\010 /V 1 /D "%scripts%\gugutz.dial-up.config.cmd" /fEXITthe red part is the one witch isn´t working, but it is all set correctly, isn´t it?why would i have to set key to HKCU instead of using the already key HKLM, witch is working for all the lines above this one? Link to comment Share on other sites More sharing options...
kof94 Posted October 6, 2006 Share Posted October 6, 2006 (edited) ...rundll32.exe iernonce.dll,RunOnceExProcessREG ADD %KEY% /V TITLE /D "Finalizando a instalacao" /fREG ADD %KEY%\001 /VE /D "Fazendo ajustes finais, limpando arquivos temporarios usados na instalacao e reiniciando" /fREG ADD %KEY%\001 /V 1 /D "%scripts%\gugutz.cleanup.cmd" /fREG ADD %KEY%\010 /VE /D "Configurando Conexoes Dial-Up" /fREG ADD %KEY%\010 /V 1 /D "%scripts%\gugutz.dial-up.config.cmd" /frundll32.exe iernonce.dll,RunOnceExProcessEXITThe bit in red is what your missing, your not executing your final commands .I posted about this here if you want more info. Edited October 6, 2006 by kof94 Link to comment Share on other sites More sharing options...
gugutz Posted October 6, 2006 Author Share Posted October 6, 2006 ...rundll32.exe iernonce.dll,RunOnceExProcessREG ADD %KEY% /V TITLE /D "Finalizando a instalacao" /fREG ADD %KEY%\001 /VE /D "Fazendo ajustes finais, limpando arquivos temporarios usados na instalacao e reiniciando" /fREG ADD %KEY%\001 /V 1 /D "%scripts%\gugutz.cleanup.cmd" /fREG ADD %KEY%\010 /VE /D "Configurando Conexoes Dial-Up" /fREG ADD %KEY%\010 /V 1 /D "%scripts%\gugutz.dial-up.config.cmd" /frundll32.exe iernonce.dll,RunOnceExProcessEXITThe bit in red is what your missing, your not executing your final commands .I posted about this here if you want more info.REALLY?thanks, man!i didn´t realize it.gonna test it, now.really, really, thanks.btw: another problem is happening now.before, k-lite 2.72 nsane was installing perfectly. Now, when the setup ends, it asks for a reboot!!!???how come? before it didn´t need a reboot, now, suddently, it asks if i want to reboot my system, witch is interrupting the unattended installation process.any sugestions? Link to comment Share on other sites More sharing options...
kof94 Posted October 6, 2006 Share Posted October 6, 2006 btw: another problem is happening now.before, k-lite 2.72 nsane was installing perfectly. Now, when the setup ends, it asks for a reboot!!!???how come? before it didn´t need a reboot, now, suddently, it asks if i want to reboot my system, witch is interrupting the unattended installation process.Sorry but I have no idea. I use K-lite mega codec pack with the standard Inno /SILENT switch (for default install), hasn't ever asked for a restart.If 2.72 nsane uses Inno Setup just add the /NORESTART switch. 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