@echo off
echo Atencao. Execute como Instalador para que funcione de forma adequada
pause
copy c:\GestOne\iconv.dll c:\Windows\System32\
copy c:\GestOne\iconv.dll c:\Windows\SysWOW64\

copy c:\GestOne\libeay32.dll c:\Windows\System32\
copy c:\GestOne\libeay32.dll c:\Windows\SysWOW64\

copy c:\GestOne\libxml2.dll c:\Windows\System32\
copy c:\GestOne\libxml2.dll c:\Windows\SysWOW64\

copy c:\GestOne\libxmlsec.dll c:\Windows\System32\
copy c:\GestOne\libxmlsec.dll c:\Windows\SysWOW64\

copy c:\GestOne\libxmlsec-openssl.dll c:\Windows\System32\
copy c:\GestOne\libxmlsec-openssl.dll c:\Windows\SysWOW64\

copy c:\GestOne\libxslt.dll c:\Windows\System32\
copy c:\GestOne\libxslt.dll c:\Windows\SysWOW64\

copy c:\GestOne\midas.dll c:\Windows\System32\
copy c:\GestOne\midas.dll c:\Windows\SysWOW64\

copy c:\GestOne\zlib1.dll c:\Windows\System32\
copy c:\GestOne\zlib1.dll c:\Windows\SysWOW64\

echo Registrando MIDAS.DLL na pasta do Windows 32 bits
regsvr32.exe c:\Windows\System32\midas.dll
pause
echo Acessando pasta do Windows 64 bits
pause
echo Registrando MIDAS.DLL na pasta do Windows 64 bits
regsvr32.exe C:\Windows\SysWOW64\midas.dll
pause
echo Deletando arquivos temporarios
pause
echo Finalizando Processo
pause
exit