gahhon Posted February 19, 2019 Posted February 19, 2019 So I had compiled my AutoIT script into executable file, I think like few weeks ago. But once after I compiled the script to executable file, I tested it and it work as expected. Somehow, I just now wanna try to execute it but failed Any idea what's is going on? Do I need to recompile the script again? @@
water Posted February 19, 2019 Posted February 19, 2019 Did you search the forum? IIRC this has been discussed multiple times. FrancescoDiMuro 1 My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
FrancescoDiMuro Posted February 19, 2019 Posted February 19, 2019 @gahhon As @water remembered, it has been discussed many times Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette
gahhon Posted February 20, 2019 Author Posted February 20, 2019 21 hours ago, water said: Did you search the forum? IIRC this has been discussed multiple times. 16 hours ago, FrancescoDiMuro said: @gahhon As @water remembered, it has been discussed many times I did some search, but most of them are talking about AntiVirus. Need to disable the AV when compiling the script, but my computer has no AntiVirus tho. My computer is Window 10, its just come with Windows Defender Security Center. Please advise.
rm4453 Posted February 20, 2019 Posted February 20, 2019 (edited) Are you attempting to run it on the computer you originally compiled on? -edit: spelling Edited February 20, 2019 by rm4453
user4157124 Posted February 20, 2019 Posted February 20, 2019 "... my computer has no AntiVirus ... its just come with Windows Defender Security Center." Windows Defender is an anti virus product. FrancescoDiMuro 1 AUERLO (AutoIt error logger)
gahhon Posted February 20, 2019 Author Posted February 20, 2019 2 hours ago, rm4453 said: Are you attempting to run it on the computer you originally compiled on? -edit: spelling Yes. And I also plan to run it on other computer as well. 1 hour ago, user4157124 said: "... my computer has no AntiVirus ... its just come with Windows Defender Security Center." Windows Defender is an anti virus product. So should I disable it when compiling? I don't find any disable menu on it tho @@
water Posted February 20, 2019 Posted February 20, 2019 Did you enable Application (directory) whitelisting (applocker)? My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
gahhon Posted February 23, 2019 Author Posted February 23, 2019 On 21/02/2019 at 1:01 AM, water said: Did you enable Application (directory) whitelisting (applocker)? What's that? How can i check that?
water Posted February 23, 2019 Posted February 23, 2019 Application directory whitelisting lets you only execute programs from defined directories. Application whitelisting lets you only execut defined programs. AFAIK this can only be set by group policies (but I might be wrong as I am no sysadmin). If true, you need to ask your sysadmins My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
gahhon Posted February 24, 2019 Author Posted February 24, 2019 6 hours ago, water said: Application directory whitelisting lets you only execute programs from defined directories. Application whitelisting lets you only execut defined programs. AFAIK this can only be set by group policies (but I might be wrong as I am no sysadmin). If true, you need to ask your sysadmins Lol. I don't have sysadmins. I developed them in my personal laptop
gahhon Posted February 24, 2019 Author Posted February 24, 2019 So what should I do If I am compiled the script into .exe and will distribute them to my own clients? Is there any specific config I should set before I compiled them to .exe and distribute to my own clients?
rm4453 Posted February 24, 2019 Posted February 24, 2019 2 hours ago, gahhon said: So what should I do If I am compiled the script into .exe and will distribute them to my own clients? Is there any specific config I should set before I compiled them to .exe and distribute to my own clients? I recommend compiling for 32 bit and 64 bit windows, on the lowest version of windows you can, as it is usually upwards compatible. However backwards compatibility has caused some issues for me in the past.
gahhon Posted February 24, 2019 Author Posted February 24, 2019 (edited) On 2/24/2019 at 2:03 PM, rm4453 said: I recommend compiling for 32 bit and 64 bit windows, on the lowest version of windows you can, as it is usually upwards compatible. However backwards compatibility has caused some issues for me in the past. I can't compile 32 tho. Edited February 26, 2019 by gahhon username privacy
water Posted February 24, 2019 Posted February 24, 2019 x86 is 32 bit, x64 is - guess - 64 bit Earthshine 1 My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki
gahhon Posted February 24, 2019 Author Posted February 24, 2019 8 hours ago, water said: x86 is 32 bit, x64 is - guess - 64 bit x64 is 64 but x86 is 32.Hmm... Sound like a bit weird tho. But I would give it a try.
FrancescoDiMuro Posted February 24, 2019 Posted February 24, 2019 @gahhon Weird: suggesting something supernatural. x86: read before calling something weird. Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now