andrew84uk Posted January 13, 2006 Share Posted January 13, 2006 (edited) Hello, I am new to the forum and what i am looking for is some switches for some popular applications. Basically this is what i have so far.I am creating it from t-12 with a RunOnce method as this looks great when installing.@Echo OffSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Programs" /fREG ADD %KEY%\001 /VE /D "DotNet Fix 1.1" /fREG ADD %KEY%\001 /V 1 /D "%SystemDrive%\Install\2\install.exe " /fREG ADD %KEY%\002 /VE /D "DotNet Fix 2.0" /fREG ADD %KEY%\002 /V 1 /D "%SystemDrive%\Install\3\install.exe " /fREG ADD %KEY%\003 /VE /D "HighMatt CD Writting" /fREG ADD %KEY%\003 /V 1 /D "%SystemDrive%\Install\4\update\update.exe " /fREG ADD %KEY%\004 /VE /D "Windows Connect 2.0" /fREG ADD %KEY%\004 /V 1 /D "%SystemDrive%\Install\5\wmcsetup.exe " /fREG ADD %KEY%\005 /VE /D "TweakUi Powertoy" /fREG ADD %KEY%\005 /V 1 /D "%SystemDrive%\Install\6\TweakUiPowertoySetup.exe " /fREG ADD %KEY%\006 /VE /D "Java 1.5.0.06" /fREG ADD %KEY%\006 /V 1 /D "%SystemDrive%\Install\7\jre-1_5_0_06-windows-i586-p.exe " /fREG ADD %KEY%\007 /VE /D "CCcleaner 1.26" /fREG ADD %KEY%\007 /V 1 /D "%SystemDrive%\Install\8\ccsetup126.exe " /fREG ADD %KEY%\008 /VE /D "Msn Messenger 7.5.0311" /fREG ADD %KEY%\008 /V 1 /D "%SystemDrive%\Install\9\Install_MSN_Messenger.exe " /fREG ADD %KEY%\008 /V 2 /D "taskkill /IM msnmsgr.exe /F" /fREG ADD %KEY%\009 /VE /D "LimeWire PRO 4.9.30" /fREG ADD %KEY%\009 /V 1 /D "%SystemDrive%\Install\10\LimeWireWin.exe " /fREG ADD %KEY%\009 /V 2 /D "taskkill /IM LimeWire.exe /F" /fREG ADD %KEY%\010 /VE /D "Mcafee Antivirus 8.0.0" /fREG ADD %KEY%\010 /V 1 /D "%SystemDrive%\install\11\Setup.exe " /fREG ADD %KEY%\011 /VE /D "Cleaning Up" /fREG ADD %KEY%\011 /V 1 /D "%SystemDrive%\Install\cleanup.cmd " /fEXITThen this is my cleanup.cmd file.cmdow @ /HIDnet user aspnet /deleteDEL "%systemroot%\*.bmp"DEL "%systemroot%\Web\Wallpaper\*.jpg"DEL "%systemroot%\system32\dllcache\*.scr"DEL "%systemroot%\system32\*.scr"DEL "%AllUsersProfile%\Start Menu\Set Program Access and Defaults.lnk"DEL "%AllUsersProfile%\Start Menu\Windows Catalog.lnk"DEL "%AllUsersProfile%\Start Menu\Programs\Windows Movie Maker.lnk"DEL "%AllUsersProfile%\Desktop\MSN Messenger 7.5.lnk"DEL "%systemdrive%\Documents and Settings\Administrator\Desktop\CCleaner.lnkDEL "%systemdrive%\Documents and Settings\Administrator\Desktop\Limewire PRO 4.9.30.lnk"DEL "%systemdrive%\Documents and Settings\Administrator\start Menu\Programs\Remote Assistance.lnk"DEL "%systemdrive%\Documents and Settings\Administrator\Start Menu\Programs\Outlook Express.lnk"DEL "%systemdrive%\Documents and Settings\Administrator\Start Menu\Programs\Accessories\Address Book.lnk"DEL "%systemdrive%\Documents and Settings\Administrator\Start Menu\Programs\Accessories\Synchronize.lnk"DEL "%systemdrive%\Documents and Settings\Administrator\Start Menu\Programs\Accessories\Tour Windows XP.lnk"RD /S /Q %systemdrive%\install\EXITwhat i need to no is all switches on the aboce applications to allow an install without promts but visual gui's.Could anyone with switch experience help me. I have also intergrated all the latest hotfixes, patches and windows media player 10. Thank You. Edited January 13, 2006 by zen62619 Link to comment Share on other sites More sharing options...
tempuser Posted January 13, 2006 Share Posted January 13, 2006 (edited) Mcafee Antivirus 8.0.0LimeWire PROMsn MessengerCCcleaner 1.26JavaTweakUi PowertoyDotNet Fix 2.0http://unattended.msfn.org/unattended.xp/http://unattended.msfn.org/unattended.xp/view/web/38/ Edited January 13, 2006 by tempuser Link to comment Share on other sites More sharing options...
andrew84uk Posted January 13, 2006 Author Share Posted January 13, 2006 ****, nice work ill give that ago and get back to you asap. cheers. 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