Hola amigo, resulta que probé los códigos que me diste y no funcionaron, es mas siguieron de largo y no instalo nada, lógicamente modifique las rutas, pero hay algo que no me cuadra, la variable que colocaste %CDROM% no sera el error? pues estoy probando en virtualbox y con una unidad virtual! si funciona? al instalar el windows desde USB funcionara?. insisto no sera algún problema aparte? estoy probando la versión 1520 del SAD2? ya revise mi install.wim y lo único diferente que tiene es un registro .reg que le agregue para deshabilitar el UAC nada mas? tendrá que ver esto con que el SAD2 no funcione?
----
Hello friend, is that I tried the codes you gave me and did not work,a followed the long, and do not install anything, logically modify the paths, but one thing I do not block, the variable% CDROM% you placed will not be the error? I'm testing it in virtualbox and a virtual drive! if it works? to install windows from USB work?. insist not be a problem apart? I'm testing the 1520 version of SAD2? and check out my install.wim and the only difference it has is a record. reg add you to disable the UAC anything more? have to do with the SAD2 not work?
@ECHO off & setlocal EnableDelayedExpansion
SET "LOGFILE=%systemdrive%\install.log"
FOR %%i IN (C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO (DIR %%i: && IF /I EXIST %%i:\sources\install.wim SET "CDROM=%%i:") >nul 2>&1
ECHO>>"%LOGFILE%" 2>>&1 Found CD-Rom as drive %CDROM%
:PROCESSOR
REM :: Detect OS bit-ness on running system. Assumes 64-bit unless 64-bit components do not exist.
SET "ARCH=64" & SET "ARCHP=x64"
IF /I NOT EXIST "%SystemRoot%\SysWOW64\cmd.exe" (
IF NOT DEFINED PROCESSOR_ARCHITEW6432 (SET "ARCH=32" & SET "ARCHP=x86")
)
ECHO>>"%LOGFILE%" 2>>&1 System architecture is %ARCH% bit.
:PROCESSOR_end
:NET_Framework_45
IF /I NOT EXIST "%CDROM%\updates\NET45\dotnetfx45_full_x86_x64.exe" GOTO NET_Framework_45_end
ECHO>>"%LOGFILE%" ......................
ECHO>>"%LOGFILE%" 2>>&1 Installing .NET 4.5 Framework
%CDROM%\setup\scripts\dotNetFx45_Full_x86_x64intl_Slim.exe /ail >>"%LOGFILE%" 2>>&1
:Drivers
ECHO>>"%LOGFILE%" ......................
ECHO>>"%LOGFILE%" 2>>&1 Installing drivers.
IF /I EXIST "%systemdrive%\D\SAD2\DP_Install_Tool.cmd" Start "" /max /separate %comspec% /c %systemdrive%\D\SAD2\DP_Install_Tool.cmd /s
:Drivers_end
este tampoco funciono, y eso que solo le estoy instalando driverpack SAD2 desde el setupcomplete.cmd
this not worked, and that I'm only installing driverpack SAD2 from setupcomplete.cmd
:Drivers
ECHO>>"%LOGFILE%" ......................
ECHO>>"%LOGFILE%" 2>>&1 Installing drivers.
IF /I EXIST "%CDROM%\SAD2\DP_Install_Tool.cmd" Start "" /max /separate %comspec% /c %CDROM%\SAD2\DP_Install_Tool.cmd /s
:Drivers_end