Jump to content

byMaPa

Üye
  • Posts

    81
  • Joined

  • Last visited

Recent Profile Visitors

283 profile views

byMaPa's Achievements

Newbie

Newbie (1/14)

2

Reputation

  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.
×
×
  • Create New...