md c:\merfa
md c:\merfa\prg
md c:\merfa\resimler
md c:\merfa\efatura
md c:\merfa\tabctl
md c:\merfa\TriaYazarkasa
cd support
copy tria.exe c:\merfa
copy tria.exe.manifest c:\merfa
copy ayar.ini c:\merfa
cd fixmdb
copy raporlar.mdb c:\merfa
copy sifre.mdb c:\merfa
cd..
cd prg
copy *.* c:\merfa\prg
cd..
cd resimler
copy *.* c:\merfa\resimler
cd..
cd tabctl
copy *.* c:\merfa\tabctl
copy /Y *.* C:\Windows\SysWOW64
regsvr32 /S "C:\windows\syswow64\comdlg32.ocx"
regsvr32 /S "C:\windows\syswow64\tabctl32.ocx"
regsvr32 /S "C:\windows\syswow64\mschrt20.ocx"
netsh advfirewall firewall add rule name="SQL Server (TCP 1433)" dir=in action=allow protocol=TCP localport=1433
netsh advfirewall firewall add rule name="SQL Browser (UDP 1434)" dir=in action=allow protocol=UDP localport=1434
netsh advfirewall firewall add rule name="SQL Server exe" dir=in action=allow program="C:\merfa\data\MSSQL.1\MSSQL\Binn\sqlservr.exe" enable=yes
netsh firewall add allowedprogram "C:\Program Files (x86)\Microsoft SQL Server\90\Shared\sqlbrowser.exe" "triabrowser"
cd..
cd TriaYazarkasa
xcopy *.* c:\merfa\TriaYazarkasa /E
cd..
cd tria_sablonlar
copy *.* c:\merfa
cd..
cd rpt
copy *.rpt c:\merfa
cd..
cd efatura
xcopy *.* c:\merfa\efatura /e
cd..
cd..
attrib -r -h c:\merfa\*.* /s
attrib -r -h c:\merfa\*.* /s
attrib -r -h c:\merfa\*.* /s
setup