mirror of https://github.com/lukechilds/Agama.git
Satinder Grewal
8 years ago
4 changed files with 49 additions and 0 deletions
Binary file not shown.
Binary file not shown.
@ -0,0 +1,49 @@ |
|||||
|
@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 |
Loading…
Reference in new issue