Jump to content

Run application that validates against a licence file before opening


wauto
 Share

Recommended Posts

A newbie to AutoIt, however have exhausted how I can successfully run an exe file that when clicked requires to verify against a license library file that is stored in a different folder than the exe file. I have tried RunAsSet, use Environment var. however with no luck.

The only way for me to run the exe file successfully is to copy the library file into the same location as the exe file, however do not want to do this as it invalidates my testing

Your help is welcomed

WAuto

Link to comment
Share on other sites

Seems like a working directory issue. You may need to specify a working directory parameter in the Run() or use FileChangeDir() to set a permanent change of working directory.

If this executable has a shortcut then it may have the working directory shown in the shortcuts properties.

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...