Jump to content

My 1st UA CD done \o/


cyberhrc

Recommended Posts

I've provided my cmd if any1 find it usefull..

As u can see, nothing fancy, everything works like a charm BUT:

1. Faststone software

Brilliant little freeware stuff but after instaling it, it automaticly starts IE and go on their webpage (that's still while instaling other software).. How can i avoid that?

1.1 How can i automaticly put in my reg that windows use Faststone viewer as default while doing UA ?

2. As 1.1 how can i add infos in reg files for notepad+ and make it default for txt,nfo,ini etc files also with registry?

Yes i know that search is here for this and i saw all this but atm i'm in hurry and i'm asking polite any1 here to post answers here so i can add em tonight when i come back

gtg soz if some1 got p***ed coz of my 'lazy' questions :)

cmdow @ /HID
@echo off

IF EXIST D:\win51ip.SP2 set XPCD=D:
IF EXIST E:\win51ip.SP2 set XPCD=E:
IF EXIST F:\win51ip.SP2 set XPCD=F:
IF EXIST G:\win51ip.SP2 set XPCD=G:
IF EXIST H:\win51ip.SP2 set XPCD=H:
IF EXIST I:\win51ip.SP2 set XPCD=I:
IF EXIST J:\win51ip.SP2 set XPCD=J:
IF EXIST Z:\win51ip.SP2 set XPCD=Z:
IF EXIST X:\win51ip.SP2 set XPCD=X:
IF EXIST V:\win51ip.SP2 set XPCD=V:
IF EXIST N:\win51ip.SP2 set XPCD=N:
IF EXIST M:\win51ip.SP2 set XPCD=M:
IF EXIST L:\win51ip.SP2 set XPCD=L:
IF EXIST K:\win51ip.SP2 set XPCD=K:
IF EXIST S:\win51ip.SP2 set XPCD=S:
IF EXIST Q:\win51ip.SP2 set XPCD=Q:
IF EXIST W:\win51ip.SP2 set XPCD=W:
IF EXIST R:\win51ip.SP2 set XPCD=R:
IF EXIST T:\win51ip.SP2 set XPCD=T:
IF EXIST Y:\win51ip.SP2 set XPCD=Y:
IF EXIST U:\win51ip.SP2 set XPCD=U:
IF EXIST I:\win51ip.SP2 set XPCD=I:
IF EXIST O:\win51ip.SP2 set XPCD=O:
IF EXIST P:\win51ip.SP2 set XPCD=P:



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

REG ADD %KEY% /V TITLE /D "Instalacija Aplikacija" /f

REG ADD %KEY%\001 /VE /D ".NET Framework v1.1" /f
REG ADD %KEY%\001 /V 1 /D "%XPCD%\install\Applications\netfxsp1.exe" /f

REG ADD %KEY%\002 /VE /D "Total Commander 6.01" /f
REG ADD %KEY%\002 /V 1 /D "%XPCD%\install\Applications\tcmdr601.exe" /f

REG ADD %KEY%\003 /VE /D "Cmenu" /f
REG ADD %KEY%\003 /V 1 /D "%XPCD%\install\Applications\Cmenu.exe /silent" /f

REG ADD %KEY%\004 /VE /D "FastStone Image Browser" /f
REG ADD %KEY%\004 /V 1 /D "%XPCD%\install\Applications\FSViewerSetup.exe /S" /f

REG ADD %KEY%\005 /VE /D "FastStone Image Capture" /f
REG ADD %KEY%\005 /V 1 /D "%XPCD%\install\Applications\FSCaptureSetup.exe /S" /f

REG ADD %KEY%\006 /VE /D "FastStone Image Resizer" /f
REG ADD %KEY%\006 /V 1 /D "%XPCD%\install\Applications\FSResizerSetup.exe /S" /f

REG ADD %KEY%\007 /VE /D "FlashGet 1.65" /f
REG ADD %KEY%\007 /V 1 /D "%XPCD%\install\Applications\fgf165.exe /s" /f

REG ADD %KEY%\008 /VE /D "iCF" /f
REG ADD %KEY%\008 /V 1 /D "%XPCD%\install\Applications\iCF.exe /S" /f

REG ADD %KEY%\009 /VE /D "Maxthon 1.31" /f
REG ADD %KEY%\009 /V 1 /D "%XPCD%\install\Applications\mcombo.exe /S" /f

REG ADD %KEY%\010 /VE /D "CCleaner 1.21" /f
REG ADD %KEY%\010 /V 1 /D "%XPCD%\install\Applications\ccsetup121.exe /S /NCRC" /f

REG ADD %KEY%\011 /VE /D "Adobe Acrobat Reader 7" /f
REG ADD %KEY%\011 /V 1 /D "%XPCD%\install\Applications\acroread702.exe" /f

