Jump to content

3 questions!


Recommended Posts

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

:P

Link to comment
Share on other sites


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 after

the 8th window has been fnished running from LM-ROE (KEY=HKLM\...).

Link to comment
Share on other sites

i didn´t forget the run32.dll line

and i don´t have a second cmd

i use only 1 RunOnceEx.cmd to configure the whole thing, then all i would need is one reboot to complete the entire installation

here goes my RunOnceEx, runned from GuiRunOnce:

cmdow @ /HID

@echo off

::Este RunOnceEx.cmd é pra ser usado na linha GuiRunRonce do arquivo WINT.SIF

FOR %%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=%%D

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

SET SCRIPTS=%CDROM%\gugutz.scripts

SET TWEAKS=%CDROM%\gugutz.tweaks

REG ADD %KEY% /V TITLE /D "Instalando Programas" /f

REG 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" /f

REG ADD %KEY%\005 /VE /D "CCleaner 1.33.382" /f

REG ADD %KEY%\005 /V 1 /D "%systemdrive%\programas\ccleanersetup1.33.382.exe /S" /f

::installer: Nulsoft NSIS

REG ADD %KEY%\020 /VE /D "Dicionario Michaelis (3 Idiomas)" /f

REG ADD %KEY%\020 /V 1 /D "\"%systemdrive%\programas\Dicionario Michaelis\Instala.exe\" /f

REG ADD %KEY%\025 /VE /D "Firefox 1.5.0.7" /f

REG ADD %KEY%\025 /V 1 /D "\"%systemdrive%\programas\Firefox\Firefox Setup 1.5.0.7.exe\" -ms -ira -SetDefaultBrowser" /f

REG ADD %KEY%\025 /V 2 /D "%systemdrive%\programas\Firefox\Plugins\FirefoxFlashPlugin.exe" /f

REG ADD %KEY%\025 /V 3 /D "%systemdrive%\programas\Firefox\Plugins\firefoxshockwaveplugin.exe" /f

REG 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" /f

REG ADD %KEY%\035 /V 1 /D "\"%systemdrive%\programas\GetRight Professional v6.0b.exe\" /s" /f

REG ADD %KEY%\035 /V 2 /D "nircmd" wait 2000" /f

REG ADD %KEY%\035 /V 3 /D "taskkill /F /IM getright.exe" /f

REG 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" /f

REG ADD %KEY%\040 /V 1 /D "%systemdrive%\programas\ImageShackToolbar.exe /passive" /f

REG ADD %KEY%\040 /V 2 /D "taskkill /F /IM iexplore.exe" /f

::installer: Install Shield

REG ADD %KEY%\045 /VE /D "Java Runtime Environment 5.0 Update 6" /f

REG 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" /f

REG 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" /f

REG ADD %KEY%\055 /V 1 /D "\"%systemdrive%\programas\Nero v6.6.1.4.exe\" /silent /noreboot /no_ui /sn=removed /write_sn" /f

REG 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 ++" /f

REG ADD %KEY%\060 /V 1 /D "%systemdrive%\programas\notepad++v3.8.exe /S" /f

::installer: ?

REG ADD %KEY%\070 /VE /D "WinRAR 3.61" /f

REG ADD %KEY%\070 /V 1 /D "%systemdrive%\programas\wrar361br.exe /s" /f

::installer: WinRAR SFX

rundll32.exe iernonce.dll,RunOnceExProcess

REG ADD %KEY% /V TITLE /D "Instalando Programas Antivirus e Spywares" /f

REG ADD %KEY%\001 /VE /D "NOD32 2.51.31 (Atualizado 03/10/2006)" /f

REG ADD %KEY%\001 /V 1 /D "%systemdrive%\programas\Av-Spw-Adw\nod32entptst2.5.exe /silentmode /norestart" /f

REG ADD %KEY%\001 /V 2 /D "%systemdrive%\programas\Av-Spw-Adw\gugutz.nod32.vacinas.v1.1742(03-10-06.04h43m).exe /s" /f

REG ADD %KEY%\001 /V 3 /D "regedit.exe /s %systemdrive%\programas\Av-Spw-Adw\NOD32Fix2.1.reg" /f

REG 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" /f

rundll32.exe iernonce.dll,RunOnceExProcess

REG ADD %KEY% /V TITLE /D "Instalando Programas Filesharing" /f

REG ADD %KEY%\001 /VE /D "eMule Plus 1.2" /f

REG ADD %KEY%\001 /V 1 /D "%systemdrive%\programas\Filesharing\eMulePlus1.2.Installer.exe /SILENT SP-" /f

REG 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" /f

REG ADD %KEY%\005 /V 1 /D "%systemdrive%\programas\Filesharing\K-Lite272nsane.exe /silent" /f

REG ADD %KEY%\005 /V 2 /D "taskkill /F /IM khancer.exe" /f

