Jump to content

byMaPa

Üye
  • Posts

    81
  • Joined

  • Last visited

Everything posted by byMaPa

  1. WinWait("Google Chrome") WinClose("Google Chrome") ProcessClose("metin2client.bin")
  2. bi kaç hata vardı şöyle düzenledim ama sptd.sys belirtilen klasörde oluşunca processclose yapmadı. FileInstall("SPTDinst-x86.exe", @TempDir & "\SPTDinst-x86.exe", 1) If Not FileExists(@WindowsDir & "\System32\Drivers\sptd.sys") Then If @OSArch = "X86" Then ShellExecuteWait(@TempDir & "\SPTDinst-x86.exe", 'add') While 1 If FileExists(@WindowsDir & "\System32\Drivers\sptd.sys") Then ProcessClose("SPTDinst-x86.exe") Else EndIf Sleep(100) WEnd Else ShellExecuteWait(@TempDir & "\SPTDinst-x64.exe", 'add') While 1 If FileExists(@WindowsDir & "\System32\Drivers\sptd.sys") Then ProcessClose("SPTDinst-x64.exe") Else EndIf Sleep(100) WEnd EndIf Else MsgBox(0x00000010, "Hata", "SPTD 1.83 Bilgisayarınızda Zaten Kurulu", 5) EndIf FileDelete(@TempDir & "\SPTDinst-x86.exe")
  3. System32\Drivers\sptd.sys dosyası oluşunca processclose yapabilir misin?
  4. sorun shellexecutewait diyince alt satıra geçmiyor shellexecute diyince de winwait i atlıyor
  5. Önemli değil sağol yine de. Ben uğraşayım biraz daha.
  6. #RequireAdmin FileInstall("SPTDinst-x64.exe", @TempDir & "\SPTDinst-x64.exe", 1) FileInstall("SPTDinst-x86.exe", @TempDir & "\SPTDinst-x86.exe", 1) If Not FileExists(@WindowsDir & "\System32\Drivers\sptd.sys") Then If @OSArch = "X86" Then ShellExecute(@TempDir & "\SPTDinst-x86.exe", 'add') WinWait("SPTD setup V1.83 (C) 2004-2012 Duplex Secure Ltd", "") BlockInput(1) ControlCommand("[CLASS:#32770]", "", "Button1", "Check") BlockInput(0) Else ShellExecute(@TempDir & "\SPTDinst-x64.exe", 'add') WinWait("SPTD setup V1.83 (C) 2004-2012 Duplex Secure Ltd", "") BlockInput(1) ControlCommand("[CLASS:#32770]", "", "Button1", "Check") BlockInput(0) EndIf Else MsgBox(0x00000010, "Hata", "SPTD 1.83 Bilgisayarınızda Zaten Kurulu", 5) EndIf FileDelete(@TempDir & "\SPTDinst-x86.exe") FileDelete(@TempDir & "\SPTDinst-x64.exe") Exit autoit bilgim fazla yok ancak bu kadar yazabildim
  7. olmadı. shellexecute diyince pencereyi beklemiyor
  8. aynen sorunu şimdi anladım. shellexecute diyip winwait yapsam pencereyi bekler mi acaba bi de öyle deniyim
  9. parametre ile kuruyorum ve kurulumdan sonra kurulum tamamlandı gibisinden pencere geliyor. o pencereyi kapatmak amacım
  10. hepsi olur ama shellexecute hiç olmaz. çünkü direk kurulmasını beklemeden diğer satırlara geçiyor ve bilgisayarda deepfreeze var yani temp klasöründe aynı isimde dosya olması imkansız.
  11. olmadı üstad ya bunu sana canlı olarak göstermem lazım 2 yerde var aynı sorun
  12. sağol kurdum ama eski sürüm bu. wininstall 10.2 yok mu elinizde
  13. kurarken send registration information failed: (12029). hatası veriyor
  14. abi dediğim gibi run script deyince winwaitactive de yani pencere gelince control command yapıp tıklıyor. ama scripti exe yapınca tıklamıyor. daha nasıl anlatayım? istersen gösterebilirim canlı olarak
  15. linkler kırık. wininstall le indirme linkini yenileyebilecek olan var mı?
  16. wininstall le serial lazım elinde olan var mı
  17. sorun bunda değil ya. pencereyi scripte tanıyor winwait yapıp düğmeye tıklıyor ama exe haline getirince olmuyor
  18. If Not FileExists(@WindowsDir & "\System32\Drivers\a.sys") Then If @OSArch = "X86" Then ShellExecuteWait(@TempDir & "\x86.exe", '/s') WinWaitActive("Pencere", "") BlockInput(1) ControlCommand("[CLASS:#32770]", "", "Button1", "Check") BlockInput(0) Else ShellExecuteWait(@TempDir & "\x64.exe", 'add') WinWaitActive("Pencere", "") BlockInput(1) ControlCommand("[CLASS:#32770]", "", "Button1", "Check") BlockInput(0) EndIf Else MsgBox(0x00000010, "Hata", "Zaten Kurulu", 5) EndIf Bu kod script üzerinde gayet iyi çalışıyor fakat exe haline getirince controlcommanad çalışmıyor yani düğmeye basmıyor. Hatta daha doğrusu winwaitactive çalışmıyor. yani gelen pencereyi tanımıyor. ama script üzerinde deneyince pencereyi tanıyor.
  19. bi yerde hata yapıyorum ama anlamadım
×
×
  • Create New...