Jump to content
MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. ×

My First RunOnceEx (v0.1)


Recommended Posts

Hi!

First of all, thanks for this forum

I'm completly newy in this kind of software, but i so interested in this

Here is my first version of RunOnceEx.cmd; i'm sure i made some mistakes

@echo off
cmdow @ /HID

FOR %%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:\win51ip.SP2 SET CDROM=%%i:

SET PP=%cdrom%\Install\SCP\

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


REG ADD %KEY% /V TITLE /D "Instalando aplicaciones extras" /f

REG ADD %KEY%\000 /VE /D ".NET Framework v2" /f
REG ADD %KEY%\000 /V 1 /D "%PP%dotnetfx.exe\"" /f

REG ADD %KEY%\001 /VE /D "Nero Burning Rom v 6.0.6.16" /f
REG ADD %KEY%\001 /V 1 /D "%PP%Nero-6.6.0.16.exe /SILENT /NOLICENCE /NOREBOOT /SN=xxxxxxxxxxxxxxxxx /WRITE_SN" /f
REG ADD %KEY%\001 /V 2 /D "%PP%Nero-6.6.0.16_esp.exe /SILENT /NOLICENCE /NOREBBOT" /f

REG ADD %KEY%\002 /VE /D "UltraIso v7.65" /f
REG ADD %KEY%\002 /V 1 /D "%PP%uiso7_me.exe /verysilent" /f
REG ADD %KEY%\002 /V 2 /D "REGEDIT /S %PP%Ultraiso.reg" /f

REG ADD %KEY%\003 /VE /D "Windows Media Player 10" /f
REG ADD %KEY%\003 /V 1 /D "\"%PP%wmp10.exe /Q:A /R:N" /f

REG ADD %KEY%\004 /VE /D "WinRAR 3.50" /f
REG ADD %KEY%\004 /V 1 /D "%PP%WinRAR.exe /s" /f

REG ADD %KEY%\005 /VE /D "Sun Java VM 1.4.2.05" /f
REG ADD %KEY%\005 /V 1 /D "%PP%j2re-1_4_2_09-windows-i586-p.exe /s /v\"/qb IEXPLORER=1 REBOOT=ReallySuppress\"" /f

REG ADD %KEY%\006 /VE /D "Outpost Firewall v3" /f
REG ADD %KEY%\006 /V 1 /D "%PP%OutpostProInstall3.exe /VERYSILENT /NORESTART /SP /GROUP=\"Firewall\"" /f

