Unable to Run “RunAsCurrentUser.exe” Script for MSI
prefetch a5b3140c3f81a1aaf048c2489e3b0c9c56811fbd sha1:a5b3140c3f81a1aaf048c2489e3b0c9c56811fbd size:149894 http://BFDEMO:52311/Uploads/a5b3140c3f81a1aaf048c2489e3b0c9c56811fbd/RunAsCurrentUser.exe.tmp sha256:5e0c246d2ea3312cdd1422000e86d26ff4c6dae3c347868eb01ba1902a39f592
extract a5b3140c3f81a1aaf048c2489e3b0c9c56811fbd
wait __Download\RunAsCurrentUser.exe --w --q cmd.exe /c msiexec.exe /i "C:\lingu\Linguify.Banks For _3.2.31_Test.msi" /qn
Kindly help To resolve the issue
TimRice
December 2, 2015, 11:18am
2
Use of the RunAsCurrentUser.exe utility has been deprecated (replaced) in the newer clients.
Look into the “Override” commands.
http://www-01.ibm.com/support/knowledgecenter/#!/SS63NW_9.2.0/com.ibm.tivoli.tem.doc_9.2/Platform/Action/c_override.html
You would be looking for something like …
Override wait
RunAs=CurrentUser
Hidden=True
Wait <your command here>
1 Like
jgstew
December 2, 2015, 6:07pm
3
The current user option will only work if there is a current user and that user has the right permissions to actually install the MSI.
It should be something like:
Override wait
RunAs=CurrentUser
Hidden=True
Wait msiexec /i "C:\lingu\Linguify.Banks For _3.2.31_Test.msi" /qn
Assuming that the MSI actually exists on the target system in that location, and there is a current user, and the user has all the permissions needed to both read from that folder and to install the software.
Does this software require running as the current user, or can it be installed system wide instead?