SolvedVeil Can't find the WINE profile for AuotIT v3

I try to install Veil and all are fine but when it finish and i run "./Veil.py" the next message appear:

$ [!] ERROR #2-3: Can't find the WINE profile for AuotIT v3 (/var/lib/veil/wine//drive_c/Program Files/AutoIt3/Aut2Exe/Aut2exe.exe). Run: /home/$USER/Veil/config/setup.sh --force --silent

The commands that i used to install it are:

$ git clone https://github.com/Veil-Framework/Veil.git
$ cd Veil
$ ./config/setup.sh
I execute them without root.
And if i execute them with root it remains freeze.

Veil version: Current version
OS: Ubuntu 16.04
Yes, i run the setup.sh script

I already executed the command:

$ ./config/setup.sh --force --silent

In the AutoIt installation i put:

$ Use native x86 tools by default(recommended for compatibility)

I searched that directory (.../AutoIt3/Aut2Exe/) and i found that this directory was not in (.../drive_c/Program Files/), was in (.../drive_c/Program Files (x86)/...), so ¿i need to copy it into Program Files or i installed him bad?

Please help me 😢
I can't continue 😞
Sorry if my english is bad 😆

29 Answers

✔️Accepted Answer

Confirmed on Ubuntu 16.04.5. To give an easy copy-pastable fix for others, the below fixed the issue after following the normal setup instructions:
cp -R '/var/lib/veil/wine/drive_c/Program Files (x86)/AutoIt3' '/var/lib/veil/wine/drive_c/Program Files/'

For a Metasploit install made by https://github.com/trustedsec/ptf, here's my entire install script:

sudo git clone https://github.com/Veil-Framework/Veil --depth=1 /opt/veil
pushd /opt/veil
cd config
echo "/opt/metasploit-framework/bin/" | sudo ./setup.sh -s
# Fix for https://github.com/Veil-Framework/Veil/issues/204
cp -R '/var/lib/veil/wine/drive_c/Program Files (x86)/AutoIt3' '/var/lib/veil/wine/drive_c/Program Files/'
popd

Other Answers:

@ChrisTruncer Same here.
image

installed it using apt-get method
using kali-linux 2018.2
veil version 3.1.7
Use native x86 tools by default(recommended for compatibility)
Autoit3 folder does exist in program files(x86) but not in program files.
I copied autoit3 folder from program files(x86) to program files and then veil was working fine.

@ChrisTruncer It's not about installation.The pic that I posted above was error that occurred straight after installation of veil.The necessary solution that I did was copied autoit3 folder from program files(x86) to program files and then veil was working fine.