A80 Posted July 10, 2014 Share Posted July 10, 2014 Arkadaşlar, Elimde Bir .exe uzantılı bir portable program var. Bu bu programın pc de çalışması için yönetici olarak çalıştırılması gerekiyor. Bunu AutoItle #ReqieAdmin #NoTrayIcon Komutununu Kullanarak Yönetici Olarak Çalışmasını Sağlayarak Yeniden AutoIt'le Paketlemek İstiyorum. Kullanmam gereken kod ne olmalı? Yardımlarınız İçin Tsk! Quote Link to comment Share on other sites More sharing options...
SimpsoN_Bart Posted July 10, 2014 Share Posted July 10, 2014 Fileinstall ile autoitin hafızasına alabilirsin programı. Help dosyasını biraz incele. Quote Link to comment Share on other sites More sharing options...
A80 Posted July 10, 2014 Author Share Posted July 10, 2014 Bu Kodu Kullandım Ama İşe Yaramadı. Nerde Yanlışlık Var Kodda. #RequireAdmin #NoTrayIcon If $bFileInstall Then FileInstall("C:\Setup.exe", @ScriptDir & "\Setup.exe") Quote Link to comment Share on other sites More sharing options...
Editor mephistooo2 Posted July 10, 2014 Editor Share Posted July 10, 2014 Arkadaşlar, Elimde Bir .exe uzantılı bir portable program var. Bu bu programın pc de çalışması için yönetici olarak çalıştırılması gerekiyor. Bunu AutoItle #ReqieAdmin #NoTrayIcon Komutununu Kullanarak Yönetici Olarak Çalışmasını Sağlayarak Yeniden AutoIt'le Paketlemek İstiyorum. Kullanmam gereken kod ne olmalı? Yardımlarınız İçin Tsk! yanlış: #RequieAdmin doğrusu: #RequireAdmin yanlış şekilde yazarsın, sonra neden yönetici olarak çalışmıyor diye kafa yorarsın... Örnek: #NoTrayIcon #RequireAdmin FileChangeDir(@ScriptDir) ShellExecute("exedosyan.exe") şeklinde olabilir, daha başka yollarda var tabi, Help dosyasında ayrıntılı bilgilere ulaşabilirsin... Quote Link to comment Share on other sites More sharing options...
DivaneTR Posted July 10, 2014 Share Posted July 10, 2014 #RequireAdmin #NoTrayIcon FileInstall("program.exe",@TempDir & "\program.exe",1) Run(@TempDir & "\program.exe") 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.