Jump to content

Problems with switches


Recommended Posts

I have the RunOnceEx.cmd and the Start.cmd but when I try to install the OS says that cannot find the setup files for the applications, I check and the applications are copied to the HD under:

C:\install\Application

When I believe it should be

C:\Install

Here is my files:

RunoOnceEx.cmd

cmdow @ /HID

@echo off

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

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

REG ADD %KEY%\005 /VE /D "Diskeeper 8" /f

REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\DiskeeperPro_8.0.459.exe /s /v/qn" /f

REG ADD %KEY%\015 /VE /D "Flashget 1.6" /f

REG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\flashget\fgf160.exe /S" /f

REG ADD %KEY%\015 /V 2 /D "REGEDIT /S %systemdrive%\install\flashget\register.reg" /f

REG ADD %KEY%\020 /VE /D "ZoneAlarm Pro with Web Filtering v4.5.538.001" /f

REG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\ZoneAlarm\ZapSetup.exe /s /noreboot" /f

REG ADD %KEY%\020 /V 2 /D "REGEDIT /S %systemdrive%\install\ZoneAlarm\register.reg" /f

REG ADD %KEY%\030 /VE /D "Nero Burning ROM v6.3.1.20" /f

REG ADD %KEY%\030 /V 1 /D "%systemdrive%\install\Nero\Nero63120.exe /silent /noreboot /no_ui" /f

REG ADD %KEY%\030 /V 2 /D "REGEDIT /S %systemdrive%\install\nero\register.reg" /f

REG ADD %KEY%\035 /VE /D "Winzip 9.0" /f

REG ADD %KEY%\035 /V 1 /D "%systemdrive%\install\Winzip\WINZIP32.EXE /s" /f

REG ADD %KEY%\035 /V 2 /D "REGEDIT /S %systemdrive%\install\Winzip\register.reg" /f

REG ADD %KEY%\040 /VE /D "UltraISO 7.21 SR-2 ME" /f

REG ADD %KEY%\040 /V 1 /D "%systemdrive%\install\UltraISO\UltraISO.exe /s" /f

REG ADD %KEY%\040 /V 2 /D "REGEDIT /S %systemdrive%\install\UltraISO\register.reg" /f

REG ADD %KEY%\045 /VE /D "Adobe Photoshop CS v8.0" /f

REG ADD %KEY%\045 /V 1 /D "%systemdrive%\install\Adobe Photoshop CS v8.0\setup.exe /s" /f

REG ADD %KEY%\045 /V 2 /D "REGEDIT /S %systemdrive%\install\Adobe Photoshop CS v8.0\activation.reg" /f

REG ADD %KEY%\050 /VE /D "WinRAR 3.30 Plus Edition" /f

REG ADD %KEY%\050 /V 1 /D "%systemdrive%\install\WinRAR\setup.exe /silent" /f

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

REG ADD %KEY%\055 /V 1 /D "%systemdrive%\install\cleanup.cmd" /f

EXIT

and the Start.cmd

CLS

@echo off

TITLE Windows XP SP2 - Unattended Installation

ECHO.

ECHO Over the next few minutes you will see automated installations

ECHO of various sofware applications, windows updates, and registry

ECHO tweaks being implemented. The computer will restart automatically

ECHO once the whole process has finished!

ECHO.

ECHO Applying Registry Tweaks...

REGEDIT /S %systemdrive%\install\RegTweaks.reg

ECHO.

ECHO Deleting ASP.NET User Account created by .NET Framework 1.1...

net user aspnet /delete

ECHO.

ECHO Starting installation of Applications

ECHO.

ECHO Installing Executive Diskeeper 8.0...

ECHO Please wait...

start /wait %systemdrive%\install\Applications\diskeeper\Setup.exe /s/v/qn

ECHO.

ECHO Installing Flashget 1.6...

ECHO Please wait...

start /wait %systemdrive%\install\Applications\flashget\fgf160.exe /S

ECHO.

ECHO Registering Flashget 1.6...

REGEDIT /S %systemdrive%\install\Applications\flashget\register.reg

ECHO.

ECHO Installing ZoneAlarm Pro with Web Filtering v4.5.538.001...

ECHO Please wait...

start /wait %systemdrive%\install\Applications\ZoneAlarm\Zapsetup.exe/s/noreboot %systemdrive%\install\Applications\ZoneAlarm\config.xml

ECHO.

ECHO Registering ZoneAlarm Pro with Web Filtering...

REGEDIT /S %systemdrive%\install\Applications\ZoneAlarm\register.reg

ECHO.

ECHO Installing Nero Burning ROM v6.3.1.20

ECHO Please wait...

start /wait %systemdrive%\install\Applications\Nero\Nero63120.exe /silent/noreboot/no_ui/sn=SN REMOVED/write_sn

ECHO.

ECHO Installing Winzip 9.0...

ECHO Please wait...

start /wait %systemdrive%\install\Applications\winzip\WINZIP32.EXE /noqp/notip /autoinstall

ECHO.

ECHO Registering Winzip 9.0...

REGEDIT /S %systemdrive%\install\Applications\winzip\register.reg

ECHO.

ECHO Installing UltraISO 7.21 SR-2 ME...

ECHO Please wait...

start /wait %systemdrive%\install\Applications\UltraISO\UltraISO.exe /VERYSILENT /SP-

ECHO.

ECHO.

ECHO Registering Winzip 9.0...

REGEDIT /S %systemdrive%\install\Applications\UltraISO\UltraISO script.exe

ECHO.

ECHO Installing Adobe Photoshop CS v8.0...

ECHO Please wait...

start /wait %systemdrive%\install\Applications\Adobe Photoshop CS v8.0\setup.exe /s/noreboot %systemdrive%\install\Applications\ZoneAlarm\config.xml

ECHO.

ECHO Registering Adobe Photoshop CS v8.0...

REGEDIT /S %systemdrive%\install\Applications\Adobe Photoshop CS v8.0\activation.reg

ECHO.

ECHO Installing WinRAR 3.30 Plus Edition...

ECHO Please wait...

start /wait %systemdrive%\install\Applications\WinRAR\setup.exe /silent

ECHO.

ECHO Restarting the PC in 1 minute...

shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute, this will give enough time for the shortcuts to update and for the shell to fully load before its ready to restart!"

ECHO.

ECHO Deleting Temp Installation Files...

RD /S /Q %systemdrive%\Drivers

RD /S /Q %systemdrive%\install

EXIT

What is worng?

Link to comment
Share on other sites


my guess would be your paths are wrong in your RunOnceEX file.

you start.cmd file has %systemdrive%\install\applications, where as %systemdrive%\install , so I would take a gander that you have your stuff in $OEM$\$1\Install\application

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