Jump to content

problem withy runonceex


Recommended Posts

I everybody, I have made an unattended sp2 cd which worked great up to the point where it started installing the runoncex where it gives the next error (my programs sit in cdroot\$OEM$\$1\Install.

error: " windows cannot find c:\Install\" program dir"\file make sure yu tuped the name correvtly and then try again. to search for a file click the start button and then click search"

here is my runoncex script:

cmdow @ /HID

@Echo Off

rem PP=%SystemDrive%\Install\

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

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

REG ADD %KEY%\000 /VE /D "Ad-Aware Pro" /f

REG ADD %KEY%\000 /V 1 /D "%SystemDrive%\Install\Ad-aware_pro\aawsepro.exe /S" /f

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

REG ADD %KEY%\000 /V 3 /D "taskkill /IM hh.exe /F" /f

REG ADD %KEY%\000 /V 4 /D "taskkill /IM Ad-Aware.exe /F" /f

REG ADD %KEY%\001 /VE /D "Acrobat Reader 6.0" /f

REG ADD %KEY%\001 /V 1 /D "%SystemDrive%\Install\Acrobat_reader_6\AdbeRdr60_enu_full.exe -p"-s /v\"/qn\""" /f

REG ADD %KEY%\002 /VE /D "FireFox 9.3 Browser" /f

REG ADD %KEY%\002 /V 1 /D "%SystemDrive%\Install\Firefox\firefox9_3.msi /qn" /f

REG ADD %KEY%\003 /VE /D "Nero Burning ROM 63120" /f

REG ADD %KEY%\003 /V 1 /D "%SystemDrive%\Install\Nero6\Nero63120.exe /SILENT /NOREBOOT /SN=removed /WRITE_SN" /f

REG ADD %KEY%\004 /VE /D "SpyBot Search & Destroy" /f

REG ADD %KEY%\004 /V 1 /D "%SystemDrive%\Install\Spybot\spybotsd12.exe /verysilent" /f

REG ADD %KEY%\005 /VE /D "Sygate Personal Firewall" /f

REG ADD %KEY%\005 /V 1 /D "%SystemDrive%\Install\Sygate5.5\spf.exe /QN Reboot=Supress" /f

REG ADD %KEY%\006 /VE /D "Sun Java VM 1.4.2.05" /f

REG ADD %KEY%\006 /V 1 /D "%SystemDrive%\Install\sun_java\j2re-1_4_2_05-windows-i586-p.exe /s /v\"/qb IEXPLORER=1 REBOOT=ReallySuppress\"" /f

REG ADD %KEY%\007 /VE /D "WinISO 5.3" /f

REG ADD %KEY%\007 /V 1 /D "%SystemDrive%\Install\Winiso5.3\WinISO.exe /VERYSILENT /SP-" /f

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

REG ADD %KEY%\008 /VE /D "WinRAR 3.30" /f

REG ADD %KEY%\008 /V 1 /D "%SystemDrive%\Install\winrar\wrar330.exe /s" /f

If EXIST %SYSTEMDRIVE%\cleanup.cmd (

REG ADD %KEY%\010 /VE /D "cleanup" /f

REG ADD %KEY%\010 /V 1 /D "%SYSTEMDRIVE%\cleanup.cmd" /f

EXIT

Link to comment
Share on other sites


Another nero serial posted. Please do not post serials. :no:

I see " ( " near the end of script. Would not " _ " be used as a continuation character? If continuing line, that following line would also need a continuation character?

As for rest, seems ok?

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