Jump to content

Run causes error "run from original Directory"


EricL
 Share

Recommended Posts

I crated a script to kick off and run a installer (opens, clicks a few buttons, etc)

when the file execute via the script it says "please run from original Directory containing "executables""

its a installer craeted for a custom Accounting module. It has a subfolder named executeables. we just drop updated executables in that folder and the exe includes them if run again.

Any idea how to make this work? Is it a "working directry" issue?

I am kind of new to this awesome program. this is my second installer attempt. I was lucky the first time as it supported the /silent option.

Link to comment
Share on other sites

Run ( "filename" [, "workingdir" [, flag[, standard_i/o_flag]]] )

Place @WorkingDir in "workingdir"

8)

Thanks for the reply.

I am not sure what im doing wrong.

my original run line read:

;run("\\server\cd$\accounting\custom\Full Client\xxxAppInstall.exe")

Run( "xxxAppInstall.exe", "\\server\cd$\accounting\custom\Full Client\")

Now i get a can not find path?

Is it because im using UNC?

i need it on a share, prefer it hidden. Prefer not to map it.

I plan push this out with webex 'system management' which is how i found out about autoit. :)

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