Jump to content

usera

Active Members
  • Posts

    216
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

usera's Achievements

Polymath

Polymath (5/7)

1

Reputation

  1. Thanks SUBZ and Earthshine, it working now, I did wrong typo. Thanks !!! thanks!!!
  2. Thanks Earthshine, the idea is avoid RequireAdmin , So I have to that. no log file(s) created, nor C:\windows\temp neither %temp% Thanks for help $result=RunWait($sCommandLine) MsgBox(4096,"Result",$result) The result is 1619.
  3. THANKS, I did use you code try, 1. remove #RequireAdmin 2. Command Line Switch: show c:\windows\system32\cmd.exe /c C:\temp\psexec.exe -accepteula -u domain\administrator -p Password1 MsiExec /i "\\shareserver\folder\qa.msi" TRANSFORMS="\\shareserver\Folder\qa.mst" /qn looks right, then once I click ok, new black windows open then close 4. I add 2 line there $result=RunWait($sCommandLine) MsgBox(4096,"Result",$result) The result is 1619. but the applicaiton did not install. any way I can pause ( trace ) the runwait command? thanks usera ----------------------------just add---------------------------- from command prompt, I run C:\temp\psexec -accepteula -u domain\administrator -p Password1 msiexec /i "\\shareserver\folder\qa.msi" TRANSFORMS="\\shareserver\folder\qa.mst" /qn I got: PsExec v2.2 - Execute processes remotely Copyright (C) 2001-2016 Mark Russinovich Sysinternals - www.sysinternals.com msiexec exited with error code 0. C:\temp> and applicaiton installed
  4. Greeting, I have a command line as below: c:\temp\psexec -accepteula -u domain\administrator -p Password1 msiexec /i "\\shareserever\Folder\qa.msi" TRANSFORMS="\\shareserver\Folder\qas.mst" /qn it works no problem, since it has password inside, I want to use autoit to do the same thing, but compile it to EXE file. So here is the code I am using: $username="domain\administrator" $password="Password1" runWait(@ComSpec & " /c " & "C:\temp\psexec.exe " & '-accepteula -u ' & $username & ' -p' & $password & ' msiexec /i ' & "\\shareserver\folder\qa.msi" & ' TRANSFORMS="\\shareserver\Folder\qa.mst" /qn') Once run it, I got a black window show: Could not access shareserver\folder\qa.msi : the system cannot find the path specified. Thanks and Best Regards, usera
  5. Greeting, I want to directly change the binary file "Binary.dll": offset 100H, change to 00H and offset 200H change to 90H five times. how to code that? thanks
  6. Greeting, I have a column based text file "FTPsitemap.txt" , like below john,FTP1 Smith,FTP2 Ryan,FTP3 ... now I want to search the "FTPsitemap.txt", if found john, then give me FTP1; if I search Ryan, and find it then give me FTP3 if searh TOM, can not find it then show error message thanks usera
  7. LOL, still learning
  8. "You want the keyword "test" to be found in the string "testing" it should not happend. it Works!, thanks
  9. yes, I did, but no result
  10. Thanks for ask both flat text, yes, FILE1 have only that keyword on each line
  11. thank you very much!
  12. thanks, do not know how to do it, that is why ask any way thanks usera
  13. Greeting, I have 2 files, "FILE1" is the include keyword that I to search in "FILE2" for example "FILE1" keyword1 keyword2 keyword3 keyword4 keyword5 example for "FILE2" blah, blah, keyword1, blah, blah blah blah, keyword2, blahblahblah keyword3, blahblahblah ... how can I write a AU3 to show that FILE2 has keyword1, has keyword2, but not keyword5 Thanks usera
  14. thanks, very useful
  15. Greeting, I am looking for a way to check the windows hotfix installed or not. I have a text file, let us called it "hotfixlist.txt", format like kb12345678 kb12345679 kb12234576 .. ... ... I want to write a "au3" to check if the machine already installed or not. for example: if not kb12345678 is not installed, just show "kb12345678 is missing", if not kb12345679 is installed, then just go check next one thanks usera
×
×
  • Create New...