Jump to content

Programs not installed ?


Redman

Recommended Posts

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

Redman

cmdow @ /HID

@Echo Off

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:\CD.txt SET UDFDRIVE=%%i:

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

REG ADD %KEY% /V TITLE /D "Programma's Installeren" /f

REG ADD %KEY%\000 /VE /D "Acrobat Reader 6.01 NL" /f

REG ADD %KEY%\000 /V 1 /D "%UDFDRIVE%\ADOBE\ar60nld.msi /qn" /f

REG ADD %KEY%\010 /VE /D "Sun Java 1.4.2" /f

REG ADD %KEY%\010 /V 1 /D "%UDFDRIVE%\SUNJAVA\j2re-1_4_2_07-windows-i586-p.exe /s /v/qn" /f

REG ADD %KEY%\020 /VE /D "Real Alternative 1.30" /f

REG ADD %KEY%\020 /V 1 /D "%UDFDRIVE%\REAL\realalt130.exe /VERYSILENT /SP-" /f

REG ADD %KEY%\030 /VE /D "QuickTime Alternative 1.40" /f

REG ADD %KEY%\030 /V 1 /D "%UDFDRIVE%\QUICKTIME\quicktimealt140.exe /VERYSILENT /SP-" /f

REG ADD %KEY%\035 /VE /D "Macromedia Shockwave 10.1 and Flash 7" /f

REG ADD %KEY%\035 /V 1 /D "%UDFDRIVE%\MACROMEDIA\SWFLASH\mm_fl_sw_installer.msi /qn" /f

REG ADD %KEY%\040 /VE /D "Google Toolbar 2.0.114.9" /f

REG ADD %KEY%\040 /V 1 /D "%UDFDRIVE%\GOOGLE\GoogleToolbarInstaller.exe /q /d" /f

REG ADD %KEY%\060 /VE /D "Microsoft .NET Framework 1.1 SP1 NL" /f

REG ADD %KEY%\060 /V 1 /D "%UDFDRIVE%\DOTNET\Netfx.msi /qn" /f

REG ADD %KEY%\060 /V 2 /D "%UDFDRIVE%\DOTNET\NDP1.1sp1-KB867460-X86-nld.exe /qn" /f

REG ADD %KEY%\065 /VE /D "Microsoft MSN Messenger 6.2 NL" /f

REG ADD %KEY%\065 /V 1 /D "%UDFDRIVE%\MSN6\MsnMsgs.msi /qn" /f

REG ADD %KEY%\070 /VE /D "Microsoft Windows Media Player 10.0 NL" /f

REG ADD %KEY%\070 /V 1 /D "%UDFDRIVE%\WMP10\MP10Setup.exe /Q:A /R:N" /f

REG ADD %KEY%\110 /VE /D "Microsoft Office 2003 Pro SP1 NL" /f

REG ADD %KEY%\110 /V 1 /D "%UDFDRIVE%\OFFICE11\office11.exe /s" /f

REG ADD %KEY%\140 /VE /D "Nero Burning ROM 6.6.0.6 Enterprise Edition" /f

REG ADD %KEY%\140 /V 1 /D "REGEDIT /S %UDFDRIVE%\NERO\nero.reg" /f

REG ADD %KEY%\140 /V 2 /D "%UDFDRIVE%\NERO\nero6606.exe /s" /f

REG ADD %KEY%\140 /V 3 /D "%UDFDRIVE%\NERO\NBR6606NLD.exe /s" /f

REG ADD %KEY%\180 /VE /D "Cyberlink PowerDVD 6 Deluxe Enhanced" /f

REG ADD %KEY%\180 /V 1 /D "%UDFDRIVE%\CYBERLINK\DVD\setup.exe /s" /f

REG ADD %KEY%\190 /VE /D "CyberLink PowerDVD Copy 1.0.0625" /f

REG ADD %KEY%\190 /V 1 /D "%UDFDRIVE%\CYBERLINK\COPY\setup.exe /s" /f

REG ADD %KEY%\220 /VE /D "Slysoft AnyDvd 4.5.7.2" /f

