Skip to content
Snippets Groups Projects
Commit d323108a authored by LABORIE Stéphane's avatar LABORIE Stéphane
Browse files

regle soucis EOL windows

parent 4b656110
No related branches found
No related tags found
No related merge requests found
*.bat text eol=crlf
...@@ -48,33 +48,33 @@ GOTO DRIVERS ...@@ -48,33 +48,33 @@ GOTO DRIVERS
:DELL :DELL
set "STR=Telechargement des fichiers" set "STR=Telechargement des fichiers"
call ::MESSAGE call :MESSAGE
curl -o %TEMP%\dotnet-4.8.exe -L https://go.microsoft.com/fwlink/?linkid=2088631 curl -o %TEMP%\dotnet-4.8.exe -L https://go.microsoft.com/fwlink/?linkid=2088631
curl -o %TEMP%\dell-command-update.exe -L https://src.koda.cnrs.fr/mri-net/windows-ventoy-auto-install/-/raw/main/Files/Dell-Command-Update-Windows-Universal-Application_JCVW3_WIN_5.1.0_A00.EXE curl -o %TEMP%\dell-command-update.exe -L https://src.koda.cnrs.fr/mri-net/windows-ventoy-auto-install/-/raw/main/Files/Dell-Command-Update-Windows-Universal-Application_JCVW3_WIN_5.1.0_A00.EXE
set "STR=Installation du dotnet 4.8" set "STR=Installation du dotnet 4.8"
call ::MESSAGE call :MESSAGE
START /WAIT /I %TEMP%\dotnet-4.8.exe /passive /norestart START /WAIT /I %TEMP%\dotnet-4.8.exe /passive /norestart
set "STR=Installation de dell command update" set "STR=Installation de dell command update"
call ::MESSAGE call :MESSAGE
START /WAIT /I %TEMP%\dell-command-update.exe /s START /WAIT /I %TEMP%\dell-command-update.exe /s
set "STR=Installation des drivers avec dell command update" set "STR=Installation des drivers avec dell command update"
call ::MESSAGE call :MESSAGE
"%programfiles%\Dell\CommandUpdate\dcu-cli.exe" /driverInstall "%programfiles%\Dell\CommandUpdate\dcu-cli.exe" /driverInstall
GOTO FIN GOTO FIN
:HP :HP
set "STR=Telechargement des fichiers" set "STR=Telechargement des fichiers"
call ::MESSAGE call :MESSAGE
curl -o %TEMP%\hp-hpia-5.2.0.exe -L https://src.koda.cnrs.fr/mri-net/windows-ventoy-auto-install/-/raw/main/Files/hp-hpia-5.2.0.exe curl -o %TEMP%\hp-hpia-5.2.0.exe -L https://src.koda.cnrs.fr/mri-net/windows-ventoy-auto-install/-/raw/main/Files/hp-hpia-5.2.0.exe
set "TR=Installation de HP Image Assistant" set "TR=Installation de HP Image Assistant"
call ::MESSAGE call :MESSAGE
START /WAIT /I %TEMP%\hp-hpia-5.2.0.exe /s /e /f "%ProgramFiles%\HPIA" START /WAIT /I %TEMP%\hp-hpia-5.2.0.exe /s /e /f "%ProgramFiles%\HPIA"
DEL "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\post_install.cmd" DEL "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\post_install.cmd"
START reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 1 /f START reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 1 /f
set "STR=Installation des drivers avec HP Image Assistant" set "STR=Installation des drivers avec HP Image Assistant"
"%ProgramFiles%\HPIA\HPImageAssistant.exe" /Operation:Analyze /Category:Drivers /Selection:All /Action:Install /Noninteractive /Debug /ReportFolder:%temp% "%ProgramFiles%\HPIA\HPImageAssistant.exe" /Operation:Analyze /Category:Drivers /Selection:All /Action:Install /Noninteractive /Debug /ReportFolder:%temp%
set "STR=Merci de redemarrer manuellement une fois que HP Image Assistant aura termine" set "STR=Merci de redemarrer manuellement une fois que HP Image Assistant aura termine"
call ::MESSAGE call :MESSAGE
pause pause
GOTO EOF GOTO EOF
...@@ -104,7 +104,7 @@ GOTO :EOF ...@@ -104,7 +104,7 @@ GOTO :EOF
:FIN :FIN
set "STR=Redemarrage" set "STR=Redemarrage"
call MESSAGE call :MESSAGE
DEL "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\post_install.cmd" DEL "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\post_install.cmd"
START reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 1 /f START reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 1 /f
shutdown /r /F /T 0 shutdown /r /F /T 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment