윈 도 우 윈도우 설치시 오피스 + 한글 자동설치
2024.03.08 15:55
봉인 또는 무봉인으로 말고~~
무월님 무인설치에 보면
SetupComplete 이 파일이 윈도우 다 설치하고 마지막 로그인시에 설치를 하는것 같습니다
@echo off
color 1f
cls
echo.
:: ------------------------------- 예약된 저장소를 비활성화 --------------------------------
:ReservedStorage
for /f "tokens=3 delims=.]" %%a in ('ver') do set build=%%a
if %build% GEQ 18362 (reg add HKLM\Software\Microsoft\Windows\CurrentVersion\ReserveManager /v ShippedWithReserves /t reg_dword /d 0 /f)
GOTO ContextMx64
:: ------------------------------- x64 컨텍스트 메뉴 등록 --------------------------------
:ContextMx64
cd %WINDIR%\Setup\Scripts
regedit /s win11x64.reg
GOTO VisualCppRedist
:: ------------------------------- Visual C++ 2005~2022 패키지 설치 --------------------------------
:VisualCppRedist
cd %WINDIR%\Setup\Scripts
VisualCppRedist.exe /y
GOTO OneDriveRemove
:: ------------------------------- OneDrive 설치 방지 --------------------------------
:OneDriveRemove
Reg Load "HKU\LoadedDefaultUser" "%SystemDrive%\Users\Default\NTUSER.DAT" 1>NUL
Reg Delete "HKU\LoadedDefaultUser\Software\Microsoft\Windows\CurrentVersion\Run" /v "OneDriveSetup" /f 1>NUL
DEL /f "%SystemDrive%\Users\Default\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\OneDrive.lnk" 2>NUL
Reg UnLoad "HKU\LoadedDefaultUser" 1>NUL
GOTO DefenderExclusion
댓글 [3]
-
메리아 2024.03.08 16:43
-
무월 2024.03.08 20:06
대충~ 드라이브 루트 AutoInstall 폴더에 설치 파일을 넣고 무인설치 옵션으로 실행
└▶ 윈도우 설치 중 한글, 오피스 설치 파일을 드라이브 루트에 복사하고 싶은 경우 \sources\$OEM$\$1\AutoInstall 경로에 추가
└▶ 오피스는 KpoJIuK 리팩버전 기준 옵션
└▶ 혹은 본인이 설치할 오피스 버전의 무인 설치 옵션 사용
└▶ 한글 자동 설치 옵션은 아래 링크 참고
└▶ 오피스 copy 구문은 공용 바탕화면에 바로가기 복사(생략 가능)
한글2024 로고 교체 / 자동 설치 옵션
https://windowsforum.kr/lecture/20149970
:HWP2022
pushd %~dp0
for %%i in (Z Y X W V U T S R Q P O N M L K J I H G F E D C B A) do if exist %%i:\AutoInstall\HWP2022 %%i:"\AutoInstall\HWP2022\Install.exe"
exit /b
:Office2021
pushd %~dp0
for %%i in (Z Y X W V U T S R Q P O N M L K J I H G F E D C B A) do if exist %%i:\AutoInstall\Office2021\Office %%i:"\AutoInstall\Office2021\Office\helper.exe" /S /INSTALL /PRO /WORD /EXCEL /POWERPOINT /OUTLOOK /LANG=KO-KR /KMS
copy "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Word.lnk" %Public%\Desktop
copy "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Excel.lnk" %Public%\Desktop
copy "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\PowerPoint.lnk" %Public%\Desktop
copy "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Outlook.lnk" %Public%\Desktop
exit /b
-
마로94 2024.03.08 20:35
감사합니다
오피스는 요새 뭐 선택도 없이 setupXXX.exe만 실행하면 자동으로 하던데요.
실행만 시키면 될듯하네요.
문제는 한글인데 뭔가 선택하는게 많더군요. 이건 오토잇이나 오토핫키로 매크로 돌려야할듯 싶네요.
게다가 버전마다 다 조금씩 달라서, 원하는거 맞춰서 직접 만들어야할듯도 싶고....