REG ADD %KEY%\220 /V 1 /D "%UDFDRIVE%\ANYDVD\SetupAnyDVD4572.exe /S" /f

REG ADD %KEY%\220 /V 2 /D "%UDFDRIVE%\ANYDVD\AnyDVD.exe /s" /f

REG ADD %KEY%\220 /V 3 /D "REGEDIT /S %UDFDRIVE%\ANYDVD\AnyDVD.reg" /f

REG ADD %KEY%\230 /VE /D "Cover XP 1.65" /f

REG ADD %KEY%\230 /V 1 /D "%UDFDRIVE%\COVERXP\cxp_pro165.exe /S" /f

REG ADD %KEY%\230 /V 2 /D "REGEDIT /S  %UDFDRIVE%\COVERXP\coverxp.reg" /f

REG ADD %KEY%\280 /VE /D "WinRAR 3.42 Nederlands" /f

REG ADD %KEY%\280 /V 1 /D "%UDFDRIVE%\WINRAR\wrar342nl.exe /s" /f

REG ADD %KEY%\280 /V 2 /D "%UDFDRIVE%\WINRAR\rarreg.exe /s" /f

REG ADD %KEY%\290 /VE /D "Microsoft AntiSpyware Beta" /f

REG ADD %KEY%\290 /V 1 /D "%UDFDRIVE%\MSAS\MicrosoftAntiSpywareInstall.exe /s /v/qn" /f

REG ADD %KEY%\410 /VE /D "Registry Tweaks" /f

REG ADD %KEY%\410 /V 1 /D "REGEDIT /S  %UDFDRIVE%\ZZ\regtweaks.reg" /f

REG ADD %KEY%\500 /VE /D "Opnieuw Opstarten" /f

REG ADD %KEY%\500 /V 1 /D "%UDFDRIVE%\ZZ\Restart.cmd" /f

EXIT

Link to comment
Share on other sites


I also have a problem with an RunOnceEx line.

cmdow @ /HID

@echo off

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

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\001 /VE /D ".NET Framework 1.1 SP1" /f

REG ADD %KEY%\001 /V 1 /D "%systemdrive%\Apps\DOTNETFXSP1.exe" /f

REG ADD %KEY%\002 /VE /D "Java2 Runtime Environement 5.0.1" /f

REG ADD %KEY%\002 /V 1 /D "%systemdrive%\Apps\JRE501.exe" /f

REG ADD %KEY%\003 /VE /D "Ace Utilities 2.42" /f

REG ADD %KEY%\003 /V 1 /D "%systemdrive%\Apps\AU242.exe /VERYSILENT" /f

REG ADD %KEY%\004 /VE /D "Azureus 2.2.0.3 B25" /f

REG ADD %KEY%\004 /V 1 /D "%systemdrive%\Apps\Azureus\Azureus.exe /S" /f

REG ADD %KEY%\004 /V 2 /D copy /Y %systemdrive%\Apps\Azureus\Azureus2.jar "C:\Program Files\Azureus" /f

REG ADD %KEY%\005 /VE /D "IsoBuster 1.7" /f

REG ADD %KEY%\005 /V 1 /D "%systemdrive%\Apps\IsoBuster17\IsoBuster.exe /LOADINF=\"%systemdrive%\Apps\IsoBuster17\silent.inf\" /VERYSILENT /SP-" /f

REG ADD %KEY%\005 /V 2 /D "taskkill /F /IM isobuster.exe" /f

REG ADD %KEY%\006 /VE /D "K-Lite Mega Codec Pack 1.18" /f

REG ADD %KEY%\006 /V 1 /D "%systemdrive%\Apps\K-LiteMCP118\klmcodec118.exe /LOADINF=\"%systemdrive%\Apps\K-LiteMCP118\silent.inf\" /VERYSILENT" /f

REG ADD %KEY%\007 /VE /D "Kazaa Lite Resurrection 0.0.7.6F" /f

REG ADD %KEY%\007 /V 1 /D "%systemdrive%\Apps\KLR0076F.exe /SP /VERYSILENT /NOREBOOT" /f

REG ADD %KEY%\008 /VE /D "Microsoft AntiSpyware Beta 1" /f

