pcusta_99 Posted January 24, 2012 Share Posted January 24, 2012 Meraba arkadaşlar. Ben, AutoIt ile sistem 64 bit değilse uyarı vermesini (Sisteminiz 64 Bit Değildir gibi), eğer sistem 64 bit ise istediğim programı çalıştırmasını istiyorum (setup.exe) gibi. Şimdiden teşekkürler. Quote Link to comment Share on other sites More sharing options...
NotToday Posted January 24, 2012 Share Posted January 24, 2012 [quote]www.tnctr.com/topic/186990-x32-ve-x64-icin-program-files-parametreleri/[/quote] Quote Link to comment Share on other sites More sharing options...
pcusta_99 Posted January 24, 2012 Author Share Posted January 24, 2012 [quote name='ibocan06' date='24 January 2012 - 19:23 ' timestamp='1327425817' post='1145249'] kodların en üstüne; [code]If @OSArch = "X86" Then MsgBox(16, "Kurulum Sırasında Hata !","Bu Kurulum Sadece 64 Bit Sistemler İçindir ! Kur Kapatılacak...", 5) Exit 0 EndIf[/code] alt kısma x64 ise ne yapılacağını yazabilirsin. [/quote] [code]If @OSArch = "X86" Then MsgBox(16, "Kurulum Sırasında Hata !","Bu Kurulum Sadece 64 Bit Sistemler İçindir ! Kur Kapatılacak...", 5) Exit 0 EndIf Run($setup.exe & $/s,$ScriptDir) [/code] Bu şekilde kullansam sorun çıkar mı acaba ? Birde ScriptDir komutu ne işe yarıyor, onda ne değişiklik yapmam gerek ? Quote Link to comment Share on other sites More sharing options...
blue_life Posted January 24, 2012 Share Posted January 24, 2012 @ScriptDir, atoit dosyasının bulunduğu dizini gösterir. [codebox]If @OSArch <> "X64" Then MsgBox(16, "Kurulum Sırasında Hata !","Bu Kurulum Sadece 64 Bit Sistemler İçindir ! Kur Kapatılacak...", 5) Exit 0 EndIf Run(@ScriptDir & "\Setup.exe")[/codebox] Quote Link to comment Share on other sites More sharing options...
MostWanted Posted January 24, 2012 Share Posted January 24, 2012 Bence bunlara gerek yok.Zaten sadece x64 sistemlerde çalışacaksa Compile ederken x64 kısmını işaretleyebilirsin.Zaten x86 sistemlerde açılmayacaktır. Quote Link to comment Share on other sites More sharing options...
pcusta_99 Posted January 24, 2012 Author Share Posted January 24, 2012 (edited) [quote name='ibocan06' date='24 January 2012 - 21:28 ' timestamp='1327433317' post='1145322'] onun maksadı artistlik [/quote] Ne diyosun sen Ne artisliği, bana yardım ettiğin için, artitst deme hakkını mı kazandın zannediyorsun ? Benim istediğim sadece 64 bitse uyarı verip kapanacak, bu kadar ! Artislikle ne alakası var ! Edited January 24, 2012 by pcusta_99 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.