Phi| Posted November 4, 2004 Share Posted November 4, 2004 Hi everyoneI have created a Win uA SP2 cd, with various problems. I have looked through the database, but I cant find what Im looking for.The installation is completed without any problems, but when the computer starts it does not seem to be the way I want it.How do I make sure that the followering things appear on the desktop?My ComputerMy Network PlacesInternet ExplorerMy DocumentsIs it possible to make all the *.ink disappear?In the end of my installation a clean.cmd should be runed, and it does run. But it does not remove the files from my desktop? ohh... Could this be because it is runed for all users?The second time I reboot, Windows says that Windows file protection have found a file that is not the way it should be? How do I make sure this message does not appear.RunOnceEx.cmdcmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\001 /VE /D "Preparing Installation..." /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\prepare.cmd" /fREG ADD %KEY%\005 /VE /D "MSN Messenger 6.2" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\apps\communication\msn_6.2.msi /qb" /fREG ADD %KEY%\010 /VE /D "Skype 1.0.0.29" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\Install\apps\communication\Skype_1.0.0.29.exe /VERYSILENT /SP-" /fREG ADD %KEY%\015 /VE /D "mIRC NoName Script" /fREG ADD %KEY%\015 /V 1 /D "REGEDIT /S %systemdrive%\Install\apps\communication\register.reg" /fREG ADD %KEY%\020 /VE /D "TweakUI Powertoy" /fREG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\apps\Powertoys\TweakUI.msi /qb" /fREG ADD %KEY%\025 /VE /D "Task Switcher Powertoy" /fREG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\apps\Powertoys\TaskswitchPowertoySetup.exe /S /v /qn" /fREG ADD %KEY%\035 /VE /D "Nero Burning ROM 6.3.1.20 Ultra Edition" /fREG ADD %KEY%\035 /V 1 /D "REGEDIT /S %systemdrive%\apps\burning\register.reg" /fREG ADD %KEY%\035 /V 2 /D "%systemdrive%\install\apps\burning\nero63120.exe /Silent /noreboot /no_ui /sn=1A23-0009-5030-1324-9634-8305" /fREG ADD %KEY%\040 /VE /D "FlashFXP 3.0.0.1015 Final" /fREG ADD %KEY%\040 /V 1 /D "%systemdrive%\install\apps\ftp\FlashFXP_3.0.0.1015_Final.exe /SILENT" /fREG ADD %KEY%\045 /VE /D "FlashFXP Add-on" /fREG ADD %KEY%\045 /V 1 /D "%systemdrive%\install\apps\ftp\flashfxp.exe /S" /fREG ADD %KEY%\050 /VE /D "NetLimiter 1.30" /fREG ADD %KEY%\050 /V 1 /D "%systemdrive%\Install\apps\utilities\NetLimiter_v130.exe /S" /fREG ADD %KEY%\055 /VE /D "NetLimiter 1.30 Add-on" /fREG ADD %KEY%\055 /V 1 /D "%systemdrive%\Install\apps\utilities\nl_patch.exe /S" /fREG ADD %KEY%\057 /VE /D "Ad-Aware SE Professional" /fREG ADD %KEY%\057 /V 1 /D "%systemdrive%\Install\apps\utilities\aawsepro1.04.exe /S" /fREG ADD %KEY%\057 /V 2 /D "sleep.exe 10" /fREG ADD %KEY%\057 /V 3 /D "TASKKILL.exe /F /IM Ad-Aware.exe" /fREG ADD %KEY%\057 /v 4 /D "taskkill /F /IM hh.exe" /fREG ADD %KEY%\060 /VE /D "PeerGuardian_v1.99_pr14" /fREG ADD %KEY%\060 /V 1 /D "%systemdrive%\install\apps\ftp\PeerGuardian_v1.99_pr14.exe /VERYSILENT /SP-" /fREG ADD %KEY%\065 /VE /D "Norton Antivirus 2003 Pro" /fREG ADD %KEY%\065 /V 1 /D "%systemdrive%\Install\apps\antivirus\NAV2003\NAV\nav.msi /qb" /fREG ADD %KEY%\070 /VE /D "Norton Antivirus Add-on" /fREG ADD %KEY%\070 /V 1 /D "%systemdrive%\Install\apps\antivirus\Update.exe" /fREG ADD %KEY%\072 /VE /D "Mozilla Firefox 0.9.3" /fREG ADD %KEY%\072 /V 1 /D "%SYSTEMDRIVE%\Install\apps\FIREFOX\SETUP.EXE -MS -IRA" /fREG ADD %KEY%\072 /V 2 /D "%SYSTEMDRIVE%\Install\apps\FIREFOX\CLEAN.CMD" /fREG ADD %KEY%\001 /V 3 /D "%SYSTEMDRIVE%\Install\apps\FIREFOX\PLUGINS.EXE /S" /fFOR %%A IN ("%PROGRAMFILES%") DO SET SHORTPF=%%~sAREG ADD "HKCU\SOFTWARE\Microsoft\Internet Explorer\Main" /V "Check_Associations" /D "no" /FREG ADD "HKCU\SOFTWARE\Microsoft\Internet Explorer\Main" /V "ShowedCheckBrowser" /D "yes" /FREG ADD "HKU\.DEFAULT\SOFTWARE\Microsoft\Internet Explorer\Main" /V "Check_Associations" /D "no" /FREG ADD "HKU\.DEFAULT\SOFTWARE\Microsoft\Internet Explorer\Main" /V "ShowedCheckBrowser" /D "yes" /FREG ADD "HKLM\SOFTWARE\Classes\.htm" /VE /D "FirefoxHTML" /FREG ADD "HKLM\SOFTWARE\Classes\.html" /VE /D "FirefoxHTML" /FREG ADD "HKLM\SOFTWARE\Classes\ftp\DefaultIcon" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE,1" /FREG ADD "HKLM\SOFTWARE\Classes\ftp\shell\open\command" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE -url \"%%1\"" /FREG ADD "HKLM\SOFTWARE\Classes\gopher\DefaultIcon" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE,1" /FREG ADD "HKLM\SOFTWARE\Classes\gopher\shell\open\command" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE -url \"%%1\"" /FREG ADD "HKLM\SOFTWARE\Classes\http\DefaultIcon" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE,1" /FREG ADD "HKLM\SOFTWARE\Classes\http\shell\open\command" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE -url \"%%1\"" /FREG ADD "HKLM\SOFTWARE\Classes\https\DefaultIcon" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE,1" /FREG ADD "HKLM\SOFTWARE\Classes\https\shell\open\command" /VE /D "%SHORTPF%\MOZILL~1\FIREFOX.EXE -url \"%%1\"" /FREG ADD "HKLM\SOFTWARE\Clients\StartMenuInternet" /VE /D "FIREFOX.EXE" /FREG DELETE "HKLM\SOFTWARE\Classes\http\shell\open\ddeexec" /FREG ADD "HKLM\SOFTWARE\Classes\http\shell\open\ddeexec\Application" /VE /D "FIREFOX" /FREG DELETE "HKLM\SOFTWARE\Classes\https\shell\open\ddeexec" /FREG ADD "HKLM\SOFTWARE\Classes\https\shell\open\ddeexec\Application" /VE /D "FIREFOX" /FREG DELETE "HKLM\SOFTWARE\Classes\ftp\shell\open\ddeexec" /FREG ADD "HKLM\SOFTWARE\Classes\ftp\shell\open\ddeexec\Application" /VE /D "FIREFOX" /FREG DELETE "HKLM\SOFTWARE\Classes\gopher\shell\open\ddeexec" /FREG ADD "HKLM\SOFTWARE\Classes\gopher\shell\open\ddeexec\Application" /VE /D "FIREFOX" /FREG ADD %KEY%\075 /VE /D "WinRAR 3.4 Beta 1" /fREG ADD %KEY%\075 /V 1 /D "%systemdrive%\Install\apps\compression\wrar34b1.exe /S" /fREG ADD %KEY%\080 /VE /D "Winamp 5.04 Full" /fREG ADD %KEY%\080 /V 1 /D "%systemdrive%\Install\apps\sound\winamp.msi /qbINI="%systemdrive%\install\apps\sound\winamp.ini"" /fREG ADD %KEY%\083 /VE /D "VideoLAN 0.7.2" /fREG ADD %KEY%\083 /V 1 /D "%systemdrive%\Install\apps\video\vlc-0.7.2-win32.exe /S" /fREG ADD %KEY%\084 /VE /D "PowerDVD 5.6.0.3 Deluxe"REG ADD %KEY%\084 /V 1 /D "%systemdrive%\Install\apps\video\Setup.exe -s -f1\"%systemdrive%\Install\apps\video\setup.iss\" -f2\"%systemdrive%\PowerDVD.log\"" /fREG ADD %KEY%\085 /VE /D "Microsoft Office 2003 SP1"REG ADD %KEY%\085 /V 1 /D "%systemdrive%\install\apps\Office2003\setup.exe TRANSFORMS=Unattended.MST /qb-" /fREG ADD %KEY%\090 /VE /D "Importing Registry Tweaks" /fREG ADD %KEY%\090 /V 1 /D "REGEDIT /S %systemdrive%\install\regtweaks.reg" /fREG ADD %KEY%\095 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\095 /V 1 /D "%systemdrive%\install\cleanup.cmd" /fEXITwinnt.sif;SetupMgrTag[Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes" AutomaticUpdates=yes[Unattended] FileSystem=* UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes OemFilesPath="..\$OEM$" TargetPath=\WINDOWS Repartition=No UnattendSwitch="yes" WaitForReboot="No" OemPnPDriversPath="Drivers\000_chipset;Drivers\001_network;Drivers\001_network\wireless;Drivers\002_graphics;Drivers\003_sound\S\A;Drivers\003_sound\S\C;Drivers\003_sound\S\CR;Drivers\003_sound\S\CR\L;Drivers\003_sound\S\N;Drivers\003_sound\S\R;Drivers\003_sound\S\S;Drivers\003_sound\S\T\A;Drivers\003_sound\S\T\D; RIVERS\S\V\E;Drivers\003_sound\S\V\V;Drivers\003_sound\audigy;Drivers\004_monitor;Drivers\005_keyboard;Drivers\006_mouse;Drivers\007_modem;Drivers\008_memorystick" DriverSigningPolicy=Ignore ProgramFilesDir="C:\Program Files" CommonProgramFilesDir="C:\Program Files\Common Files"[GuiUnattended] AdminPassword=* EncryptedAdminPassword=NO OEMSkipRegional=1 TimeZone=105 OemSkipWelcome=1[UserData] ProductKey=plonk-plonk-plonk-plonk-plonk FullName="Phil" OrgName="" ComputerName=Phil[Display] BitsPerPel=32 Xresolution=1024 YResolution=768[TapiLocation] CountryCode=45[RegionalSettings] LanguageGroup=1 SystemLocale=00000406 UserLocale=00000406 InputLocale=0406:00000406[WindowsFirewall] Profiles = WindowsFirewall.TurnOffFirewall[WindowsFirewall.TurnOffFirewall] Mode = 0[IEPopupBlocker] AllowedSites=www.msfn.org;www.microsoft.com;www.newz.dk;www.google.com;www.danskebank.dk BlockPopups=Yes FilterLevel=Medium ShowInformationBar=Yes[Identification] JoinWorkgroup=Volden[Networking] InstallDefaultComponents=Yes[URL]Home_Page=http://www.newz.dk[Components] msmsgs=off msnexplr=off zonegames=off pinball=off Mswordpad=off[Shell][GuiRunOnce]In winnt.sif should there be quotations around the value?ex. pinball=offshould bepinball="off"I have noticed that some of my values contaion "", but not others.I hope someone called help me.Thanks in advance.//Phil Link to comment Share on other sites More sharing options...
MHz Posted November 4, 2004 Share Posted November 4, 2004 If you want to delete all shortcuts from the desktopDel %AllUsersProfile%\Desktop\*.*Del %UserProfile%\Desktop\*.*With the winnt.sif. Just ensure you use "" around strings with spaces.My Computer etc. on the desktop. Look in the Registry Tweaks thread pinned.If WFP complains that a file is not the way it should be? then 1 of your programs is perhaps overwriting 1 of your system files? This should be corrected?Hope this helps you some. 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