REG ADD %KEY%\005 /V 3 /D "taskkill /F /IM BannedIPsUpdater.exe" /f

REG 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" /f

REG ADD %KEY%\010 /V 1 /D "%systemdrive%\programas\Filesharing\slsk157test8.exe /S /NRCR" /f

REG ADD %KEY%\010 /V 2 /D "%systemdrive%\programas\Filesharing\gugutz.soulseek.configs.exe /s" /f

::installer: Nullsoft NSIS

rundll32.exe iernonce.dll,RunOnceExProcess

REG ADD %KEY% /V TITLE /D "Instalando Programas Instant Messaging" /f

REG ADD %KEY%\001 /VE /D "ICQPro 2003b build 3916" /f

REG ADD %KEY%\001 /V 1 /D "\"%systemdrive%\programas\IMClients\ICQ Pro v2003b Build#3916.exe\" /s" /f

REG ADD %KEY%\001 /V 2 /D "taskkill /F /IM icq.exe" /f

REG ADD %KEY%\001 /V 3 /D "%systemdrive%\programas\IMClients\gugutz.ICQ2003Patched.exe /s" /f

REG 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" /f

REG ADD %KEY%\005 /V 1 /D "%systemdrive%\programas\IMClients\WindowsLiveMessenger8.0.0812.00\MsnMsgs.msi /qb" /f

REG ADD %KEY%\005 /V 2 /D "regedit.exe /s %tweaks%\gugutz.WLMMessPatched.reg" /f

::installer: ?

rundll32.exe iernonce.dll,RunOnceExProcess

REG ADD %KEY% /V TITLE /D "Instalando Programas Multimídia" /f

REG ADD %KEY%\001 /VE /D "Exact Audio Copy 0.94b + Lame 3.90.3 (UberStandart - GuguTz Install)" /f

REG ADD %KEY%\001 /V 1 /D "%systemdrive%\programas\gugutz.EAC.exe /s" /f

REG ADD %KEY%\005 /VE /D "Irfan View 3.98 + Plugins" /f

REG 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" /f

REG ADD %KEY%\005 /V 2 /D "\"%systemdrive%\programas\Multimedia\Irfan View plugins v3.98.exe\" /silent /qb" /f

REG ADD %KEY%\005 /V 3 /D "\"%systemdrive%\programas\Multimedia\gugutz.Irfan View pt-br v3.98.exe\" /s /qb" /f

REG ADD %KEY%\010 /VE /D "Winamp 5.3" /f

REG ADD %KEY%\010 /V 1 /D "%systemdrive%\programas\Multimedia\winamp53_full_emusic-7plus.exe /S /install=SRFQ" /f

REG ADD %KEY%\010 /V 2 /D "taskkill.exe /F /IM winamp.exe" /f

REG ADD %KEY%\010 /V 3 /D "%systemdrive%\programas\Multimedia\gugutz.WinampPrefs.exe /s" /f

REG ADD %KEY%\010 /V 4 /D "%programfiles%\Winamp\eMusic\Uninst-eMusic-promotion.exe /S" /f

::S = Start Menu Icon

::R = Fake Registration

::D = 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 Classic

REG ADD %KEY%\015 /VE /D "K-Lite Mega Codec Pack 1.57" /f

REG 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" /f

rundll32.exe iernonce.dll,RunOnceExProcess

REG ADD %KEY% /V TITLE /D "Configurando o Visual do Windows" /f

REG ADD %KEY%\001 /VE /D "XPize 4.5.1" /f

REG ADD %KEY%\001 /V 1 /D "%systemdrive%\programas\XPize451Full.exe /S /NORESTORE /NOBOOT /TAHOMA /SETTINGSPANEL" /f

REG ADD %KEY%\005 /VE /D "Tema Luna Element 5.0.5" /f

REG ADD %KEY%\005 /V 1 /D "\"%systemdrive%\programas\Luna Element v5.0.5.exe\" /S" /f

rundll32.exe iernonce.dll,RunOnceExProcess

REG ADD %KEY% /V TITLE /D "Instalando XP Powertoys" /f

REG ADD %KEY%\001 /VE /D "Open Command Window Here" /f

REG ADD %KEY%\001 /V 1 /D "\"%systemdrive%\programas\XP Powertoys\CmdHerePowertoySetup.exe\" /s /v/qb" /f

REG ADD %KEY%\002 /VE /D "Virtual Desktop Manager" /f

REG ADD %KEY%\002 /V 1 /D "\"%systemdrive%\programas\XP Powertoys\DeskmanPowertoySetup.exe\" /s /v/qb" /f

REG ADD %KEY%\003 /VE /D "HTML Slide Show Wizard" /f

REG ADD %KEY%\003 /V 1 /D "\"%systemdrive%\programas\XP Powertoys\HtmlgenPowertoySetup.exe\" /s /v/qb" /f

