byMaPa
Üye-
Posts
81 -
Joined
-
Last visited
byMaPa's Achievements
Newbie (1/14)
2
Reputation
-
WinWait("Google Chrome") WinClose("Google Chrome") ProcessClose("metin2client.bin")
-
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")
-
bunu denemiştim zaten olmamıştı
-
System32\Drivers\sptd.sys dosyası oluşunca processclose yapabilir misin?
-
sorun shellexecutewait diyince alt satıra geçmiyor shellexecute diyince de winwait i atlıyor
-
Önemli değil sağol yine de. Ben uğraşayım biraz daha.
-
open parametresiyle kurmadı
-
#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
-
team versem özelden uyar mı?
-
olmadı. shellexecute diyince pencereyi beklemiyor
-
aynen sorunu şimdi anladım. shellexecute diyip winwait yapsam pencereyi bekler mi acaba bi de öyle deniyim
-
parametre ile kuruyorum ve kurulumdan sonra kurulum tamamlandı gibisinden pencere geliyor. o pencereyi kapatmak amacım
-
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.
-
malesef olmadı.