Move file to system32 and run
I have looked over many questions but haven't found an answer.
We have some custom software and the developer has some interesting install procedures.
So, they want us to move an .msi and batch script to System32 and then run the batch as Administrator. I trust this developer so there's nothing fishy going on but trying to get Kace SMA to do this automatically is frustrating.
I've tried adding a line to the batch script to copy the .msi to System32 and then run it but it's not wanting to copy/move over due to permissions. I've tried making a shortcut and having the shortcut run as Administrator. That works but I haven't gotten SMA to run the shortcut, you have to manually go and run it.
Answer Chosen by the Author
create 2 scripts
first runs as system that moves the files to system 32
the second runs as administrator to install. You should be able to take the batch file and use that as a batch script.
use task chains to run one after the other.