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.
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
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
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
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
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
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