jnkbcs Posted October 4, 2010 Share Posted October 4, 2010 I have downloaded the resources.au3 zip from Zedna's post. I have included it in my file but here is my dilemma: I want to add another exe into my app and then call it. How is this accomplished? i have read everything in alot of posts and cannot find the answer. An htm file with examples would be great. Link to comment Share on other sites More sharing options...
Developers Jos Posted October 4, 2010 Developers Share Posted October 4, 2010 Why not simply use FileInstall() to include the EXE? Jos 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...
jnkbcs Posted October 4, 2010 Author Share Posted October 4, 2010 (edited) Jos- I dont want to leave files on a remote machine. i want to have a self contained exe. I work in a company that security is very high and security doesn't want apps that could cause a problem left of non admins machines I looked at Function FileInstall(). will have to keep in mind for other projects outside of work Edited October 4, 2010 by jnkbcs Link to comment Share on other sites More sharing options...
Developers Jos Posted October 4, 2010 Developers Share Posted October 4, 2010 Jos-I dont want to leave files on a remote machine. i want to have a self contained exe. I work in a company that security is very high and security doesn't want apps that could cause a problem left of non admins machinesI looked at Function FileInstallfileinstalll(). will have to keep in mind for other projects outside of workSo your security folks do not allow a file to be stored on the disk in a temp directory and after installation deleted but they would allow an EXE to load another EXE directly into memory and executed.... "the stealthy approach"?What app are you talking about that can't be left on a none admins machine that is so risky?Jos 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...
Bert Posted October 4, 2010 Share Posted October 4, 2010 You could simply map a drive, run the app from the newly mapped drive, then delete the drive mapping when done. No muss, no fuss. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
jnkbcs Posted October 4, 2010 Author Share Posted October 4, 2010 Jos- Tier 1 has access to some of the sysinternal tools like pskill and psexec. Security doesnt want pskill left on the mahcine so i thought if i coulod incorporate it in the exe then no copy and no foot print. MPH - i like ninja. execute then leave wake of mess when im gone Link to comment Share on other sites More sharing options...
Developers Jos Posted October 4, 2010 Developers Share Posted October 4, 2010 (edited) What OS are you running this script on? Can't you use the existing internal commands like ProcessClose() or exiting windows commandline tools like TaskKill.exe? Edit: By the way, pskill and psexec, in fact all pstools, are created to execute a command on a remote PC by running it from your own. Jos Edited October 4, 2010 by Jos 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...
jnkbcs Posted October 4, 2010 Author Share Posted October 4, 2010 (edited) Jos - correct. There are a few things that Tier 1 can do as part of their troubleshooting and the reason behind it it they disabled the run command from the end user. Can processclose() run a remote process? that what i am getting stuck at. I am trying to run a command from my termianl and affecting a remote machine. Chats the path the script needs to take and i have found psexec is the best at accomplishing that unless there are syntax's in autoit that i am not using due t ignorance The os that this is running on is Windows xp. Company hasn't moved to 7 just yet. will be awhile longer. Edited October 4, 2010 by jnkbcs Link to comment Share on other sites More sharing options...
Developers Jos Posted October 4, 2010 Developers Share Posted October 4, 2010 (edited) so when you are running this from your machine I am lost as too why you need to have pskill incorporated in the script that I assume you upload and run using psexec? Why not run PSkill from your PC in stead? Maybe you need to tell some more about what you want to do exactly. Jos Edited October 4, 2010 by Jos 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...
UEZ Posted October 5, 2010 Share Posted October 5, 2010 (edited) Btw, Taskkill.exe can also close processes on remote machines with parameter /s. You can collect e.g. with Tasklist.exe the PIDs on remote system. Br, UEZ Edited October 5, 2010 by UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
jnkbcs Posted October 5, 2010 Author Share Posted October 5, 2010 UEZ, Thats exactly what i needed. Thnks so much. Ill upload the script once im done Link to comment Share on other sites More sharing options...
Zedna Posted October 7, 2010 Share Posted October 7, 2010 There is note in first post of Resources topic:Notes:* information about running EXE files/DLL functions directly from resources is here thanks trancexx/WardBut it's not so easy solution ... Resources UDF ResourcesEx UDF AutoIt Forum Search 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