REG ADD %KEY%\012 /VE /D "Ahead Nero Burning Rom v6.6.0.13" /f
REG ADD %KEY%\012 /V 1 /D "%XPCD%\install\Applications\Nero-6.6.0.13.exe /SILENT /NOREBOOT /SN=xxxx-xxxx-xxxx-xxxx-xxxx-xxxx/WRITE_SN" /f

REG ADD %KEY%\013 /VE /D "KLite Codec Pack + Mplayer Classic" /f
REG ADD %KEY%\013 /V 1 /D "%XPCD%\install\Applications\Klite\klmcp.bat " /f

REG ADD %KEY%\014 /VE /D "DVD Decrypter v3.2.0.0" /f
REG ADD %KEY%\014 /V 1 /D "%XPCD%\install\Applications\DVDDecrypter.exe /S" /f

REG ADD %KEY%\015 /VE /D "DVD Shrink v3.1.7" /f
REG ADD %KEY%\015 /V 1 /D "%XPCD%\install\Applications\dvdshrink.exe /VERYSILENT" /f

REG ADD %KEY%\016 /VE /D "QuickTime Player v6.5.1" /f
REG ADD %KEY%\016 /V 1 /D "%XPCD%\install\Applications\QT\QT_651.exe" /f

REG ADD %KEY%\017 /VE /D "Winamp 5.904" /f
REG ADD %KEY%\017 /V 1 /D "%XPCD%\install\Applications\Winamp5094.msi /quiet /passive /norestart" /f

REG ADD %KEY%\018 /VE /D "Power DVD v5.0" /f
REG ADD %KEY%\018 /V 1 /D "%XPCD%\Install\Applications\PowerDVD\Setup.exe -s -f1\"%XPCD%\Install\Applications\PowerDVD\setup.iss\" -f2\"%systemdrive%\install\PowerDVD.log\"" /f

REG ADD %KEY%\019 /VE /D "CDEX v1.51" /f
REG ADD %KEY%\019 /V 1 /D "%XPCD%\install\Applications\CDEX.exe /VERYSILENT" /f

REG ADD %KEY%\020 /VE /D "ShockWave installer" /f
REG ADD %KEY%\020 /V 1 /D "%XPCD%\install\Applications\Shockwave.exe /s" /f

REG ADD %KEY%\021 /VE /D "Windows Media Player 10" /f
REG ADD %KEY%\021 /V 1 /D "%XPCD%\install\Applications\WMP10silent.exe" /f

REG ADD %KEY%\022 /VE /D "Office 2003 Professional" /f
REG ADD %KEY%\022 /V 1 /D "%XPCD%\install\Applications\Office2003.exe -y /q /r:n -o%SYSTEMDRIVE%" /f
REG ADD %KEY%\022 /V 2 /D "%SYSTEMDRIVE%\install\Applications\Office2003\setup.exe TRANSFORMS="%SYSTEMDRIVE%\install\Applications\Office2003\Unattended.MST" /qb-" /f

REG ADD %KEY%\023 /VE /D "7z Archiver" /f
REG ADD %KEY%\023 /V 1 /D "%XPCD%\install\Applications\7z423.exe /S" /f

REG ADD %KEY%\024 /VE /D "Notepad+" /f
REG ADD %KEY%\024 /V 1 /D "%XPCD%\install\Applications\npp.3.1.Installer.exe /S" /f

REG ADD %KEY%\025 /VE /D "Everest Home Edition 201" /f
REG ADD %KEY%\025 /V 1 /D "%XPCD%\install\Applications\everesthome201.exe /VERYSILENT /SP-" /f

REG ADD %KEY%\026 /VE /D "Sun Java2 Runtime Environment" /f
REG ADD %KEY%\026 /V 1 /D "%XPCD%\install\Applications\jre504.exe" /f

REG ADD %KEY%\027 /VE /D "Reg tweaks..." /f
REG ADD %KEY%\027 /V 1 /D "REGEDIT /S %XPCD%\install\regtweaks.reg" /f

REG ADD %KEY%\028 /VE /D "Ending..." /f
REG ADD %KEY%\028 /V 1 /D "%XPCD%\install\cleanup.cmd" /f

Link to comment
Share on other sites


sounds like u could use regshot to help out w/ the registry entries, run it first, make the changes, and then compare the changes & u could for the other try the following:

taskkill /F /IM iexplorer.exe or pskill -t iexplorer.exe

Link to comment
Share on other sites

  • 1 month later...

To get Notepad to associate .nfo files, use this Registry Tweak

;Associate .nfo files with Notepad
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.nfo]
"Application"="NOTEPAD.EXE"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.nfo\OpenWithList]
"a"="Explorer.exe"
"MRUList"="ba"
"b"="NOTEPAD.EXE"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.nfo\OpenWithProgids]
"MSInfo.Document"=hex(0):

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...