mirror of https://github.com/lukechilds/Agama.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.5 KiB
49 lines
1.5 KiB
@echo OFF
|
|
|
|
reg Query "HKLM\Hardware\Description\System\CentralProcessor\0" | find /i "x86" > NUL && set OS=32BIT || set OS=64BIT
|
|
|
|
if %OS%==32BIT echo This is a 32bit operating system
|
|
if %OS%==64BIT echo This is a 64bit operating system
|
|
|
|
if %OS%==32BIT (
|
|
echo This is a 32bit operating system
|
|
echo
|
|
echo
|
|
echo Copying x86 files to C:\Windows\System32\ ...
|
|
echo
|
|
echo
|
|
copy /Y %USERPROFILE%\IguanaApp\resources\app\windeps\x86\ucrtbased.dll C:\Windows\System32\
|
|
copy /Y %USERPROFILE%\IguanaApp\resources\app\windeps\x86\vcruntime140d.dll C:\Windows\System32\
|
|
echo
|
|
echo
|
|
echo z86 Files Copied!
|
|
echo
|
|
echo
|
|
)
|
|
|
|
if %OS%==64BIT (
|
|
echo This is a 64bit operating system
|
|
echo
|
|
echo Copying x86 files to C:\Windows\SysWOW64\ ...
|
|
echo
|
|
copy /Y %USERPROFILE%\IguanaApp\resources\app\windeps\x86\ucrtbased.dll C:\Windows\SysWOW64\
|
|
copy /Y %USERPROFILE%\IguanaApp\resources\app\windeps\x86\vcruntime140d.dll C:\Windows\SysWOW64\
|
|
echo
|
|
echo x86 Files Copied!
|
|
echo
|
|
echo Copying x64 files to C:\Windows\System32\ ...
|
|
echo
|
|
copy /Y %USERPROFILE%\IguanaApp\resources\app\windeps\x64\ucrtbased.dll C:\Windows\System32\
|
|
copy /Y %USERPROFILE%\IguanaApp\resources\app\windeps\x64\vcruntime140d.dll C:\Windows\System32\
|
|
echo
|
|
echo x64 Files Copied!
|
|
)
|
|
|
|
echo
|
|
echo
|
|
echo If you see 0 files copied message,
|
|
echo make sure to run this script as Administrator.
|
|
echo Right click the file or link and select option "Run As Administrator"
|
|
echo
|
|
echo
|
|
pause
|