Jump to content

Recommended Posts


Posted

I am sorry

this is the Patch file code (but i make it a exe file)

cmdow @ /HID

@echo off

ECHO.
SET CDROM=
IF EXIST D:\CD.txt SET CDROM=D:
IF EXIST E:\CD.txt SET CDROM=E:
IF EXIST F:\CD.txt SET CDROM=F:
IF EXIST G:\CD.txt SET CDROM=G:
IF EXIST H:\CD.txt SET CDROM=H:
IF EXIST I:\CD.txt SET CDROM=I:
IF EXIST J:\CD.txt SET CDROM=J:
IF EXIST K:\CD.txt SET CDROM=K:
IF EXIST L:\CD.txt SET CDROM=L:
IF EXIST M:\CD.txt SET CDROM=M:
IF EXIST N:\CD.txt SET CDROM=N:
IF EXIST O:\CD.txt SET CDROM=O:
IF EXIST P:\CD.txt SET CDROM=P:

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

REG ADD %KEY% /V TITLE /D "Installing Office And Photoshop" /f

REG ADD %KEY%\001 /VE /D "Change The CD-ROM" /f
REG ADD %KEY%\001 /V 1 /D "%systemdrive%\CD.exe" /f

REG ADD %KEY%\002 /VE /D "Installing Office 2003" /f
REG ADD %KEY%\002 /V 1 /D "%CDROM%\install\Office\Office.exe" /f

REG ADD %KEY%\003 /VE /D "Arabic Interface For Office" /f
REG ADD %KEY%\003 /V 1 /D "%CDROM%\Install\Arabicoffice\Setup.exe" /f

REG ADD %KEY%\004 /VE /D "Adobe PhotoShop CS ME" /f
REG ADD %KEY%\004 /V 1 /D "%CDROM%\Install\Photoshop\Setup.exe" /f

start /wait rundll32.exe iernonce.dll,RunOnceExProcess

EXIT

Posted
Well what is the volume TSH?

Windows is done installing by now so it wouldnt be the windows cd right?

I'm pretty sure you're right about this, CHANDER. I suspect he has directly copied an installer of some kind that checks to make sure it is being installed from a CD and that TSH refers to the original CD of that particular program.

asbsamsf is also right though. The posted image that we were asked to troubleshoot is not related to the code that got posted.

Posted

i think that the "Importing Registry Tweaks" and "Cleaning Up And Rebooting" still in CD nr 1.

also it seems to me that the line

start /wait rundll32.exe iernonce.dll,RunOnceExProcess

should not be there.

Posted
REG ADD %KEY%\002 /VE /D "Installing Office 2003" /f

REG ADD %KEY%\002 /V 1 /D "%CDROM%\install\Office\Office.exe" /f

are u using the 7zip method in my guide to install your Office?

in addition your photshop is only using setup.exe? where are the

switches?

Posted

hi

thanks

i am using the multi Runonceex and i am changed all the cmd files to exe

my unattended cd is 2 CDROM

Runonceex

cmdow @ /HID
@echo off

ECHO.
SET CDROM=
IF EXIST D:\CD.txt SET CDROM=D:
IF EXIST E:\CD.txt SET CDROM=E:
IF EXIST F:\CD.txt SET CDROM=F:
IF EXIST G:\CD.txt SET CDROM=G:
IF EXIST H:\CD.txt SET CDROM=H:
IF EXIST I:\CD.txt SET CDROM=I:
IF EXIST J:\CD.txt SET CDROM=J:
IF EXIST K:\CD.txt SET CDROM=K:
IF EXIST L:\CD.txt SET CDROM=L:
IF EXIST M:\CD.txt SET CDROM=M:
IF EXIST N:\CD.txt SET CDROM=N:
IF EXIST O:\CD.txt SET CDROM=O:
IF EXIST P:\CD.txt SET CDROM=P:

for %%i in (D: E: F: G: H: I: J: K: L: M: N: O: P: Q: R: S: T:) do if exist %%i\CD.TXT do set CDROM=%%i

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

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

REG ADD %KEY%\001 /VE /D "Installing MultiMedia Tools" /f
REG ADD %KEY%\001 /V 1 /D "%CDROM%\install\SetupFiles\Multimedia.exe" /f

REG ADD %KEY%\002 /VE /D "Installing Utilities" /f
REG ADD %KEY%\002 /V 1 /D "%CDROM%\install\SetupFiles\Utilities.exe" /f

REG ADD %KEY%\003 /VE /D "Installing Internet Tools" /f
REG ADD %KEY%\003 /V 1 /D "%CDROM%\install\SetupFiles\ITools.exe" /f

REG ADD %KEY%\004 /VE /D "Installing Anti Virus" /f
REG ADD %KEY%\004 /V 1 /D "%CDROM%\install\SetupFiles\AV.exe" /f

REG ADD %KEY%\005 /VE /D "Installing Office And Photoshop" /f
REG ADD %KEY%\005 /V 1 /D "%CDROM%\install\SetupFiles\Office.exe" /f

REG ADD %KEY%\006 /VE /D "Importing Registry Tweaks" /f
REG ADD %KEY%\006 /V 1 /D "%CDROM%\install\Regtweaks.exe" /f

REG ADD %KEY%\007 /VE /D "Cleaning Up And Rebooting" /f
REG ADD %KEY%\007 /V 1 /D "%CDROM%\install\cleanup.exe" /f

EXIT

Office

cmdow @ /HID
@echo off

ECHO.
SET CDROM=
IF EXIST D:\CD.txt SET CDROM=D:
IF EXIST E:\CD.txt SET CDROM=E:
IF EXIST F:\CD.txt SET CDROM=F:
IF EXIST G:\CD.txt SET CDROM=G:
IF EXIST H:\CD.txt SET CDROM=H:
IF EXIST I:\CD.txt SET CDROM=I:
IF EXIST J:\CD.txt SET CDROM=J:
IF EXIST K:\CD.txt SET CDROM=K:
IF EXIST L:\CD.txt SET CDROM=L:
IF EXIST M:\CD.txt SET CDROM=M:
IF EXIST N:\CD.txt SET CDROM=N:
IF EXIST O:\CD.txt SET CDROM=O:
IF EXIST P:\CD.txt SET CDROM=P:


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

REG ADD %KEY% /V TITLE /D "Installing Office And Photoshop" /f

REG ADD %KEY%\001 /VE /D "Change The CD-ROM" /f
REG ADD %KEY%\001 /V 1 /D "%systemdrive%\CD.exe" /f

REG ADD %KEY%\002 /VE /D "Installing Office 2003" /f
REG ADD %KEY%\002 /V 1 /D "%CDROM2%\install\Office\Office.exe" /f

REG ADD %KEY%\003 /VE /D "Arabic Interface For Office" /f
REG ADD %KEY%\003 /V 1 /D "%CDROM2%\Install\Arabicoffice\Setup.exe" /f

REG ADD %KEY%\004 /VE /D "Adobe PhotoShop CS ME" /f
REG ADD %KEY%\004 /V 1 /D "%CDROM2%\Install\Photoshop\Setup.exe" /f

start /wait rundll32.exe iernonce.dll,RunOnceExProcess

EXIT

all the Program are installed fine

but my problem is

when the photoshop installing is done the message come out

Astalavista

no i dont use your guide

asbsamsf

the "Importing Registry Tweaks" and "Cleaning Up And Rebooting"

is in the cd num2

Drewdatrip

I am sorry.

CHANDER

TSH is the cd volume label

thanks

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