REG ADD %KEY%\004 /VE /D "Image Resizer" /f

REG ADD %KEY%\004 /V 1 /D "\"%systemdrive%\programas\XP Powertoys\ImageResizerPowertoySetup.exe\" /s /v/qb" /f

REG ADD %KEY%\005 /VE /D "Taskbar Magnifier" /f

REG ADD %KEY%\005 /V 1 /D "\"%systemdrive%\programas\XP Powertoys\MagnifierPowertoySetup.exe\" /s /v/qb" /f

REG ADD %KEY%\006 /VE /D "Power Calculator" /f

REG ADD %KEY%\006 /V 1 /D "\"%systemdrive%\programas\XP Powertoys\PowerCalcPowertoySetup.exe\" /s /v/qb" /f

REG ADD %KEY%\007 /VE /D "Slide Show Generator" /f

REG ADD %KEY%\007 /V 1 /D "\"%systemdrive%\programas\XP Powertoys\SlideshowPowertoySetup.exe\" /s /v/qb" /f

REG 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" /f

REG ADD %KEY%\009 /VE /D "Webcam Timershot" /f

REG ADD %KEY%\009 /V 1 /D "\"%systemdrive%\programas\XP Powertoys\TimershotPowertoySetup.exe\" /s /v/qb" /f

REG ADD %KEY%\010 /VE /D "TweakUI" /f

REG ADD %KEY%\010 /V 1 /D "\"%systemdrive%\programas\XP Powertoys\TweakUiPowertoySetup.exe\" /s /v/qb" /f

rundll32.exe iernonce.dll,RunOnceExProcess

REG ADD %KEY% /V TITLE /D "Aplicando Modificações de Registro e Sistema" /f

REG ADD %KEY%\001 /VE /D "Ativando Barra de Inicializacao Rapida" /f

REG ADD %KEY%\001 /V 1 /D "regedit.exe /s %tweaks%\ativar.quick.launch.reg" /f

REG ADD %KEY%\005 /VE /D "Associando Extensoes para Firefox" /f

REG ADD %KEY%\005 /V 1 /D "regedit.exe /s %tweaks%\(.xpi)abrir.com.firefox.reg" /f

REG ADD %KEY%\010 /VE /D "Abrir arquivos desconhecidos com Bloco de Notas" /f

REG ADD %KEY%\010 /V 1 /D "regedit.exe /s %tweaks%\abrir.arquivos.sem.extensao.com.bloco.de.notas.reg" /f

REG ADD %KEY%\015 /VE /D "Criando associacoes de arquivos" /f

REG ADD %KEY%\015 /V 1 /D "%scripts%\gugutz.file.associations.cmd" /f

rundll32.exe iernonce.dll,RunOnceExProcess

REG ADD %KEY% /V TITLE /D "Finalizando a instalacao" /f

REG ADD %KEY%\001 /VE /D "Fazendo ajustes finais, limpando arquivos temporarios usados na instalacao e reiniciando" /f

REG ADD %KEY%\001 /V 1 /D "%scripts%\gugutz.cleanup.cmd" /f

REG ADD %KEY%\010 /VE /D "Configurando Conexoes Dial-Up" /f

REG ADD %KEY%\010 /V 1 /D "%scripts%\gugutz.dial-up.config.cmd" /f

EXIT

the 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

...

rundll32.exe iernonce.dll,RunOnceExProcess

REG ADD %KEY% /V TITLE /D "Finalizando a instalacao" /f

REG ADD %KEY%\001 /VE /D "Fazendo ajustes finais, limpando arquivos temporarios usados na instalacao e reiniciando" /f

REG ADD %KEY%\001 /V 1 /D "%scripts%\gugutz.cleanup.cmd" /f

REG ADD %KEY%\010 /VE /D "Configurando Conexoes Dial-Up" /f

REG ADD %KEY%\010 /V 1 /D "%scripts%\gugutz.dial-up.config.cmd" /f

rundll32.exe iernonce.dll,RunOnceExProcess

EXIT

The bit in red is what your missing, your not executing your final commands ;) .

I posted about this here if you want more info.

Edited by kof94
Link to comment
Share on other sites

...

rundll32.exe iernonce.dll,RunOnceExProcess

REG ADD %KEY% /V TITLE /D "Finalizando a instalacao" /f

REG ADD %KEY%\001 /VE /D "Fazendo ajustes finais, limpando arquivos temporarios usados na instalacao e reiniciando" /f

REG ADD %KEY%\001 /V 1 /D "%scripts%\gugutz.cleanup.cmd" /f

REG ADD %KEY%\010 /VE /D "Configurando Conexoes Dial-Up" /f

REG ADD %KEY%\010 /V 1 /D "%scripts%\gugutz.dial-up.config.cmd" /f

rundll32.exe iernonce.dll,RunOnceExProcess

EXIT

The 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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...