Skip to content

Commit

Permalink
Fix paths in installcert.bat
Browse files Browse the repository at this point in the history
  • Loading branch information
mosesIRL committed Mar 3, 2017
1 parent 0f08242 commit 50acd8a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Win7_OEM_Activator.bat
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,11 @@ echo. 3) Cancel/Exit
echo.
set /P LICENSETYPE="Enter selection: "
if /i "%LICENSETYPE:~,1%" EQU "1" goto installoem
exit
if /i "%LICENSETYPE:~,1%" EQU "2" goto installretail
exit
if /i "%LICENSETYPE:~,1%" EQU "3" exit /b
goto INSTALLOEM
goto SELECTOPTION

:INSTALLOEM
echo OEM installation selected. >> %~dp0log.txt
Expand Down
4 changes: 2 additions & 2 deletions lib/installcert.bat
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ cscript //B "%windir%\system32\slmgr.vbs" -ipk %keya%
echo Product key A installed.
cscript //B "%windir%\system32\slmgr.vbs" -ato
echo Activation attempt A started.
call "%~dp0\lib/checkstatus.bat" CHECKOEM
call "%~dp0checkstatus.bat" CHECKOEM
exit /b

:InstallB
Expand All @@ -37,5 +37,5 @@ cscript //B "%windir%\system32\slmgr.vbs" -ipk %keyb%
echo Product key B installed. >> %~dp0log.txt
cscript //B "%windir%\system32\slmgr.vbs" -ato
echo Activation attempt B started. >> %~dp0log.txt
call "%~dp0\lib/checkstatus.bat" BVARIANTTEST
call "%~dp0checkstatus.bat" BVARIANTTEST
exit /b

0 comments on commit 50acd8a

Please sign in to comment.