A80 Posted July 12, 2014 Share Posted July 12, 2014 (edited) Arkadaşlar /S Paremetre Kullanarak Ares Katılımsız Yaptım. Fakat Kurulum Tamamlanınca TrayTip'ten Sonra Ares Açılıyor. Ares'i Çalıştırmamak İçin Hangi Komutu Kullanmam Lazım. Yani Ares'i Kısayoldan Elle Açmak İstiyorum. Daha Uygun Kodları Kullanarak ve Düzenleyerek Bana Yardımcı Olur Musunuz? #RequireAdmin FileInstall("Ares.exe", @TempDir & "\Ares.exe", 1) ShellExecuteWait(@TempDir & "\Ares.exe","/S","","",@SW_HIDE) TrayTip("Ares 2.2.8 Final TR", "Kurulumu Tamamlandı! | By Titan", 30, 4) Sleep(5000) Edited July 12, 2014 by A80 Quote Link to comment Share on other sites More sharing options...
forjest Posted July 12, 2014 Share Posted July 12, 2014 Çalışan programın ismini ekleyin yeterli. progressclose("ares.exe") Run('taskkill.exe /f /im "ares.exe') Quote Link to comment Share on other sites More sharing options...
A80 Posted July 12, 2014 Author Share Posted July 12, 2014 (edited) Hocam Görev Yöneticisinde Böyle Yazıyor. Bu Arada Sistemim Şuanda 32 Bit, 64 Bit Olsaydı Onda da Sorun Vermemesi If @OSArch = "X86" Then Komutunu Kullanarak ve Kodları Düzenleyerek Yazabilir Misiniz? Çalışan Program C:\Program Files (x86)\Ares Ares İçin If @OSArch = "X86" Then Komutunu Kullanmaya Gerek Var Mı? Edited July 12, 2014 by A80 Quote Link to comment Share on other sites More sharing options...
hasandgn34 Posted July 12, 2014 Share Posted July 12, 2014 Hocam Görev Yöneticisinde Böyle Yazıyor. Bu Arada Sistemim Şuanda 32 Bit, 64 Bit Olsaydı Onda da Sorun Vermemesi If @OSArch = "X86" Then Komutunu Kullanarak ve Kodları Düzenleyerek Yazabilir Misiniz? Çalışan Program C:\Program Files (x86)\Ares Ares İçin If @OSArch = "X86" Then Komutunu Kullanmaya Gerek Var Mı? sistem türüne göre bu işlem değişmez sen o aresin .exe dosyasının adını bul (sağ tıkla dosya konomunu aç de o .exe) ve eğer .exe nin adı "ares.exe" ise progressclose("ares.exe") Run('taskkill.exe /f /im "ares.exe') 32 ve 64 bit sisteme göre kodun budur. ama istersen sadece üstteki kodda yeterlidir Quote Link to comment Share on other sites More sharing options...
A80 Posted July 13, 2014 Author Share Posted July 13, 2014 #RequireAdmin FileInstall("Ares.exe", @TempDir & "\Ares.exe", 1) ShellExecuteWait(@TempDir & "\Ares.exe", "/S", "", "", @SW_HIDE) progressclose("Ares.exe") Run('taskkill.exe /f /im "Ares.exe') TrayTip("Ares 2.2.8 Final TR", "Kurulumu Tamamlandı! | By Titan", 30, 4) Sleep(5000) Bu Şekilde Kodu Yazdım Ama Şu Sorunu Aldım. Bnm Koddaki Sorun Nerde Acaba. Dosya Konumu Açınca Çalısan Exenin adı Ares. EDİT: progressclose("ares.exe") Komutunu Kullanmayınca Sorun Çözüldü! Quote Link to comment Share on other sites More sharing options...
MAKINCI Posted July 13, 2014 Share Posted July 13, 2014 Hata alman normal tam okumamış autoit, alttakini dene... ProcessClose("ares.exe") Quote Link to comment Share on other sites More sharing options...
hasandgn34 Posted July 13, 2014 Share Posted July 13, 2014 #RequireAdmin FileInstall("Ares.exe", @TempDir & "\Ares.exe", 1) ShellExecuteWait(@TempDir & "\Ares.exe", "/S", "", "", @SW_HIDE) progressclose("Ares.exe") Run('taskkill.exe /f /im "Ares.exe') TrayTip("Ares 2.2.8 Final TR", "Kurulumu Tamamlandı! | By Titan", 30, 4) Sleep(5000) Bu Şekilde Kodu Yazdım Ama Şu Sorunu Aldım. Bnm Koddaki Sorun Nerde Acaba. Dosya Konumu Açınca Çalısan Exenin adı Ares. EDİT: progressclose("ares.exe") Komutunu Kullanmayınca Sorun Çözüldü! elle yazmayıp :@:forjest in kodunu copy paste yapınca yanlış olmus ona dikkat etmemişim Run('taskkill.exe /f /im "ares.exe') bu kodu ".bat" komutu oluşturarakta kullanabilirsin autoite ihtiyacın yok yani parametresi olan programlar için mesela winrar la katılımsız oluşturursun parametresini de eklersin bunun bir sonrasındaki komut satırına "taskkill /f /im explorer.exe" yazarsın setupun hazır olur tabi autoit te olur bir sakınca yok Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.