Can I add my way for the 2nd CD….. I've made exe file and it's work fine now….the way is very easy just you need to change the file name you wont to setup it in the .cmd file and put that .cmd file on your %systemdrive% by any way you like.. as $OEM$ or other ways just it must to be on the %systemdrive% at the time you went to setup programs from the 2nd cd ….and you need also cd2.txt to be on the root or the 2nd cd, so just we need this 4 (CD2.txt + 2NDCD.cmd + cdeject.exe + cdr.exe) files….
I'll put them at all in the attachments, just you need to edit the .cmd as you need
2NDCD.cmd:
Quote
@ECHO OFF
ECHO.
SET CDROM2=
IF EXIST D:\CD2.txt SET CDROM2=D:
IF EXIST E:\CD2.txt SET CDROM2=E:
IF EXIST F:\CD2.txt SET CDROM2=F:
IF EXIST G:\CD2.txt SET CDROM2=G:
IF EXIST H:\CD2.txt SET CDROM2=H:
IF EXIST I:\CD2.txt SET CDROM2=I:
IF EXIST J:\CD2.txt SET CDROM2=J:
IF EXIST K:\CD2.txt SET CDROM2=K:
IF EXIST L:\CD2.txt SET CDROM2=L:
IF EXIST M:\CD2.txt SET CDROM2=M:
IF EXIST N:\CD2.txt SET CDROM2=N:
IF EXIST %CDROM2%\CD2.TXT GOTO RUN
cls
:RUN
ECHO.
start /wait %CDROM2%\SETUP.exe TRANSFORMS=Unattended.MST /qb-
cls
ECHO.
EXIT
And this is my way to call it also…..
Runonceex.inf:
Quote
HKLM,"%RunOnceEx%\install13",1,,"%10%\Apps4\CDR.exe open ALL"
HKLM,"%RunOnceEx%\install13",2,,"%10%\Apps4\cdeject.exe"
I hope that it help you,,,Tell me about it if it work with you or not……
Attached File(s)
-
2nd_cd.rar (62.62K)
Number of downloads: 122



Help

Back to top










