Jump to content

Recommended Posts

Posted

Hi
I want to compile the au3 scripts using a pipeline into an exe. (The exe I am planning to sign with a certificate afterwards)
I am doing this on Azure DevOps using a windows agent.

$autoitDir = Join-Path -Path "$(Agent.BuildDirectory)" -ChildPath "autoit-portable\latest\install\Aut2exe"
$autoitExe = Join-Path -Path $autoitDir -ChildPath "Aut2Exe.exe"

& "$autoitExe" /in "$srcDir\MyApplication.au3" `
                /out "$outDir\MyApplication.exe"

When I execute that on a computer when logged in to it, this works, the executable is created.

But when I do the same on the agent, it does not work. Unfortunately, even though there is the possibility to run Aut2Exe.exe directly from a command line, it still relies on a GUI being available. For instance to show error messages, they are not returned to the console.

Is there a way to use AutoIt in a pipeline?
Also, is the source code somewhere available so I could have a look by myself? 🙂
I saw there are some repos linked, but none of them made the impression to me that it's the AutoIt source itself...

Thanks a lot!

 

 

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
  • Recently Browsing   1 member

×
×
  • Create New...