kenz Posted July 18, 2006 Share Posted July 18, 2006 This is probably a little out of the scope of this forum but I thought I'd give it a shot. I've create just some simple autoit scripts that just do some file copies. I've tested them and they work. I then copied them up to a pkgsource directory on our network and I'm using SMS to push a package I've created that only consists of this compiled script. The package goes out ok and it says it's successful but my copies aren't happening. The copies reference drive mappings that I know the user has. I've even ran the compiled script from the pkgsource directory that SMS is pointing to and they work. I've tried a couple different scripts with the same results. Anyone have any ideas? Link to comment Share on other sites More sharing options...
Josbe Posted July 18, 2006 Share Posted July 18, 2006 Check parameters, paths, filenames, exts., etc. It's not easy to know without a script, but, mainly the first. AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Link to comment Share on other sites More sharing options...
GaryFrost Posted July 18, 2006 Share Posted July 18, 2006 go to the package expand it and select programs right click on the program and select properties goto the environment tab select program can run "Only when user is logged on" this will allow you to select Run with User rights in the "Run mode" section give that a try Gary SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
kenz Posted July 18, 2006 Author Share Posted July 18, 2006 go to the packageexpand it and select programsright click on the program and select propertiesgoto the environment tabselect program can run "Only when user is logged on"this will allow you to select Run with User rights in the "Run mode" sectiongive that a tryGaryThat fixed it. The other thing I had to do was have it copy to the client before executing. 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