I think all is ok, but when i try to install outpust, it open a "wizard" to select my default options :( and i'm not sure if this will work at the clean installation of windows xp (modded with nLite).

Any comment? :blushing:

It's my first post :hello:

Edited by la_ostia
Link to post
Share on other sites

Yes - Why does everyone insist on giving out their Nero serial numbers

also, just a little side note, since you are not using the %CDROM% variable directly, why waste a line, especially as the most important line is missing (IF NOT DEFINED PP GOTO :EOF)

@ECHO OFF & SETLOCAL
CMDOW @ /HID
FOR %%? 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 %%?:\INSTALL\SCP SET PP=%%?:\INSTALL\SCP\
IF NOT DEFINED PP GOTO :EOF
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Instalando aplicaciones extras" /F

REG ADD %KEY%\000 /VE /D ".NET Framework v2" /F
REG ADD %KEY%\000 /V 1 /D "%PP%dotnetfx.exe\"" /F

REG ADD %KEY%\001 /VE /D "Nero Burning Rom v 6.0.6.16" /F
REG ADD %KEY%\001 /V 1 /D "%PP%Nero-6.6.0.16.exe /SILENT /NOLICENCE /NOREBOOT /SN=XXXX-XXXX-XXXX-XXXX-XXXX-XXXX /WRITE_SN" /F
REG ADD %KEY%\001 /V 2 /D "%PP%Nero-6.6.0.16_esp.exe /SILENT /NOLICENCE /NOREBBOT" /F

REG ADD %KEY%\002 /VE /D "UltraIso v7.65" /F
REG ADD %KEY%\002 /V 1 /D "%PP%uiso7_me.exe /verysilent" /F
REG ADD %KEY%\002 /V 2 /D "REGEDIT /S %PP%Ultraiso.reg" /F

REG ADD %KEY%\003 /VE /D "Windows Media Player 10" /F
REG ADD %KEY%\003 /V 1 /D "\"%PP%wmp10.exe /Q:A /R:N" /F

REG ADD %KEY%\004 /VE /D "WinRAR 3.50" /F
REG ADD %KEY%\004 /V 1 /D "%PP%WinRAR.exe /s" /F

REG ADD %KEY%\005 /VE /D "Sun Java VM 1.4.2.05" /F
REG ADD %KEY%\005 /V 1 /D "%PP%j2re-1_4_2_09-windows-i586-p.exe /s /v\"/qb IEXPLORER=1 REBOOT=ReallySuppress\"" /F

REG ADD %KEY%\006 /VE /D "Outpost Firewall v3" /F
REG ADD %KEY%\006 /V 1 /D "%PP%OutpostProInstall3.exe /VERYSILENT /NORESTART /SP /GROUP=\"Firewall\"" /F

ENDLOCAL & GOTO :EOF

<Edit>

The switches etc. have not even been looked at.

</Edit.

Edited by Yzöwl
Link to post
Share on other sites

these lines

REG ADD %KEY%\000 /VE /D ".NET Framework v2" /f
REG ADD %KEY%\000 /V 1 /D "%PP%dotnetfx.exe\"" /f

REG ADD %KEY%\003 /VE /D "Windows Media Player 10" /f
REG ADD %KEY%\003 /V 1 /D "\"%PP%wmp10.exe /Q:A /R:N" /f

should be

REG ADD %KEY%\000 /VE /D ".NET Framework v2" /f
REG ADD %KEY%\000 /V 1 /D "%PP%dotnetfx.exe" /f

REG ADD %KEY%\003 /VE /D "Windows Media Player 10" /f
REG ADD %KEY%\003 /V 1 /D "%PP%wmp10.exe /Q:A /R:N" /f

that's the only error i've found

Edited by eagle00789
Link to post
Share on other sites

Well,i just have amore elaborated cmd, but i have a little problem:

When i install it, "install" and "drivers" folder from $OEM$ go to c:\ , and i dont know why, i dont put any "COPY" :S

It's my new code:

@echo off
cmdow @ /HID

FOR %%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:\win51ip.SP2 SET CDROM=%%i:

SET PP=%cdrom%\$OEM$\$1\Install\SCP\

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

REG ADD %KEY% /V TITLE /D "Instalando aplicaciones extras" /f

REG ADD %KEY%\000 /VE /D ".NET Framework v2" /f
REG ADD %KEY%\000 /V 1 /D "%PP%net\dotnetfx.exe" /f

REG ADD %KEY%\001 /VE /D "Adobe Acrobat Reader 7" /f
REG ADD %KEY%\001 /V 1 /D "%PP%Adobereader\Setup Files\RdrBig\ESP\AR7.msi /quiet /norestart" /f
REG ADD %KEY%\001 /V 2 /D "%PP%Adobereader\AR1.msi /quiet /norestart" /f
REG ADD %KEY%\001 /V 3 /D "%PP%Adobereader\AR2.msi /quiet /norestart" /f
REG ADD %KEY%\001 /V 4 /D "%PP%Adobereader\AR3.msi /quiet /norestart" /f

REG ADD %KEY%\002 /VE /D "Antivirus Nod32 2.5" /f
REG ADD %KEY%\002 /V 1 /D "%PP%nod32\setup.exe /silentmode /instmfc" /f
REG ADD %KEY%\002 /V 2 /D "%PP%nod32\fix.exe /silentmode" /f
REG ADD %KEY%\002 /V 3 /D "REGEDIT /S %PP%\nod32\nod32.reg" /f

REG ADD %KEY%\003 /VE /D "FlashGet v1.65" /f
REG ADD %KEY%\003 /V 1 /D "%PP%flashget\fgf165.exe /S" /f
REG ADD %KEY%\003 /V 2 /D "REGEDIT /S %PP%flashget\flashget.reg" /f

REG ADD %KEY%\004 /VE /D "Mozilla Firefox 1.5 beta 2" /f
REG ADD %KEY%\004 /V 1 /D "%PP%firefox\firefoxsilent.exe" /f

REG ADD %KEY%\005 /VE /D "Nero Burning Rom v 6.0.6.16" /f
REG ADD %KEY%\005 /V 1 /D "%PP%nero\Nero-6.6.0.16.exe /SILENT /NOLICENCE /NOREBOOT /SN=MY SERIAL /WRITE_SN" /f
REG ADD %KEY%\005 /V 2 /D "%PP%nero\Nero-6.6.0.16_esp.exe /SILENT /NOLICENCE /NOREBBOT" /f

REG ADD %KEY%\006 /VE /D "Outpost Firewall v3" /f
REG ADD %KEY%\006 /V 1 /D "%PP%firewall\OutpostProInstall3.exe /VERYSILENT /NORESTART /SP /LANG=\"es\" /GROUP=\"Firewall\"" /f

REG ADD %KEY%\007 /VE /D "Sun Java VM 1.4.2.05" /f
REG ADD %KEY%\007 /V 1 /D "%PP%java\j2re-1_4_2_09-windows-i586-p.exe /s /v\"/qb IEXPLORER=1 REBOOT=ReallySuppress\"" /f

REG ADD %KEY%\008 /VE /D "UltraIso v7.65" /f
REG ADD %KEY%\008 /V 1 /D "%PP%ultraiso\uiso7_me.exe /VERYSILENT" /f
REG ADD %KEY%\008 /V 2 /D "REGEDIT /S %PP%ultraiso\Ultraiso.reg" /f

REG ADD %KEY%\009 /VE /D "Windows Media Player 10" /f
REG ADD %KEY%\009 /V 1 /D "%PP%wmp\wmp10.exe /Q:A /R:N" /f

REG ADD %KEY%\010 /VE /D "Códecs de video y audio" /f
REG ADD %KEY%\010 /V 1 /D "%PP%codecs\klmcodec139beta4.exe /VERYSILENT" /f

REG ADD %KEY%\011 /VE /D "WinRAR 3.50" /f
REG ADD %KEY%\011 /V 1 /D "%PP%winrar\WinRAR.exe /s" /f

REG ADD %KEY%\010/VE /D "WindowsVista Inspirated 1.1" /f
REG ADD %KEY%\010/V 1 /D "%PP%vista\vista.exe /S /NORESTART " /f

REG ADD %KEY%\010/VE /D "Limpiando y configurando windows" /f
REG ADD %KEY%\010/V 1 /D "limpiar.bat " /f

EXIT

Edited by la_ostia
Link to post
Share on other sites
Well,i just have amore elaborated cmd, but i have a little problem:

When i install it, "install" and "drivers" folder from $OEM$ go to c:\ , and i dont know why, i dont put any "COPY" :S

That is the standard behaviour when using the $OEM$ folder :D:D:D:D:D

Link to post
Share on other sites

ya u can delete them using RD /S /Q in a batch file, or u can just tell your stuff there on CD, & to get what it needs from there, saves time but is more elaborate

Link to post
Share on other sites

I'm trying to use the RunOnceEx.cmd to copy files from the Win2000 install cd (x:\software\app\subfolders\files) on the root of the c: drive during the install. I've looked at the RunOnceEx.cmd file and can't figure out where I can do this.

REG ADD %KEY%\001 /VE /D "Adobe Acrobat Reader 7" /f

REG ADD %KEY%\001 /V 1 /D "%PP%Adobereader\Setup Files\RdrBig\ESP\AR7.msi /quiet /norestart" /f

REG ADD %KEY%\001 /V 2 /D "%PP%Adobereader\AR1.msi /quiet /norestart" /f

This is taked from the code frm 'la_ostia'. This app has a msi or set up type program that will run in slient mode of some sort. What about a home grown app that you don't have a setup or msi type install available and you have to copy everything. And you have to copy files within the hd afterwards?

Any suggestions would be helpful.

Link to post
Share on other sites

I dont know if i understand you well, but i think tou ask about AR7.msi file, not?

Try to install your adobe acrobat reader (only make two click's on the exe file). When the app says "extractin 100%", look at your default folder (maybe c:\program files\adobe), and search Setup Files\RdrBig\YOURCOUNTRY\file.msi This is the msi that you need to install.

And AR1.msi is the 7.0.1 fix (do the same)

Link to post
Share on other sites

la_ostia;

My question is not about Adobe it's about generic software. I put the code there as an example of what the normal .cmd file looks like. What I want to do is to copy software from the win2000 cd onto the root of the C: drive.

I think I may have accomplished this with a .bat file but I'm really not sure.

Thanks for the attempt to answer the question.

Link to post
Share on other sites

read this page..

http://unattended.msfn.org/global/cmdlines.htm

in your runonce, add an extra file at the end called cleaup.cmd

and create a file called cleanup.cmd (I place mine in my windows directory)

in that have..

rd /s /q C:\Drivers

rd /s /q C:\Install

that will be called AFTER your programs are installed so will remove the directories once its installed everything :)

Link to post
Share on other sites

Well, it's my final RunOnceEx.cmd

@echo off
cmdow @ /HID


FOR %%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:\win51ip.SP2 SET CDROM=%%i:

SET PP=%SYSTEMDRIVE%\Install\SCP\

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

REG ADD %KEY% /V TITLE /D " .: Instalando aplicaciones extras :." /f

REG ADD %KEY%\000 /VE /D ".NET Framework v2" /f
REG ADD %KEY%\000 /V 1 /D "%PP%net\dotnetfx.exe" /f

REG ADD %KEY%\001 /VE /D "Adobe Acrobat Reader 7" /f
REG ADD %KEY%\001 /V 1 /D "%PP%Adobereader\Setup\RdrBig\ESP\AR7.msi /quiet /norestart" /f
REG ADD %KEY%\001 /V 2 /D "%PP%Adobereader\AR1.msi /quiet /norestart" /f
REG ADD %KEY%\001 /V 3 /D "%PP%Adobereader\AR2.msi /quiet /norestart" /f
REG ADD %KEY%\001 /V 4 /D "%PP%Adobereader\AR3.msi /quiet /norestart" /f

REG ADD %KEY%\002 /VE /D "Antivirus Nod 32 2.5" /f
REG ADD %KEY%\002 /V 1 /D "%PP%nod32\setup.exe /silentmode /instmfc" /f
REG ADD %KEY%\002 /V 2 /D "%PP%nod32\fix.exe /verysilent /norestart" /f
REG ADD %KEY%\002 /V 3 /D "REGEDIT /S %PP%\nod32\nod32.reg" /f

REG ADD %KEY%\003 /VE /D "Azureus 2.3.0.4" /f
REG ADD %KEY%\003 /V 1 /D "%PP%azureus\Azureus_2.3.0.4.exe /S" /f

REG ADD %KEY%\004 /VE /D "CCleaner 1.25" /f
REG ADD %KEY%\004 /V 1 /D "%PP%ccleaner\ccsetup125.exe /S" /f

REG ADD %KEY%\005 /VE /D "FlashGet 1.65" /f
REG ADD %KEY%\005 /V 1 /D "%PP%flashget\fgf165.exe /S" /f
REG ADD %KEY%\005 /V 2 /D "REGEDIT /S %PP%flashget\flashget.reg" /f

REG ADD %KEY%\006 /VE /D "Firefox 1.5 beta 2" /f
REG ADD %KEY%\006 /V 1 /D "%PP%firefox\firefoxsilent.exe" /f

REG ADD %KEY%\007 /VE /D "Gimp 2.2.9" /f
REG ADD %KEY%\007 /V 1 /D "%PP%gimp\gtk+-2.6.9.exe /VERYSILENT /NORESTART /LANG=es" /f
REG ADD %KEY%\007 /V 2 /D "%PP%gimp\gimp-2.2.9.exe /VERYSILENT /NORESTART /LANG=es" /f

REG ADD %KEY%\008 /VE /D "Java VM 1.5.0.05" /f
REG ADD %KEY%\008 /V 1 /D "%PP%java\jre-1_5_0_05-windows-i586-p.exe /s /v\"/qb IEXPLORER=1 REBOOT=ReallySuppress\"" /f

REG ADD %KEY%\009 /VE /D "Nero Burning Rom v 6.0.6.16" /f
REG ADD %KEY%\009 /V 1 /D "%PP%nero\Nero-6.6.0.16.exe /SILENT /NOLICENCE /NOREBOOT /SN=My serial /WRITE_SN" /f
REG ADD %KEY%\009 /V 2 /D "%PP%nero\Nero-6.6.0.16_esp.exe /SILENT /NOLICENCE /NOREBBOT" /f

REG ADD %KEY%\010 /VE /D "Openoffice 2.0" /f
REG ADD %KEY%\010 /V 1 /D "%PP%openoffice\openofficeorg20.msi -qn" /f
REG ADD %KEY%\010 /V 2 /D "%PP%openoffice\ES\openofficeorg20.msi -qn" /f

REG ADD %KEY%\011 /VE /D "UltraIso v7.65" /f
REG ADD %KEY%\011 /V 1 /D "%PP%ultraiso\uiso7_me.exe /VERYSILENT" /f
REG ADD %KEY%\011 /V 2 /D "REGEDIT /S %PP%ultraiso\Ultraiso.reg" /f

REG ADD %KEY%\012 /VE /D "VLC Media Player 0.8.2" /f
REG ADD %KEY%\012 /V 1 /D "%PP%vlc\vlc-0.8.2.exe /S" /f

REG ADD %KEY%\013 /VE /D "Windows Media Player 10" /f
REG ADD %KEY%\013 /V 1 /D "%PP%wmp\wmp10.exe /Q:A /R:N" /f

REG ADD %KEY%\014 /VE /D "WinRAR 3.50" /f
REG ADD %KEY%\014 /V 1 /D "%PP%winrar\WinRAR.exe /s" /f

REG ADD %KEY%\015 /VE /D "Windows Vista Inspirated 1.1" /f
REG ADD %KEY%\015 /V 1 /D "%PP%vista\vista.exe /S /NORESTART " /f

REG ADD %KEY%\016 /VE /D "Limpiando y configurando windows" /f
REG ADD %KEY%\016 /V 1 /D "%cdrom%\$OEM$\limpiar.bat " /f

EXIT

But i have a problem with "limpiar.bat", it cannot be executed (almost at RunOneEx.cmd) :(

My bat ile is this:

@echo off


"%SYSTEMDRIVE%WINDOWS\BricoPacks\Vista Inspirat\Pack It!.exe --appdisable YzToolBar"
"%SYSTEMDRIVE%WINDOWS\BricoPacks\Vista Inspirat\Pack It!.exe --appdisable ObjectDock"

DEL "%AllUsersProfile%\Escritorio\*.lnk" /S
DEL "%USERPROFILE%\Escritorio\*.lnk" /S

COPY "%USERPROFILE%\MENINI~1\Progra~1\Acceso~1\Explor~1.lnk" "%USERPROFILE%\Escrit~1\Explorador.lnk"

RD "%SYSTEMDRIVE%\Drivers" /S /Q
RD "%SYSTEMDRIVE%\Install" /S /Q

DEL "%USERPROFILE%\MENINI~1\Progra~1\Bricomix*" /S /Q
DEL "%USERPROFILE%\MENINI~1\Progra~1\Inicio\*.*" /S /Q
DEL "%USERPROFILE%\MENINI~1\Progra~1\CrystalXP*" /S /Q
DEL "%USERPROFILE%\MENINI~1\Progra~1\Extras*" /S /Q
DEL "%USERPROFILE%\MENINI~1\Progra~1\Remove Vista*" /S /Q
DEL "%USERPROFILE%\MENINI~1\Progra~1\Update Vista*" /S /Q
RD "%USERPROFILE%\MENINI~1\Progra~1\Y'z Toolbar" /S /Q
RD "%USERPROFILE%\MENINI~1\Progra~1\ObjectDock" /S /Q
RD "%USERPROFILE%\MENINI~1\Progra~1\iColorFolder" /S /Q
RD "%SYSTEMDRIVE%WINDOWS\BricoPacks\Vista Inspirat\ObjectDock" /S /Q
RD "%SYSTEMDRIVE%WINDOWS\BricoPacks\Vista Inspirat\YzToolbar" /S /Q


RENAME "%AllUsersProfile%\MENINI~1\Progra~1\Eset" Antivirus

SET D=%SYSTEMROOT%\system32\

REM Importado del Codec Unattended

REG ADD "HKCR\Applications\gspot.exe\shell\open\command" /d "%systemroot%\System32\gspot.exe %%1" /ve /f
REG ADD "HKLM\SOFTWARE\Microsoft\WMV9_VCM" /d "%systemroot%\System32" /v "File Location" /f

regsvr32 /s %D%ac3filter.ax
regsvr32 /s %D%CLVSD.ax
regsvr32 /s %D%divxdec.ax
regsvr32 /s %D%mpeg2dmx.ax
regsvr32 /s %D%CoreVorbis.ax
regsvr32 /s %D%iac25_32.ax
regsvr32 /s %D%Ivfsrc.ax
regsvr32 /s %D%vp6dec.ax
regsvr32 /s %D%ir41_32.ax
regsvr32 /s %D%OggDS.dll
regsvr32 /s %D%wmvdmod.dll
regsvr32 /s %D%wmsdmod.dll
regsvr32 /s %D%wmadmod.dll
regsvr32 /s %D%wmspdmod.dll
regsvr32 /s %D%xvid.ax
regsvr32 /s %D%VSFilter.dll
regedit /s %D%codecreg.reg

DEL %D%\L3codeca.acm /Q

If i aply it after RunOnceEx had finish,it works well ( lines with: "%SYSTEMDRIVE%WINDOWS\BricoPacks\Vista Inspirat\Pack It!.exe" dont work, i dont know how "delete" blanks in "Vista Inspirat" and Pack It!")

Any idea?

Maybe i need to use cleaup.cmd?

Or including this at cmdlines.txt:

[COMMANDS]

"RunOnceEx.cmd"

"Limpiar.bat"

Or only admit cmd files?

It possible change my bat file into a cmd file?

Edited by la_ostia
Link to post
Share on other sites

I try editing my cmdlines.txt:

[COMMANDS]

"RunOnceEx.cmd"

"Limpiar.cmd"

But, i think, it execute before Limpiar.cmd than RunOnceEx,because y haven't got any in folder like c:\Install when RunOnceEx try to install apps.

Maybe itsfor letter priority (Limpiarbefore RunOnceEx ???

Link to post
Share on other sites

I justd fihished my RunOnceEx and my Limpiar.cmd :thumbup

Thanks to all who help my to do it.

And this is my final cdmlines.txt RunOnceEx.cmd and Limpiar.cmd and dir situation:

cmdlines (at $OEM$)

[COMMANDS]
"RunOnceEx.cmd"

RunOnceEx.cmd (at $OEM$)

@echo off
cmdow @ /HID


FOR %%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:\win51ip.SP2 SET CDROM=%%i:

SET PP=%SYSTEMDRIVE%\Install\SCP\

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

REG ADD %KEY% /V TITLE /D " .: Instalando aplicaciones extras :." /f

REG ADD %KEY%\000 /VE /D ".NET Framework v2" /f
REG ADD %KEY%\000 /V 1 /D "%PP%net\dotnetfx.exe" /f

REG ADD %KEY%\001 /VE /D "Adobe Acrobat Reader 7" /f
REG ADD %KEY%\001 /V 1 /D "%PP%Adobereader\Setup\RdrBig\ESP\AR7.msi /quiet /norestart" /f
REG ADD %KEY%\001 /V 2 /D "%PP%Adobereader\AR1.msi /quiet /norestart" /f
REG ADD %KEY%\001 /V 3 /D "%PP%Adobereader\AR2.msi /quiet /norestart" /f
REG ADD %KEY%\001 /V 4 /D "%PP%Adobereader\AR3.msi /quiet /norestart" /f

REG ADD %KEY%\002 /VE /D "-----------------------" /f

REG ADD %KEY%\003 /VE /D "Azureus 2.3.0.4" /f
REG ADD %KEY%\003 /V 1 /D "%PP%azureus\Azureus_2.3.0.4.exe /S" /f

REG ADD %KEY%\004 /VE /D "CCleaner 1.25" /f
REG ADD %KEY%\004 /V 1 /D "%PP%ccleaner\ccsetup125.exe /S" /f

REG ADD %KEY%\005 /VE /D "FlashGet 1.65" /f
REG ADD %KEY%\005 /V 1 /D "%PP%flashget\fgf165.exe /S" /f
REG ADD %KEY%\005 /V 2 /D "REGEDIT /S %PP%flashget\flashget.reg" /f

REG ADD %KEY%\006 /VE /D "Firefox 1.5 RC1" /f
REG ADD %KEY%\006 /V 1 /D "%PP%firefox\firefoxsilent.exe" /f

REG ADD %KEY%\007 /VE /D "Gimp 2.2.9" /f
REG ADD %KEY%\007 /V 1 /D "%PP%gimp\gtk+-2.6.9.exe /VERYSILENT /NORESTART /LANG=es" /f
REG ADD %KEY%\007 /V 2 /D "%PP%gimp\gimp-2.2.9.exe /VERYSILENT /NORESTART /LANG=es" /f

REG ADD %KEY%\008 /VE /D "Java VM 1.5.0.05" /f
REG ADD %KEY%\008 /V 1 /D "%PP%java\jre-1_5_0_05-windows-i586-p.exe /s /v\"/qb IEXPLORER=1 REBOOT=ReallySuppress\"" /f

REG ADD %KEY%\009 /VE /D "Nero Burning Rom v 6.0.6.16" /f
REG ADD %KEY%\009 /V 1 /D "%PP%nero\Nero-6.6.0.16.exe /SILENT /NOLICENCE /NOREBOOT /SN=xxx /WRITE_SN" /f
REG ADD %KEY%\009 /V 2 /D "%PP%nero\Nero-6.6.0.16_esp.exe /SILENT /NOLICENCE /NOREBBOT" /f

REG ADD %KEY%\010 /VE /D "Openoffice 2.0" /f
REG ADD %KEY%\010 /V 1 /D "%PP%openoffice\openofficeorg20.msi -qn" /f
REG ADD %KEY%\010 /V 2 /D "%PP%openoffice\ES\openofficeorg20.msi -qn" /f

REG ADD %KEY%\011 /VE /D "UltraIso v7.65" /f
REG ADD %KEY%\011 /V 1 /D "%PP%ultraiso\uiso7_me.exe /VERYSILENT" /f
REG ADD %KEY%\011 /V 2 /D "REGEDIT /S %PP%ultraiso\Ultraiso.reg" /f

REG ADD %KEY%\012 /VE /D "Windows Media Player 10" /f
REG ADD %KEY%\012 /V 1 /D "%PP%wmp\wmp10.exe /Q:A /R:N" /f

REG ADD %KEY%\013 /VE /D "VLC Media Player 0.8.2" /f
REG ADD %KEY%\013 /V 1 /D "%PP%vlc\vlc-0.8.2.exe /S" /f

REG ADD %KEY%\014 /VE /D "WinRAR 3.50" /f
REG ADD %KEY%\014 /V 1 /D "%PP%winrar\WinRAR.exe /s" /f

REG ADD %KEY%\015 /VE /D "Windows Vista Inspirated 1.1" /f
REG ADD %KEY%\015 /V 1 /D "%PP%vista\vista.exe /S /NORESTART " /f

REG ADD %KEY%\016 /VE /D "Limpiando y configurando windows" /f
REG ADD %KEY%\016 /V 1 /D "%PP%Limpiar.cmd" /f


EXIT

Limpiar.cmd (at $OEM$\$1\Install\SCP\ )

@echo off

%SYSTEMDRIVE%\WINDOWS\BricoPacks\VistaI~1\PackIt~1.exe --appdisable YzToolBar
%SYSTEMDRIVE%\WINDOWS\BricoPacks\VistaI~1\PackIt~1.exe --appdisable ObjectDock

DEL "%AllUsersProfile%\Escritorio\*.lnk" /S
DEL "%USERPROFILE%\Escritorio\*.lnk" /S

COPY "%USERPROFILE%\MENINI~1\Progra~1\Acceso~1\Explor~1.lnk" "%USERPROFILE%\Escrit~1\Explorador.lnk"

DEL "%USERPROFILE%\MENINI~1\Progra~1\Bricomix*" /S /Q
DEL "%USERPROFILE%\MENINI~1\Progra~1\Inicio\*.*" /S /Q
DEL "%AllUserProfile%\MENINI~1\Progra~1\Inicio\*.*" /S /Q
DEL "%USERPROFILE%\MENINI~1\Progra~1\CrystalXP*" /S /Q
DEL "%USERPROFILE%\MENINI~1\Progra~1\Extras*" /S /Q
DEL "%USERPROFILE%\MENINI~1\Progra~1\Remove Vista*" /S /Q
DEL "%USERPROFILE%\MENINI~1\Progra~1\Update Vista*" /S /Q
RD "%USERPROFILE%\MENINI~1\Progra~1\Y'z Toolbar" /S /Q
RD "%USERPROFILE%\MENINI~1\Progra~1\ObjectDock" /S /Q
RD "%USERPROFILE%\MENINI~1\Progra~1\iColorFolder" /S /Q
RD "%SYSTEMDRIVE%\WINDOWS\BricoPacks\VistaI~1\YzToolbar" /S /Q
RD "%SYSTEMDRIVE%\WINDOWS\BricoPacks\VistaI~1\ObjectDock" /S /Q
RD "%SYSTEMDRIVE%\WINDOWS\BricoPacks\VistaI~1\Shortcuts" /S /Q
RD "%USERPROFILE%\MisDoc~1\MyIsoF~1" /S /Q
DEL "%temp%\*.*" /S /Q

SET D=%SYSTEMROOT%\system32\

REG ADD "HKCR\Applications\gspot.exe\shell\open\command" /d "%systemroot%\System32\gspot.exe %%1" /ve /f
REG ADD "HKLM\SOFTWARE\Microsoft\WMV9_VCM" /d "%systemroot%\System32" /v "File Location" /f

regsvr32 /s %D%ac3filter.ax
regsvr32 /s %D%CLVSD.ax
regsvr32 /s %D%divxdec.ax
regsvr32 /s %D%mpeg2dmx.ax
regsvr32 /s %D%CoreVorbis.ax
regsvr32 /s %D%iac25_32.ax
regsvr32 /s %D%Ivfsrc.ax
regsvr32 /s %D%vp6dec.ax
regsvr32 /s %D%ir41_32.ax
regsvr32 /s %D%OggDS.dll
regsvr32 /s %D%wmvdmod.dll
regsvr32 /s %D%wmsdmod.dll
regsvr32 /s %D%wmadmod.dll
regsvr32 /s %D%wmspdmod.dll
regsvr32 /s %D%xvid.ax
regsvr32 /s %D%VSFilter.dll
regsvr32 /s %D%imaadp32.acm
regedit /s %D%codecreg.reg

DEL %D%\L3codeca.acm /Q

RD "%SYSTEMDRIVE%\Drivers" /S /Q
RD "%SYSTEMDRIVE%\Install" /S /Q

EXIT

I have a trouble with Nod32 (AMON service cannot start), and i remove it from the list.

I hope this help you :hello:

Edited by la_ostia
Link to post
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...