Skip to content

Commit

Permalink
Fix REM
Browse files Browse the repository at this point in the history
  • Loading branch information
mosesIRL committed Mar 3, 2017
1 parent b5fa430 commit 9d072bf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 24 deletions.
5 changes: 2 additions & 3 deletions Win7_OEM_Activator.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
REM https://github.com/mgiljum/Windows-7-Pro-Activator
@echo off
CLS
:init
setlocal DisableDelayedExpansion
Expand Down Expand Up @@ -44,7 +45,7 @@ setlocal & cd /d %~dp0
if '%1'=='ELEV' (del "%vbsGetPrivileges%" 1>nul 2>nul & shift /1)
if exist %~dp0log.txt del /f /q %~dp0log.txt

**************************************************************************************************************************************
REM **************************************************************************************************************************************

:CHECKWINVERSION
for /f "tokens=4-5 delims=. " %%i in ('ver') do set WINVERSION=%%i.%%j
Expand Down Expand Up @@ -119,9 +120,7 @@ set /P LICENSETYPE="Enter selection: "
if /i "%LICENSETYPE:~,1%" EQU "1" call "%~dp0lib\installcert.bat" VALIDATEVENDOR
exit
if /i "%LICENSETYPE:~,1%" EQU "2" goto manualinstall
exit
if /i "%LICENSETYPE:~,1%" EQU "3" goto installretail
exit
if /i "%LICENSETYPE:~,1%" EQU "4" exit /b
goto MANUALINSTALL

Expand Down
1 change: 1 addition & 0 deletions lib/log.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ License A activation check failed.
License variant not found.
License A activation check successful
License A activation check successful
License A activation check successful
21 changes: 0 additions & 21 deletions log.txt
Original file line number Diff line number Diff line change
@@ -1,22 +1 @@
Installed edition of Windows 7: Pro
Installed edition of Windows 7: Pro
Installed edition of Windows 7: Pro
Installed edition of Windows 7: Pro
OEM installation selected.
Installed edition of Windows 7: Pro
OEM installation selected.
Installed edition of Windows 7: Pro
OEM installation selected.
Installed edition of Windows 7: Pro
OEM installation selected.
Installed edition of Windows 7: Pro
OEM installation selected.
Installed edition of Windows 7: Pro
OEM installation selected.
Installed edition of Windows 7: Pro
OEM installation selected.
Installed edition of Windows 7: Pro
OEM installation selected.
Installed edition of Windows 7: Pro
OEM installation selected.
Installed edition of Windows 7: Pro

0 comments on commit 9d072bf

Please sign in to comment.