REG ADD %KEY%\008 /V 1 /D "%systemdrive%\Apps\MSAntiSpyware\MSAntiSpyware.msi /PASSIVE /NORESTART" /f

REG ADD %KEY%\008 /V 2 /D "REGEDIT /S %systemdrive%\Apps\MSAntiSpyware\killstart.reg" /f

REG ADD %KEY%\009 /VE /D "MSN Messenger 7" /f

REG ADD %KEY%\009 /V 1 /D "%systemdrive%\Apps\Messenger_Patch_Plus.exe /VERYSILENT" /f

REG ADD %KEY%\010 /VE /D "TuneUp Utilities 2004" /f

REG ADD %KEY%\010 /V 1 /D "%systemdrive%\Apps\TU2004\TU2004.exe /Q" /f

REG ADD %KEY%\010 /V 2 /D "REGEDIT /S %systemdrive%\Apps\TU2004\reg.reg" /f

REG ADD %KEY%\011 /VE /D "7-Zip 4.15 beta" /f

REG ADD %KEY%\011 /V 1 /D "%systemdrive%\Apps\7-Zip4.15beta.exe /S" /f

REG ADD %KEY%\012 /VE /D "Acrobat Reader 7.0" /f

REG ADD %KEY%\012 /V 1 /D "%systemdrive%\Apps\AcroReader7.exe" /f

REG ADD %KEY%\013 /VE /D "ClearType Tuner" /f

REG ADD %KEY%\013 /V 1 /D "%systemdrive%\Apps\ClearTypeTuner.msi /PASSIVE" /f

REG ADD %KEY%\014 /VE /D "Diskeeper Professional 9.0.515" /f

REG ADD %KEY%\014 /V 1 /D "%systemdrive%\Apps\DiskPro90515.exe /S /V/QN" /f

REG ADD %KEY%\015 /VE /D "WinRAR 3.42" /f

REG ADD %KEY%\015 /V 1 /D "%systemdrive%\Apps\WinRAR342.exe /S" /f

REG ADD %KEY%\016 /VE /D "TweakUI 2.10" /f

REG ADD %KEY%\016 /V 1 /D copy %systemdrive%\Apps\TweakUI.exe "C:\Documents and Settings\Administrator\Desktop\TweakUI 2.10.exe" /f

REG ADD %KEY%\017 /VE /D "Daemon Tools 3.47" /f

REG ADD %KEY%\017 /V 1 /D "%systemdrive%\Apps\D-Tools347\Daemon.msi /PASSIVE /NORESTART" /f

REG ADD %KEY%\017 /V 2 /D "REGEDIT /S %systemdrive%\Apps\D-Tools347\killstart.reg" /f

REG ADD %KEY%\018 /VE /D "MS Office 2003 SP1" /f

REG ADD %KEY%\018 /V 1 /D "%systemdrive%\Apps\\MSO2003SP1.exe" /f

REG ADD %KEY%\019 /VE /D "Cleaning Up and Rebooting" /f

REG ADD %KEY%\019 /V 1 /D "%systemdrive%\Apps\CleanUp.cmd" /f

EXIT

In 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

why dont u try using Winrar SFX

why are u still using systemdrive?

REG ADD %KEY%\004 /V 2 /D copy /Y %systemdrive%\Apps\Azureus\Azureus2.jar "C:\Program Files\Azureus" /f
REG ADD %KEY%\004 /V 2 /D copy /Y %systemdrive%\Apps\Azureus\Azureus2.jar "%Programfiles%\Azureus" /f
REG ADD %KEY%\016 /V 1 /D copy %systemdrive%\Apps\TweakUI.exe "C:\Documents and Settings\Administrator\Desktop\TweakUI 2.10.exe" /f
REG ADD %KEY%\016 /V 1 /D copy %systemdrive%\Apps\TweakUI.exe "%ALLUSERSPROFILE%\Desktop\TweakUI 2.10.exe" /f

add this code to the top of your RunonceEX.cmd

for %%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

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

cmdow @ /HID

@echo off

DEL "%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%\Apps

net user ASPNET /delete

shutdown.exe -r -f -t 60 -c "Windows will restart in 1 minute"

EXIT

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