Bueno, me he leido el método de como hacerlo por batch, pero no lo consigo... No lleva ninguna sección "defaultinstall" o no consigo reconocerla...
Eso no me funciona :/
Eso tampoco, o no lo hago bien
El caso es que creo que la sección con la que debo usar el comando es esta "E2350_Digital.Install", pero lo he probado de mil maneras con syssetup y advpack.dll con varios tutoriales que he leido pero no se me instala (Aunque si que se actualiza el sistema, osea, la pantalla del escritorio se actualiza, hace una especie de "refresh" o algo como si se hubiera instalado... )
El contenido del INF en cuestión es este:
[LG]
%E2350_Analog%=E2350_Analog.Install,Monitor\GSM578F
%E2350_Digital%=E2350_Digital.Install,Monitor\GSM5790
%E2350_HDMI%=E2350_HDMI.Install,Monitor\GSM5791
[LG.NTamd64]
%E2350_Analog%=E2350_Analog.Install,Monitor\GSM578F
%E2350_Digital%=E2350_Digital.Install,Monitor\GSM5790
%E2350_HDMI%=E2350_HDMI.Install,Monitor\GSM5791
[E2350_Analog.Install]
DelReg=DEL_CURRENT_REG
AddReg=E2350_Analog.AddReg,1920,DPMS
CopyFiles=E2350_Analog.CopyFiles
[E2350_Digital.Install]
DelReg=DEL_CURRENT_REG
AddReg=E2350_Digital.AddReg,1920,DPMS
CopyFiles=E2350_Digital.CopyFiles
[E2350_HDMI.Install]
DelReg=DEL_CURRENT_REG
AddReg=E2350_HDMI.AddReg,1920,DPMS
CopyFiles=E2350_HDMI.CopyFiles
[DEL_CURRENT_REG]
HKR,MODES
HKR,,MaxResolution
HKR,,DPMS
HKR,,ICMProfile
[1920]
HKR,,MaxResolution,,"1920,1080"
[DPMS]
HKR,,DPMS,,1
[E2350_Analog.AddReg]
HKR,"MODES\1920,1080",Mode1,,"30.0-83.0,56.0-75.0,+,+"
HKR,,PreferredMode,,"1920,1080,60"
HKR,,ICMprofile,0,"E2350.ICM"
[E2350_Digital.AddReg]
HKR,"MODES\1920,1080",Mode1,,"30.0-83.0,56.0-75.0,+,+"
HKR,,PreferredMode,,"1920,1080,60"
HKR,,ICMprofile,0,"E2350.ICM"
[E2350_HDMI.AddReg]
HKR,"MODES\1920,1080",Mode1,,"30.0-83.0,56.0-61.0,+,+"
HKR,,PreferredMode,,"1920,1080,60"
HKR,,ICMprofile,0,"E2350.ICM"
[E2350_Analog.CopyFiles]
E2350.ICM
[E2350_Digital.CopyFiles]
E2350.ICM
[E2350_HDMI.CopyFiles]
E2350.ICM
[Strings]
DiskName="LG Monitor Profiles Installation Disk"
LG="LG"
E2350_Analog="LG E2350(Analog)"
E2350_Digital="LG E2350(Digital)"
E2350_HDMI="LG E2350(HDMI)"
Código [Seleccionar]
rundll32 syssetup,SetupInfObjectInstallAction DefaultInstall 128 .\LG.inf
Eso no me funciona :/
Código [Seleccionar]
Try Adanced INF way, it has more options
rundll32.exe advpack.dll,LaunchINFSectionEx inf_filename,[section name],[cab name],<flags>[,smart reboot]
Eso tampoco, o no lo hago bien
El caso es que creo que la sección con la que debo usar el comando es esta "E2350_Digital.Install", pero lo he probado de mil maneras con syssetup y advpack.dll con varios tutoriales que he leido pero no se me instala (Aunque si que se actualiza el sistema, osea, la pantalla del escritorio se actualiza, hace una especie de "refresh" o algo como si se hubiera instalado... )
El contenido del INF en cuestión es este:
[LG]
%E2350_Analog%=E2350_Analog.Install,Monitor\GSM578F
%E2350_Digital%=E2350_Digital.Install,Monitor\GSM5790
%E2350_HDMI%=E2350_HDMI.Install,Monitor\GSM5791
[LG.NTamd64]
%E2350_Analog%=E2350_Analog.Install,Monitor\GSM578F
%E2350_Digital%=E2350_Digital.Install,Monitor\GSM5790
%E2350_HDMI%=E2350_HDMI.Install,Monitor\GSM5791
[E2350_Analog.Install]
DelReg=DEL_CURRENT_REG
AddReg=E2350_Analog.AddReg,1920,DPMS
CopyFiles=E2350_Analog.CopyFiles
[E2350_Digital.Install]
DelReg=DEL_CURRENT_REG
AddReg=E2350_Digital.AddReg,1920,DPMS
CopyFiles=E2350_Digital.CopyFiles
[E2350_HDMI.Install]
DelReg=DEL_CURRENT_REG
AddReg=E2350_HDMI.AddReg,1920,DPMS
CopyFiles=E2350_HDMI.CopyFiles
[DEL_CURRENT_REG]
HKR,MODES
HKR,,MaxResolution
HKR,,DPMS
HKR,,ICMProfile
[1920]
HKR,,MaxResolution,,"1920,1080"
[DPMS]
HKR,,DPMS,,1
[E2350_Analog.AddReg]
HKR,"MODES\1920,1080",Mode1,,"30.0-83.0,56.0-75.0,+,+"
HKR,,PreferredMode,,"1920,1080,60"
HKR,,ICMprofile,0,"E2350.ICM"
[E2350_Digital.AddReg]
HKR,"MODES\1920,1080",Mode1,,"30.0-83.0,56.0-75.0,+,+"
HKR,,PreferredMode,,"1920,1080,60"
HKR,,ICMprofile,0,"E2350.ICM"
[E2350_HDMI.AddReg]
HKR,"MODES\1920,1080",Mode1,,"30.0-83.0,56.0-61.0,+,+"
HKR,,PreferredMode,,"1920,1080,60"
HKR,,ICMprofile,0,"E2350.ICM"
[E2350_Analog.CopyFiles]
E2350.ICM
[E2350_Digital.CopyFiles]
E2350.ICM
[E2350_HDMI.CopyFiles]
E2350.ICM
[Strings]
DiskName="LG Monitor Profiles Installation Disk"
LG="LG"
E2350_Analog="LG E2350(Analog)"
E2350_Digital="LG E2350(Digital)"
E2350_HDMI="LG E2350(HDMI)"