-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New batches, fix of sku-auto-selection and now batch using psexec.exe
- Loading branch information
1 parent
c73a8bd
commit ac9fe99
Showing
16 changed files
with
136 additions
and
36 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
@echo off | ||
|
||
cd /D %~dp0 | ||
|
||
cls | ||
|
||
TITLE Windows Build New Setup Environment | ||
|
||
|
||
if not exist "Sources\DVD\sources\boot.wim" ( | ||
ECHO PHASE: Begin Build | ||
ECHO You must need place Windows DVD contents on "Sources\DVD\sources" | ||
pause | ||
call choose-action-dvd-folder-empty.bat | ||
) | ||
|
||
REM Set Env Variables if not setted before | ||
if "%setenv%" == "" ( | ||
call setenv.bat | ||
) | ||
|
||
REM Select drive-letter | ||
call set-drive-letter.bat | ||
|
||
REM Clean disk drive for pnf and log files | ||
call prepare-drive.bat | ||
|
||
REM Choose method to select sku | ||
call sku-selection-method.bat | ||
|
||
REM capture image | ||
call choose-capture-image.bat | ||
|
||
REM create iso | ||
call make-iso.bat | ||
|
||
cls | ||
|
||
ECHO PHASE: Finished Build | ||
|
||
ECHO Finished on %DATE% at %TIME% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
@echo off | ||
|
||
cls | ||
|
||
ECHO PHASE: Begin Build | ||
ECHO Please choose if you want capure a new image or append to exiting image: | ||
ECHO. | ||
ECHO 1.Copy DVD content from mounted ISO or DVD drive; | ||
ECHO 2.Extract DVD content from ISO placed on Input/ISO folder | ||
ECHO 3.Do nothing | ||
ECHO. | ||
|
||
|
||
set /p a=Type option: | ||
IF %a%==1 ( | ||
call copy-content-drive.bat | ||
goto :EOF | ||
) | ||
IF %a%==2 ( | ||
call extract-iso.bat | ||
goto :EOF | ||
) | ||
IF %a%==3 ( | ||
exit | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
@echo off | ||
|
||
cls | ||
|
||
if "%setenv%" == "" ( | ||
call setenv.bat | ||
) | ||
|
||
if "%letter%" == "" ( | ||
call set-drive-letter.bat | ||
) | ||
|
||
ECHO PHASE: Preparing Drive | ||
|
||
REM Clean disk drive for pnf and log files | ||
call clean-drive.bat | ||
|
||
call clean-enum-hardware.bat | ||
|
||
REM Set Inf of Windows Drive Unhide like Server 2003+ Windows | ||
attrib -H /S /D /L %letter%:\Windows\inf | ||
|
||
call capture-image.bat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
@echo off | ||
|
||
cls | ||
|
||
if "%setenv%" == "" ( | ||
call setenv.bat | ||
) | ||
|
||
if "%letter%" == "" ( | ||
call set-drive-letter.bat | ||
) | ||
|
||
ECHO PHASE: Preparing Drive | ||
|
||
REM Clean disk drive for pnf and log files | ||
call clean-drive.bat | ||
|
||
call clean-enum-hardware.bat | ||
|
||
REM Set Inf of Windows Drive Unhide like Server 2003+ Windows | ||
attrib -H /S /D /L %letter%:\Windows\inf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.