Jump to content

Autoit Defective When Compile With Options


Recommended Posts

  • Moderators

minhvnnhut,

This is usually caused by your antivirus - try disabling it temporarily or adding the folder to the exceptions list.

Quote

Since I rarely up to the announcement forum

If you want help here, then you need to come here - link removed to prevent scammers using it more than they probably do already.....

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

21 hours ago, Melba23 said:

minhvnnhut,

This is usually caused by your antivirus - try disabling it temporarily or adding the folder to the exceptions list.

If you want help here, then you need to come here - link removed to prevent scammers using it more than they probably do already.....

M23

Hello Melba23 !

So how to put in the exception list and turn off antivirus for a while?

Would you please help me! :(

 

Link to comment
Share on other sites

  • Developers
4 hours ago, TheDcoder said:

 

Turning off the firewall won't help, you should disable your Anti-Virus while compiling ;).

 

Not really disable AV, just exclude the AutoIt temp directory as stated many times before.

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

You still have software active that locks the tempfile generated by aut2exe and it still needs to add a resource to the target exe. (could be any resource update or FileInstall)

Anyway what other antimalware tools are running that could lock the file!?

Jos 

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Copy&Paste here the console output of this script, so we can have an idea about the program which is interfering.

$array = ProcessList()
For $i = 1 to $array[0][0]
    $output = _PidGetPath($array[$i][1])
    If Not ($output = "0") Then ConsoleWrite($output & @CRLF)
Next

Func _PidGetPath($pid = "", $strComputer = 'localhost')
    If $pid = "" Then $pid = WinGetProcess(WinGetTitle(""))
    $wbemFlagReturnImmediately = 0x10
    $wbemFlagForwardOnly = 0x20
    $colItems = ""
    $objWMIService = ObjGet("winmgmts:\\" & $strComputer & "\root\CIMV2")
    $colItems = $objWMIService.ExecQuery ("SELECT * FROM Win32_Process WHERE ProcessId = " & $pid, "WQL", $wbemFlagReturnImmediately + $wbemFlagForwardOnly)
    If IsObj($colItems) Then
        For $objItem In $colItems
            If $objItem.ExecutablePath Then Return $objItem.ExecutablePath
        Next
    EndIf
EndFunc   ;==>_PidGetPath

 

Edited by j0kky
Link to comment
Share on other sites

  • Developers

So for starters: Post your script part that contains any directives for #PRAGMA or #AUTOIT3WRAPPER_.
Try commenting them out and try compile again to see if that solves the issue.

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

My script is not a problem when compiling with options on another computer! I still do not understand why it's such an error! please do not say I'm bothered because of google translate so badly! I still do not understand your :( Please understand me sir

Link to comment
Share on other sites

  • Developers

Well, my questions are pretty simple and straightforward, so in case you want my help, you only need to provide the requested information since I am not a clairvoyant. ;)

Jos 

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

On 6/12/2016 at 9:18 PM, Jos said:

Not really disable AV, just exclude the AutoIt temp directory as stated many times before.

Ah, yes.

EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time)

DcodingTheWeb Forum - Follow for updates and Join for discussion

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...