Hello again.
After some rewriting of the script and adding directories and files to autohotkey and pspad directories I got it to work.
What I noticed though was that the questions from the installation scripts actually works in the opposite way around from what they say:
Quote:
PSPad couldn't be found on your system.
Is PSPad installed?
If PSPad is installed, press "Yes" to
select the path manually.
If PSPad isn't installed, press "No". You
have to download and install it. A web-site
opens automatically from where you can downlaod it.
This script exits and you have to use it again
after the installation of PSPad.
So when I click "no" it actually lets me select the path manually. And if I click "yes" it just opens the website to download pspad.