EricL Posted December 17, 2007 Share Posted December 17, 2007 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 More sharing options...
Valuater Posted December 17, 2007 Share Posted December 17, 2007 Run ( "filename" [, "workingdir" [, flag[, standard_i/o_flag]]] ) Place @WorkingDir in "workingdir" 8) Link to comment Share on other sites More sharing options...
EricL Posted December 17, 2007 Author Share Posted December 17, 2007 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 More sharing options...
Developers Jos Posted December 17, 2007 Developers Share Posted December 17, 2007 try: Run("\\server\cd$\accounting\custom\Full Client\xxxAppInstall.exe") SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
EricL Posted December 17, 2007 Author Share Posted December 17, 2007 OMG ITS WORKING! i put the full path in working and file portions of the syntax! thanks so much Link to comment Share on other sites More sharing options...
EricL Posted December 17, 2007 Author Share Posted December 17, 2007 try:Run("\\server\cd$\accounting\custom\Full Client\xxxAppInstall.exe")this is how i originally had it it kicked the error out about running from original dir.thanks Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now