Hello, I have tried and to make to execute RunOnceEx from dvd, here the script:
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:
REG ADD %KEY%\020 /V 1 /D "%CDROM%\install\js56nit.exe /Q:A /R:N" /f
REG ADD %KEY%\020 /V 1 /D "%DVDROM%\install\js56nit.exe /Q:A /R:N" /f
it is from CDROM that give DVDROM do not work..................
Thanks to anyone can help me
Avr3
Page 1 of 1
RunOnceEx installation from dvd
#2
Posted 06 August 2004 - 06:04 AM
you didn't define %DVDROM%
the %cdrom% is just a name - you can call it whatever you want:
IF EXISTS d:\cd.txt set WHATEVER=D: and then you've got %WHATEVER%
so don't try and call it %DVDROM% - just stick with %CDROM% - or change all to %DVDROM%
the %cdrom% is just a name - you can call it whatever you want:
IF EXISTS d:\cd.txt set WHATEVER=D: and then you've got %WHATEVER%
so don't try and call it %DVDROM% - just stick with %CDROM% - or change all to %DVDROM%
#3
Posted 06 August 2004 - 07:02 AM
WwTIPPYwW is completely right. Even %avr3DVD% should work, too.
This is because you've already commanded the shell to SET it, i.e., MAKE it so.
SET command instructs the shell to work for waht you want it to.
This is because you've already commanded the shell to SET it, i.e., MAKE it so.
SET command instructs the shell to work for waht you want it to.
Share this topic:
Page 1 of 1



Help
Back to top









