Redman Posted February 8, 2005 Share Posted February 8, 2005 Hello,Have a strange problem...i made a unattended cd (SEE QUOTE), but the strage thing is that it bypass some lines. (see red lines)So have tried to install all on the normal way it works (with silent switsches)Office 2003 is a RAR file with inside the silent switches (extract and then go on without install)Any Idea ??Thanx Redmancmdow @ /HID@Echo OffFOR %%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:\CD.txt SET UDFDRIVE=%%i:SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Programma's Installeren" /fREG ADD %KEY%\000 /VE /D "Acrobat Reader 6.01 NL" /fREG ADD %KEY%\000 /V 1 /D "%UDFDRIVE%\ADOBE\ar60nld.msi /qn" /fREG ADD %KEY%\010 /VE /D "Sun Java 1.4.2" /fREG ADD %KEY%\010 /V 1 /D "%UDFDRIVE%\SUNJAVA\j2re-1_4_2_07-windows-i586-p.exe /s /v/qn" /fREG ADD %KEY%\020 /VE /D "Real Alternative 1.30" /fREG ADD %KEY%\020 /V 1 /D "%UDFDRIVE%\REAL\realalt130.exe /VERYSILENT /SP-" /fREG ADD %KEY%\030 /VE /D "QuickTime Alternative 1.40" /fREG ADD %KEY%\030 /V 1 /D "%UDFDRIVE%\QUICKTIME\quicktimealt140.exe /VERYSILENT /SP-" /fREG ADD %KEY%\035 /VE /D "Macromedia Shockwave 10.1 and Flash 7" /fREG ADD %KEY%\035 /V 1 /D "%UDFDRIVE%\MACROMEDIA\SWFLASH\mm_fl_sw_installer.msi /qn" /fREG ADD %KEY%\040 /VE /D "Google Toolbar 2.0.114.9" /fREG ADD %KEY%\040 /V 1 /D "%UDFDRIVE%\GOOGLE\GoogleToolbarInstaller.exe /q /d" /fREG ADD %KEY%\060 /VE /D "Microsoft .NET Framework 1.1 SP1 NL" /fREG ADD %KEY%\060 /V 1 /D "%UDFDRIVE%\DOTNET\Netfx.msi /qn" /fREG ADD %KEY%\060 /V 2 /D "%UDFDRIVE%\DOTNET\NDP1.1sp1-KB867460-X86-nld.exe /qn" /fREG ADD %KEY%\065 /VE /D "Microsoft MSN Messenger 6.2 NL" /fREG ADD %KEY%\065 /V 1 /D "%UDFDRIVE%\MSN6\MsnMsgs.msi /qn" /fREG ADD %KEY%\070 /VE /D "Microsoft Windows Media Player 10.0 NL" /fREG ADD %KEY%\070 /V 1 /D "%UDFDRIVE%\WMP10\MP10Setup.exe /Q:A /R:N" /fREG ADD %KEY%\110 /VE /D "Microsoft Office 2003 Pro SP1 NL" /fREG ADD %KEY%\110 /V 1 /D "%UDFDRIVE%\OFFICE11\office11.exe /s" /fREG ADD %KEY%\140 /VE /D "Nero Burning ROM 6.6.0.6 Enterprise Edition" /fREG ADD %KEY%\140 /V 1 /D "REGEDIT /S %UDFDRIVE%\NERO\nero.reg" /fREG ADD %KEY%\140 /V 2 /D "%UDFDRIVE%\NERO\nero6606.exe /s" /fREG ADD %KEY%\140 /V 3 /D "%UDFDRIVE%\NERO\NBR6606NLD.exe /s" /fREG ADD %KEY%\180 /VE /D "Cyberlink PowerDVD 6 Deluxe Enhanced" /fREG ADD %KEY%\180 /V 1 /D "%UDFDRIVE%\CYBERLINK\DVD\setup.exe /s" /fREG ADD %KEY%\190 /VE /D "CyberLink PowerDVD Copy 1.0.0625" /fREG ADD %KEY%\190 /V 1 /D "%UDFDRIVE%\CYBERLINK\COPY\setup.exe /s" /fREG ADD %KEY%\220 /VE /D "Slysoft AnyDvd 4.5.7.2" /fREG ADD %KEY%\220 /V 1 /D "%UDFDRIVE%\ANYDVD\SetupAnyDVD4572.exe /S" /fREG ADD %KEY%\220 /V 2 /D "%UDFDRIVE%\ANYDVD\AnyDVD.exe /s" /fREG ADD %KEY%\220 /V 3 /D "REGEDIT /S %UDFDRIVE%\ANYDVD\AnyDVD.reg" /fREG ADD %KEY%\230 /VE /D "Cover XP 1.65" /fREG ADD %KEY%\230 /V 1 /D "%UDFDRIVE%\COVERXP\cxp_pro165.exe /S" /fREG ADD %KEY%\230 /V 2 /D "REGEDIT /S %UDFDRIVE%\COVERXP\coverxp.reg" /fREG ADD %KEY%\280 /VE /D "WinRAR 3.42 Nederlands" /fREG ADD %KEY%\280 /V 1 /D "%UDFDRIVE%\WINRAR\wrar342nl.exe /s" /fREG ADD %KEY%\280 /V 2 /D "%UDFDRIVE%\WINRAR\rarreg.exe /s" /fREG ADD %KEY%\290 /VE /D "Microsoft AntiSpyware Beta" /fREG ADD %KEY%\290 /V 1 /D "%UDFDRIVE%\MSAS\MicrosoftAntiSpywareInstall.exe /s /v/qn" /fREG ADD %KEY%\410 /VE /D "Registry Tweaks" /fREG ADD %KEY%\410 /V 1 /D "REGEDIT /S %UDFDRIVE%\ZZ\regtweaks.reg" /fREG ADD %KEY%\500 /VE /D "Opnieuw Opstarten" /fREG ADD %KEY%\500 /V 1 /D "%UDFDRIVE%\ZZ\Restart.cmd" /fEXIT Link to comment Share on other sites More sharing options...
MAVERICKS CHOICE Posted February 8, 2005 Share Posted February 8, 2005 In runoncex I really suggest you test this live in windows by moving your apps to systemdrive instead & running the cmd, there is certainly a problem with your homemade installers I'd say? Link to comment Share on other sites More sharing options...
Astalavista Posted February 8, 2005 Share Posted February 8, 2005 why dont u try using 7zip for office 2003?if it doesnt go it means there is something wrongpowerdvd u will need to make setup.iss to use /s check out my guide look for it.adobe acrobat reader that is not the correct switch Link to comment Share on other sites More sharing options...
dazkrlauwste Posted February 8, 2005 Share Posted February 8, 2005 I also have a problem with an RunOnceEx line.cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\001 /VE /D ".NET Framework 1.1 SP1" /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\Apps\DOTNETFXSP1.exe" /fREG ADD %KEY%\002 /VE /D "Java2 Runtime Environement 5.0.1" /fREG ADD %KEY%\002 /V 1 /D "%systemdrive%\Apps\JRE501.exe" /fREG ADD %KEY%\003 /VE /D "Ace Utilities 2.42" /fREG ADD %KEY%\003 /V 1 /D "%systemdrive%\Apps\AU242.exe /VERYSILENT" /fREG ADD %KEY%\004 /VE /D "Azureus 2.2.0.3 B25" /fREG ADD %KEY%\004 /V 1 /D "%systemdrive%\Apps\Azureus\Azureus.exe /S" /fREG ADD %KEY%\004 /V 2 /D copy /Y %systemdrive%\Apps\Azureus\Azureus2.jar "C:\Program Files\Azureus" /fREG ADD %KEY%\005 /VE /D "IsoBuster 1.7" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\Apps\IsoBuster17\IsoBuster.exe /LOADINF=\"%systemdrive%\Apps\IsoBuster17\silent.inf\" /VERYSILENT /SP-" /fREG ADD %KEY%\005 /V 2 /D "taskkill /F /IM isobuster.exe" /fREG ADD %KEY%\006 /VE /D "K-Lite Mega Codec Pack 1.18" /fREG ADD %KEY%\006 /V 1 /D "%systemdrive%\Apps\K-LiteMCP118\klmcodec118.exe /LOADINF=\"%systemdrive%\Apps\K-LiteMCP118\silent.inf\" /VERYSILENT" /fREG ADD %KEY%\007 /VE /D "Kazaa Lite Resurrection 0.0.7.6F" /fREG ADD %KEY%\007 /V 1 /D "%systemdrive%\Apps\KLR0076F.exe /SP /VERYSILENT /NOREBOOT" /fREG ADD %KEY%\008 /VE /D "Microsoft AntiSpyware Beta 1" /fREG ADD %KEY%\008 /V 1 /D "%systemdrive%\Apps\MSAntiSpyware\MSAntiSpyware.msi /PASSIVE /NORESTART" /fREG ADD %KEY%\008 /V 2 /D "REGEDIT /S %systemdrive%\Apps\MSAntiSpyware\killstart.reg" /fREG ADD %KEY%\009 /VE /D "MSN Messenger 7" /fREG ADD %KEY%\009 /V 1 /D "%systemdrive%\Apps\Messenger_Patch_Plus.exe /VERYSILENT" /fREG ADD %KEY%\010 /VE /D "TuneUp Utilities 2004" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\Apps\TU2004\TU2004.exe /Q" /fREG ADD %KEY%\010 /V 2 /D "REGEDIT /S %systemdrive%\Apps\TU2004\reg.reg" /fREG ADD %KEY%\011 /VE /D "7-Zip 4.15 beta" /fREG ADD %KEY%\011 /V 1 /D "%systemdrive%\Apps\7-Zip4.15beta.exe /S" /fREG ADD %KEY%\012 /VE /D "Acrobat Reader 7.0" /fREG ADD %KEY%\012 /V 1 /D "%systemdrive%\Apps\AcroReader7.exe" /fREG ADD %KEY%\013 /VE /D "ClearType Tuner" /fREG ADD %KEY%\013 /V 1 /D "%systemdrive%\Apps\ClearTypeTuner.msi /PASSIVE" /fREG ADD %KEY%\014 /VE /D "Diskeeper Professional 9.0.515" /fREG ADD %KEY%\014 /V 1 /D "%systemdrive%\Apps\DiskPro90515.exe /S /V/QN" /fREG ADD %KEY%\015 /VE /D "WinRAR 3.42" /fREG ADD %KEY%\015 /V 1 /D "%systemdrive%\Apps\WinRAR342.exe /S" /fREG ADD %KEY%\016 /VE /D "TweakUI 2.10" /fREG ADD %KEY%\016 /V 1 /D copy %systemdrive%\Apps\TweakUI.exe "C:\Documents and Settings\Administrator\Desktop\TweakUI 2.10.exe" /fREG ADD %KEY%\017 /VE /D "Daemon Tools 3.47" /fREG ADD %KEY%\017 /V 1 /D "%systemdrive%\Apps\D-Tools347\Daemon.msi /PASSIVE /NORESTART" /fREG ADD %KEY%\017 /V 2 /D "REGEDIT /S %systemdrive%\Apps\D-Tools347\killstart.reg" /fREG ADD %KEY%\018 /VE /D "MS Office 2003 SP1" /fREG ADD %KEY%\018 /V 1 /D "%systemdrive%\Apps\\MSO2003SP1.exe" /fREG ADD %KEY%\019 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\019 /V 1 /D "%systemdrive%\Apps\CleanUp.cmd" /fEXITIn the 004 line the second line won't copy and in line 016 this line also won't copy ive tried this many times in virtual pc. Link to comment Share on other sites More sharing options...
Astalavista Posted February 8, 2005 Share Posted February 8, 2005 why dont u try using Winrar SFXwhy are u still using systemdrive?REG ADD %KEY%\004 /V 2 /D copy /Y %systemdrive%\Apps\Azureus\Azureus2.jar "C:\Program Files\Azureus" /fREG ADD %KEY%\004 /V 2 /D copy /Y %systemdrive%\Apps\Azureus\Azureus2.jar "%Programfiles%\Azureus" /fREG ADD %KEY%\016 /V 1 /D copy %systemdrive%\Apps\TweakUI.exe "C:\Documents and Settings\Administrator\Desktop\TweakUI 2.10.exe" /fREG ADD %KEY%\016 /V 1 /D copy %systemdrive%\Apps\TweakUI.exe "%ALLUSERSPROFILE%\Desktop\TweakUI 2.10.exe" /fadd this code to the top of your RunonceEX.cmdfor %%i 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 %%i:\WIN51 set CDROM=%%i:Replace all your %systemdrive% to %cdrom% Link to comment Share on other sites More sharing options...
dazkrlauwste Posted February 8, 2005 Share Posted February 8, 2005 What do u mean using Winrar SFX? Elaborate pleaze.Why am i still using systemdriver?, U mean why don't i use RunOnceEx from the CD. Thats a good idea i might just do that.Ok i just fixed al u'r suggestions but what do u want to SFX?By the way any errors or extra suggestions for my CleanUp.cmdcmdow @ /HID@echo offDEL "%AllUsersProfile%\Start Menu\Set Program Access and Defaults.lnk"DEL "%AllUsersProfile%\Start Menu\Windows Catalog.lnk"COPY "%AllUsersProfile%\Start Menu\Programs\MSN Messenger 7.0.lnk" "%UserProfile%\Desktop"DEL "%AllUsersProfile%\Start Menu\Programs\MSN Messenger 7.0.lnk"COPY "%AllUsersProfile%\Start Menu\Programs\Adobe Reader 7.0.lnk" "%UserProfile%\Desktop"DEL "%AllUsersProfile%\Start Menu\Programs\Adobe Reader 7.0.lnk"COPY "%AllUsersProfile%\Start Menu\Programs\Executive Software Diskeeper.lnk" "%UserProfile%\Desktop"DEL "%AllUsersProfile%\Start Menu\Programs\Executive Software Diskeeper.lnk"COPY "%AllUsersProfile%\Start Menu\Programs\Accessories\System Tools\Disk Cleanup.lnk" "%UserProfile%\Desktop"RD /S /Q "%AllUsersProfile%\Start Menu\Programs\Accessories\System Tools"RD /S /Q "%UserProfile%\\Start Menu\Programs\Accessories\Entertainment"RD /Q "%AllUsersProfile%\Documents\My Music\My Playlists"RD /S /Q "%AllUsersProfile%\Documents\My Music\Sample Playlists"RD /S /Q "%AllUsersProfile%\Documents\My Music\Sync Playlists"DEL "%UserProfile%\Desktop\1-Click Maintenance.lnk"DEL "%UserProfile%\Start Menu\Programs\Remote Assistance.lnk"DEL "%UserProfile%\Start Menu\Programs\Internet Explorer.lnk"DEL "%UserProfile%\Start Menu\Programs\Windows Media Player.lnk"DEL "%UserProfile%\Start Menu\Programs\TuneUp Utilities 2004.lnk"DEL "%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\Ace Utilities.lnk"DEL /Q "%UserProfile%\Favorites\*.*"RD /Q "%UserProfile%\Favorites\Links"DEL "%systemroot%\*.bmp"DEL "%AllUsersProfile%\*.bmp"DEL "%UserProfile%*.bmp"DEL "%systemroot%\*.jpg"DEL "%AllUsersProfile%\*.jpg"DEL "%UserProfile%*.jpg"DEL "%systemroot%\*.gif"DEL "%AllUsersProfile%\*.gif"DEL "%UserProfile%*.gif"RD /S /Q %systemdrive%\Appsnet user ASPNET /deleteshutdown.exe -r -f -t 60 -c "Windows will restart in 1 minute"EXIT 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