Skip to content

Commit

Permalink
dont check admin in xpatcher, initial inf installer, 7zsfx stub
Browse files Browse the repository at this point in the history
  • Loading branch information
tumagonx committed Oct 13, 2016
1 parent fb74f69 commit c5d39c5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
Binary file added 7z.sfx
Binary file not shown.
Binary file added xompie.inf
Binary file not shown.
3 changes: 1 addition & 2 deletions xpatcher.bat
@@ -1,8 +1,7 @@
@echo off
isadmin>nul
if "%ERRORLEVEL%" equ "1" echo WARNING: you have no administrative privileges.
for %%I in ("gsar.exe") do if not exist "%%~$PATH:I" echo Error: gsar not found&pause & goto :EOF
for %%I in ("pehdr-lite.exe") do if not exist "%%~$PATH:I" echo Error: pehdr-lite not found&pause & goto :EOF
if "%~1" equ "" echo Error: no directory specified&pause & goto :EOF
if not exist "%~1\*" echo Error: not a directory&pause & goto :EOF
cd /d "%~1"
if "%ERRORLEVEL%" equ "1" echo Error: directory not accessible&pause & goto :EOF
Expand Down

0 comments on commit c5d39c5

Please sign in to comment.