EricL Posted December 17, 2007 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.
Valuater Posted December 17, 2007 Posted December 17, 2007 Run ( "filename" [, "workingdir" [, flag[, standard_i/o_flag]]] ) Place @WorkingDir in "workingdir" 8)
EricL Posted December 17, 2007 Author 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.
Developers Jos Posted December 17, 2007 Developers 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.
EricL Posted December 17, 2007 Author Posted December 17, 2007 OMG ITS WORKING! i put the full path in working and file portions of the syntax! thanks so much
EricL Posted December 17, 2007 Author 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
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