mirror of
https://github.com/modernw/App-Installer-For-Windows-8.x-Reset.git
synced 2026-04-24 03:50:23 +10:00
Added new features and the setup scripts for ARM users.
This commit is contained in:
13
shared/arm_install.bat
Normal file
13
shared/arm_install.bat
Normal file
@@ -0,0 +1,13 @@
|
||||
@echo off
|
||||
if exist "%SystemRoot%\SysWOW64" path %path%;%windir%\SysNative;%SystemRoot%\SysWOW64;%~dp0
|
||||
bcdedit >nul
|
||||
if '%errorlevel%' NEQ '0' (goto UACPrompt) else (goto UACAdmin)
|
||||
:UACPrompt
|
||||
%1 start "" mshta vbscript:createobject("shell.application").shellexecute("""%~0""","::",,"runas",1)(window.close)&exit
|
||||
exit /B
|
||||
:UACAdmin
|
||||
cd /d "%~dp0"
|
||||
|
||||
set SCRIPT_DIR=%~dp0
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -File "%SCRIPT_DIR%ArmInstall.ps1"
|
||||
pause
|
||||
Reference in New Issue
Block a user